GET api/v2/FleetMaintenance/operation
Retourne la la liste des opérations
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of OperationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| OperationId | integer |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 100 |
|
| ErisId | string |
String length: inclusive between 0 and 6 |
|
| Type | OperationType |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| CustomerName | string |
None. |
|
| DistributorId | globally unique identifier |
None. |
|
| DistributorName | string |
None. |
|
| OwnerName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "15c019f8-1ab0-4269-8ec8-aecfa59ec4a2",
"OperationId": 1,
"Name": "sample string 2",
"ErisId": "sample string 3",
"Type": 0,
"CustomerId": "a5e7901e-f940-4611-b07e-0a3b90d14fca",
"CustomerName": "sample string 4",
"DistributorId": "e026697a-25bb-4ddd-8bce-614f7241e4c2",
"DistributorName": "sample string 5",
"OwnerName": "sample string 4"
},
{
"Id": "15c019f8-1ab0-4269-8ec8-aecfa59ec4a2",
"OperationId": 1,
"Name": "sample string 2",
"ErisId": "sample string 3",
"Type": 0,
"CustomerId": "a5e7901e-f940-4611-b07e-0a3b90d14fca",
"CustomerName": "sample string 4",
"DistributorId": "e026697a-25bb-4ddd-8bce-614f7241e4c2",
"DistributorName": "sample string 5",
"OwnerName": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfOperationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.FleetMaintenance">
<OperationDto>
<CustomerId>a5e7901e-f940-4611-b07e-0a3b90d14fca</CustomerId>
<CustomerName>sample string 4</CustomerName>
<DistributorId>e026697a-25bb-4ddd-8bce-614f7241e4c2</DistributorId>
<DistributorName>sample string 5</DistributorName>
<ErisId>sample string 3</ErisId>
<Id>15c019f8-1ab0-4269-8ec8-aecfa59ec4a2</Id>
<Name>sample string 2</Name>
<OperationId>1</OperationId>
<Type>Curative</Type>
</OperationDto>
<OperationDto>
<CustomerId>a5e7901e-f940-4611-b07e-0a3b90d14fca</CustomerId>
<CustomerName>sample string 4</CustomerName>
<DistributorId>e026697a-25bb-4ddd-8bce-614f7241e4c2</DistributorId>
<DistributorName>sample string 5</DistributorName>
<ErisId>sample string 3</ErisId>
<Id>15c019f8-1ab0-4269-8ec8-aecfa59ec4a2</Id>
<Name>sample string 2</Name>
<OperationId>1</OperationId>
<Type>Curative</Type>
</OperationDto>
</ArrayOfOperationDto>