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 |
id interne ( dtoId ) |
globally unique identifier |
None. |
| OperationId |
Identifiant autoincrémenté de l'opération |
integer |
None. |
| Name |
Libellé de l'opération (ex : Remplacement batterie, entretien annuel, etc...) |
string |
Required String length: inclusive between 0 and 100 |
| ErisId |
Identifiant de l'opération dans le système ErisMotors |
string |
String length: inclusive between 0 and 6 |
| Type |
Type d'opération |
OperationType |
None. |
| CustomerId |
Identifiant du client |
globally unique identifier |
None. |
| CustomerName |
Nom du client |
string |
None. |
| DistributorId |
Identifiant du distributor |
globally unique identifier |
None. |
| DistributorName | string |
None. |
|
| OwnerName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "9ec40d5d-9c65-4b5d-b6e5-382b2c56aada",
"OperationId": 1,
"Name": "sample string 2",
"ErisId": "sample string 3",
"Type": 0,
"CustomerId": "d55f9f54-bb96-4b76-a03a-ae3de3a2d27e",
"CustomerName": "sample string 4",
"DistributorId": "b1e2eca5-215a-40b4-9f6a-78f87c0cd817",
"DistributorName": "sample string 5",
"OwnerName": "sample string 4"
},
{
"Id": "9ec40d5d-9c65-4b5d-b6e5-382b2c56aada",
"OperationId": 1,
"Name": "sample string 2",
"ErisId": "sample string 3",
"Type": 0,
"CustomerId": "d55f9f54-bb96-4b76-a03a-ae3de3a2d27e",
"CustomerName": "sample string 4",
"DistributorId": "b1e2eca5-215a-40b4-9f6a-78f87c0cd817",
"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>d55f9f54-bb96-4b76-a03a-ae3de3a2d27e</CustomerId>
<CustomerName>sample string 4</CustomerName>
<DistributorId>b1e2eca5-215a-40b4-9f6a-78f87c0cd817</DistributorId>
<DistributorName>sample string 5</DistributorName>
<ErisId>sample string 3</ErisId>
<Id>9ec40d5d-9c65-4b5d-b6e5-382b2c56aada</Id>
<Name>sample string 2</Name>
<OperationId>1</OperationId>
<Type>Curative</Type>
</OperationDto>
<OperationDto>
<CustomerId>d55f9f54-bb96-4b76-a03a-ae3de3a2d27e</CustomerId>
<CustomerName>sample string 4</CustomerName>
<DistributorId>b1e2eca5-215a-40b4-9f6a-78f87c0cd817</DistributorId>
<DistributorName>sample string 5</DistributorName>
<ErisId>sample string 3</ErisId>
<Id>9ec40d5d-9c65-4b5d-b6e5-382b2c56aada</Id>
<Name>sample string 2</Name>
<OperationId>1</OperationId>
<Type>Curative</Type>
</OperationDto>
</ArrayOfOperationDto>