POST api/v{version}/Contacts/UpdateDriver?key={key}
Creates or updates a driver
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
|
| version | string |
None. |
Body Parameters
DriverInDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Active | boolean |
None. |
|
| Code | string |
None. |
|
| MobileNumber | string |
None. |
|
| Name | string |
None. |
|
| TelephoneNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Active": true,
"Code": "sample string 2",
"MobileNumber": "sample string 3",
"Name": "sample string 4",
"TelephoneNumber": "sample string 5"
}
Response Information
Resource Description
Collection of imp_InsertDriver_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| ColumnName | string |
None. |
|
| ErrorText | string |
None. |
|
| LineNumber | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ColumnName": "sample string 1",
"ErrorText": "sample string 2",
"LineNumber": 1
},
{
"ColumnName": "sample string 1",
"ErrorText": "sample string 2",
"LineNumber": 1
}
]