GET api/drivers/{id}/contacts/{contactId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| contactId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DriverContactDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| number | string |
None. |
|
| types | integer |
None. |
|
| primary | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"number": "sample string 2",
"types": 3,
"primary": true
}
application/xml, text/xml
Sample:
<DriverContactDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/autocenter_api.Models.DTO"> <id>1</id> <number>sample string 2</number> <primary>true</primary> <types>3</types> </DriverContactDTO>