PUT api/v2/driver/odoo-api-keys
Request Information
URI Parameters
None.
Body Parameters
Collection of OdooDriverDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id Odoo du conducteur |
integer |
None. |
| VehizenId |
Id Vehizen du conducteur |
globally unique identifier |
None. |
| FullName |
Nom complet du conducteur |
string |
None. |
| FirstName |
Nom complet du conducteur |
string |
None. |
| LastName |
Nom complet du conducteur |
string |
None. |
| Matricule |
Clé API odoo pour la gestion de parc |
string |
None. |
| ApiKey |
Clé API odoo pour la gestion de parc |
string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"VehizenId": "6622dc1a-25c9-4a88-89f4-4fa727a07b20",
"FullName": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"Matricule": "sample string 6",
"ApiKey": "sample string 7"
},
{
"Id": 1,
"VehizenId": "6622dc1a-25c9-4a88-89f4-4fa727a07b20",
"FullName": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"Matricule": "sample string 6",
"ApiKey": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfOdooDriverDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Odoo">
<OdooDriverDto>
<ApiKey>sample string 7</ApiKey>
<FirstName>sample string 4</FirstName>
<FullName>sample string 3</FullName>
<Id>1</Id>
<LastName>sample string 5</LastName>
<Matricule>sample string 6</Matricule>
<VehizenId>6622dc1a-25c9-4a88-89f4-4fa727a07b20</VehizenId>
</OdooDriverDto>
<OdooDriverDto>
<ApiKey>sample string 7</ApiKey>
<FirstName>sample string 4</FirstName>
<FullName>sample string 3</FullName>
<Id>1</Id>
<LastName>sample string 5</LastName>
<Matricule>sample string 6</Matricule>
<VehizenId>6622dc1a-25c9-4a88-89f4-4fa727a07b20</VehizenId>
</OdooDriverDto>
</ArrayOfOdooDriverDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |