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
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

MaintenancePlanId

integer

None.

Name

string

Required

String length: inclusive between 0 and 150

BrandId

integer

None.

BrandName

string

None.

ModelId

integer

None.

ModelName

string

None.

Alterable

boolean

None.

Job

ModelJob

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": "800933bb-c1ff-4744-a6ef-c54c105e565e",
    "MaintenancePlanId": 1,
    "Name": "sample string 2",
    "BrandId": 3,
    "BrandName": "sample string 4",
    "ModelId": 5,
    "ModelName": "sample string 6",
    "Alterable": true,
    "Job": 0,
    "CustomerId": "e1615308-62bd-4b55-9d19-7f8574f31a9e",
    "CustomerName": "sample string 8",
    "DistributorId": "fff2c96b-d291-4a63-b4a2-cc6198964510",
    "DistributorName": "sample string 9",
    "OwnerName": "sample string 8"
  },
  {
    "Id": "800933bb-c1ff-4744-a6ef-c54c105e565e",
    "MaintenancePlanId": 1,
    "Name": "sample string 2",
    "BrandId": 3,
    "BrandName": "sample string 4",
    "ModelId": 5,
    "ModelName": "sample string 6",
    "Alterable": true,
    "Job": 0,
    "CustomerId": "e1615308-62bd-4b55-9d19-7f8574f31a9e",
    "CustomerName": "sample string 8",
    "DistributorId": "fff2c96b-d291-4a63-b4a2-cc6198964510",
    "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>e1615308-62bd-4b55-9d19-7f8574f31a9e</CustomerId>
    <CustomerName>sample string 8</CustomerName>
    <DistributorId>fff2c96b-d291-4a63-b4a2-cc6198964510</DistributorId>
    <DistributorName>sample string 9</DistributorName>
    <Id>800933bb-c1ff-4744-a6ef-c54c105e565e</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>e1615308-62bd-4b55-9d19-7f8574f31a9e</CustomerId>
    <CustomerName>sample string 8</CustomerName>
    <DistributorId>fff2c96b-d291-4a63-b4a2-cc6198964510</DistributorId>
    <DistributorName>sample string 9</DistributorName>
    <Id>800933bb-c1ff-4744-a6ef-c54c105e565e</Id>
    <Job>LongDistances_40T</Job>
    <MaintenancePlanId>1</MaintenancePlanId>
    <ModelId>5</ModelId>
    <ModelName>sample string 6</ModelName>
    <Name>sample string 2</Name>
  </MaintenancePlanDto>
</ArrayOfMaintenancePlanDto>