POST api/Bookings/AssignedDriver

Request Information

URI Parameters

None.

Body Parameters

AssignedDriverModel
NameDescriptionTypeAdditional information
first_name

string

None.

last_name

string

None.

telephone_number

string

None.

state_hash

string

None.

link

string

None.

idCustomer

string

None.

model

string

None.

registration

string

None.

colour

string

None.

make

string

None.

Request Formats

application/json, text/json

Sample:
{
  "first_name": "sample string 1",
  "last_name": "sample string 2",
  "telephone_number": "sample string 3",
  "state_hash": "sample string 4",
  "link": "sample string 5",
  "idCustomer": "sample string 6",
  "model": "sample string 7",
  "registration": "sample string 8",
  "colour": "sample string 9",
  "make": "sample string 10"
}

application/xml, text/xml

Sample:
<AssignedDriverModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiNCC">
  <colour>sample string 9</colour>
  <first_name>sample string 1</first_name>
  <idCustomer>sample string 6</idCustomer>
  <last_name>sample string 2</last_name>
  <link>sample string 5</link>
  <make>sample string 10</make>
  <model>sample string 7</model>
  <registration>sample string 8</registration>
  <state_hash>sample string 4</state_hash>
  <telephone_number>sample string 3</telephone_number>
</AssignedDriverModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EsitoWS
NameDescriptionTypeAdditional information
message

string

None.

statusCode

string

None.

isSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "statusCode": "sample string 2",
  "isSuccess": true
}

application/xml, text/xml

Sample:
<EsitoWS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiNCC">
  <isSuccess>true</isSuccess>
  <message>sample string 1</message>
  <statusCode>sample string 2</statusCode>
</EsitoWS>