GET api/v2/kilometricpoint/department
Retourne La liste des départements
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DepartementHeaderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3"
},
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfDepartementHeaderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contravention">
<DepartementHeaderDto>
<Code>sample string 2</Code>
<Id>1</Id>
<Name>sample string 3</Name>
</DepartementHeaderDto>
<DepartementHeaderDto>
<Code>sample string 2</Code>
<Id>1</Id>
<Name>sample string 3</Name>
</DepartementHeaderDto>
</ArrayOfDepartementHeaderDto>