DELETE api/v2/driver/{driverId}/contract?contractId={contractId}
Supprime un contract
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| driverId | globally unique identifier |
Required |
|
| contractId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GenResponseDtoOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | integer |
None. |
|
| CmdId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsValid": true,
"Errors": [
"sample string 1",
"sample string 2"
],
"Data": 2,
"CmdId": "ce91ab69-b0e8-485e-ba9e-3d2fcddd7927"
}
application/xml, text/xml
Sample:
<GenResponseDtoOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto">
<CmdId>ce91ab69-b0e8-485e-ba9e-3d2fcddd7927</CmdId>
<Data>2</Data>
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
<IsValid>true</IsValid>
</GenResponseDtoOfint>