POST api/v2/Drivers/UpdateBookSpotPayment

Request Information

URI Parameters

None.

Body Parameters

InputUpdateBookSpotPayment
NameDescriptionTypeAdditional information
UserID

integer

Required

SpotSubLetByID

integer

Required

PaidAmount

decimal number

Required

FromDate

date

Required

ToDate

date

Required

Nounce

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "SpotSubLetByID": 2,
  "PaidAmount": 3.0,
  "FromDate": "2019-10-15T01:27:53.2008383+00:00",
  "ToDate": "2019-10-15T01:27:53.2008383+00:00",
  "Nounce": "sample string 6"
}

application/xml, text/xml

Sample:
<InputUpdateBookSpotPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input">
  <FromDate>2019-10-15T01:27:53.2008383+00:00</FromDate>
  <Nounce>sample string 6</Nounce>
  <PaidAmount>3</PaidAmount>
  <SpotSubLetByID>2</SpotSubLetByID>
  <ToDate>2019-10-15T01:27:53.2008383+00:00</ToDate>
  <UserID>1</UserID>
</InputUpdateBookSpotPayment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.