POST api/Payment/Receipt/Send

Request Information

URI Parameters

None.

Body Parameters

SendReceiptRequest
NameDescriptionTypeAdditional information
SaleId

globally unique identifier

None.

Email

string

None.

Telephone

string

None.

Delivery

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SaleId": "442de69c-ce5e-4b9f-bb27-f320f9d4252c",
  "Email": "sample string 2",
  "Telephone": "sample string 3",
  "Delivery": "sample string 4"
}

application/xml, text/xml

Sample:
<SendReceiptRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosAppBackend.Models">
  <Delivery>sample string 4</Delivery>
  <Email>sample string 2</Email>
  <SaleId>442de69c-ce5e-4b9f-bb27-f320f9d4252c</SaleId>
  <Telephone>sample string 3</Telephone>
</SendReceiptRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.