POST api/Payment/Update

Request Information

URI Parameters

None.

Body Parameters

UpdatePaymenHeaderModel
NameDescriptionTypeAdditional information
TowCompany

string

None.

TowPaymentHeaderId

integer

None.

SystemId

integer

None.

TowId

integer

None.

ReceiptNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TowCompany": "sample string 1",
  "TowPaymentHeaderId": 2,
  "SystemId": 1,
  "TowId": 3,
  "ReceiptNo": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdatePaymenHeaderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TowPaymentsAPI.Models">
  <ReceiptNo>sample string 4</ReceiptNo>
  <SystemId>1</SystemId>
  <TowCompany>sample string 1</TowCompany>
  <TowId>3</TowId>
  <TowPaymentHeaderId>2</TowPaymentHeaderId>
</UpdatePaymenHeaderModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdatePaymenHeaderModel'.

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.