POST api/Receipt/insertRecord/Cancel

Request Information

URI Parameters

None.

Body Parameters

ReceiptCancel
NameDescriptionTypeAdditional information
ReceiptId

decimal number

None.

BranchId

decimal number

None.

Status

integer

None.

CancelReason

string

None.

EditReason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReceiptId": 1.0,
  "BranchId": 2.0,
  "Status": 3,
  "CancelReason": "sample string 4",
  "EditReason": "sample string 5"
}

application/xml, text/xml

Sample:
<ReceiptCancel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <BranchId>2</BranchId>
  <CancelReason>sample string 4</CancelReason>
  <EditReason>sample string 5</EditReason>
  <ReceiptId>1</ReceiptId>
  <Status>3</Status>
</ReceiptCancel>

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 'ReceiptCancel'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>