PUT api/v2/driver/odoo-api-keys

Request Information

URI Parameters

None.

Body Parameters

Collection of OdooDriverDto
NameDescriptionTypeAdditional information
Id

Id Odoo du conducteur

integer

None.

VehizenId

Id Vehizen du conducteur

globally unique identifier

None.

FullName

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": "23682dd9-9044-4058-adfd-cc0aab813bba",
    "FullName": "sample string 3",
    "Matricule": "sample string 4",
    "ApiKey": "sample string 5"
  },
  {
    "Id": 1,
    "VehizenId": "23682dd9-9044-4058-adfd-cc0aab813bba",
    "FullName": "sample string 3",
    "Matricule": "sample string 4",
    "ApiKey": "sample string 5"
  }
]

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 5</ApiKey>
    <FullName>sample string 3</FullName>
    <Id>1</Id>
    <Matricule>sample string 4</Matricule>
    <VehizenId>23682dd9-9044-4058-adfd-cc0aab813bba</VehizenId>
  </OdooDriverDto>
  <OdooDriverDto>
    <ApiKey>sample string 5</ApiKey>
    <FullName>sample string 3</FullName>
    <Id>1</Id>
    <Matricule>sample string 4</Matricule>
    <VehizenId>23682dd9-9044-4058-adfd-cc0aab813bba</VehizenId>
  </OdooDriverDto>
</ArrayOfOdooDriverDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.