PUT Drivers/{id}/phoneNumber

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

DriverUpdatePhoneNumberDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

PhoneNumber1

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "5b04ab14-c5f4-46e7-adbf-6eb1347d7234",
  "PhoneNumber1": "sample string 2"
}

application/xml, text/xml

Sample:
<DriverUpdatePhoneNumberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Driver">
  <Id>5b04ab14-c5f4-46e7-adbf-6eb1347d7234</Id>
  <PhoneNumber1>sample string 2</PhoneNumber1>
</DriverUpdatePhoneNumberDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DriverUpdatePhoneNumberResponseDto
NameDescriptionTypeAdditional information
Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<DriverUpdatePhoneNumberResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Driver">
  <Message>sample string 1</Message>
</DriverUpdatePhoneNumberResponseDto>