POST api/v2/Drivers/CancelLease
Request Information
URI Parameters
None.
Body Parameters
InputCancelSubscriptionName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
Required |
|
SpotSubLetByID | integer |
Required |
|
UserSpotLeaseID | integer |
None. |
|
CallingFromAdmin | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": 1, "SpotSubLetByID": 2, "UserSpotLeaseID": 3, "CallingFromAdmin": "sample string 4" }
application/xml, text/xml
Sample:
<InputCancelSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input.V2"> <CallingFromAdmin>sample string 4</CallingFromAdmin> <SpotSubLetByID>2</SpotSubLetByID> <UserID>1</UserID> <UserSpotLeaseID>3</UserSpotLeaseID> </InputCancelSubscription>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |