GET api/v2/FleetMaintenance/maintenanceplan
Retourne la la liste des plants de maintenance
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of MaintenancePlanDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
id interne ( dtoId ) |
globally unique identifier |
None. |
| MaintenancePlanId |
Identifiant autoincrémenté dU plan d'entretien |
integer |
None. |
| Name |
Libellé du plan d'entretien (ex :DAF-XF-EURO5-MX11, etc...) |
string |
Required String length: inclusive between 0 and 150 |
| BrandId |
Marque du véhicule |
integer |
None. |
| BrandName |
Nom de ma marque du véhicule |
string |
None. |
| ModelId |
Modèle du véhicule |
integer |
None. |
| ModelName |
Nom Modèle du véhicule |
string |
None. |
| Alterable |
Un attribut permettant de détérminer si un plan d'entretien est Modifiable ou non |
boolean |
None. |
| Job |
Métier du véhicule |
ModelJob |
None. |
| CustomerId |
Identifiant du client |
globally unique identifier |
None. |
| CustomerName | string |
None. |
|
| DistributorId |
Identifiant du distributor |
globally unique identifier |
None. |
| DistributorName | string |
None. |
|
| OwnerName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "f0ab2c96-e2a6-4012-9acd-66a4380848e9",
"MaintenancePlanId": 1,
"Name": "sample string 2",
"BrandId": 3,
"BrandName": "sample string 4",
"ModelId": 5,
"ModelName": "sample string 6",
"Alterable": true,
"Job": 0,
"CustomerId": "ed3ee55b-c786-4e23-a799-8fe1f3070bc1",
"CustomerName": "sample string 8",
"DistributorId": "4f9b21a6-805a-4a7f-857f-b9d5af91e1b1",
"DistributorName": "sample string 9",
"OwnerName": "sample string 8"
},
{
"Id": "f0ab2c96-e2a6-4012-9acd-66a4380848e9",
"MaintenancePlanId": 1,
"Name": "sample string 2",
"BrandId": 3,
"BrandName": "sample string 4",
"ModelId": 5,
"ModelName": "sample string 6",
"Alterable": true,
"Job": 0,
"CustomerId": "ed3ee55b-c786-4e23-a799-8fe1f3070bc1",
"CustomerName": "sample string 8",
"DistributorId": "4f9b21a6-805a-4a7f-857f-b9d5af91e1b1",
"DistributorName": "sample string 9",
"OwnerName": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfMaintenancePlanDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.FleetMaintenance">
<MaintenancePlanDto>
<Alterable>true</Alterable>
<BrandId>3</BrandId>
<BrandName>sample string 4</BrandName>
<CustomerId>ed3ee55b-c786-4e23-a799-8fe1f3070bc1</CustomerId>
<CustomerName>sample string 8</CustomerName>
<DistributorId>4f9b21a6-805a-4a7f-857f-b9d5af91e1b1</DistributorId>
<DistributorName>sample string 9</DistributorName>
<Id>f0ab2c96-e2a6-4012-9acd-66a4380848e9</Id>
<Job>LongDistances_40T</Job>
<MaintenancePlanId>1</MaintenancePlanId>
<ModelId>5</ModelId>
<ModelName>sample string 6</ModelName>
<Name>sample string 2</Name>
</MaintenancePlanDto>
<MaintenancePlanDto>
<Alterable>true</Alterable>
<BrandId>3</BrandId>
<BrandName>sample string 4</BrandName>
<CustomerId>ed3ee55b-c786-4e23-a799-8fe1f3070bc1</CustomerId>
<CustomerName>sample string 8</CustomerName>
<DistributorId>4f9b21a6-805a-4a7f-857f-b9d5af91e1b1</DistributorId>
<DistributorName>sample string 9</DistributorName>
<Id>f0ab2c96-e2a6-4012-9acd-66a4380848e9</Id>
<Job>LongDistances_40T</Job>
<MaintenancePlanId>1</MaintenancePlanId>
<ModelId>5</ModelId>
<ModelName>sample string 6</ModelName>
<Name>sample string 2</Name>
</MaintenancePlanDto>
</ArrayOfMaintenancePlanDto>