POST api/Payment/OpenDrawer

Request Information

URI Parameters

None.

Body Parameters

CashDrawerUpdate
NameDescriptionTypeAdditional information
InstanceId

integer

None.

Terminal

string

None.

SaleId

globally unique identifier

None.

Request Formats

[application/json, { "InstanceId": 1, "Terminal": "sample string 2", "SaleId": "e44267f7-f087-4d05-97cb-fe2c32d79ebf" }][text/json, { "InstanceId": 1, "Terminal": "sample string 2", "SaleId": "e44267f7-f087-4d05-97cb-fe2c32d79ebf" }][application/xml, <CashDrawerUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Tickets.Model"> <InstanceId>1</InstanceId> <SaleId>e44267f7-f087-4d05-97cb-fe2c32d79ebf</SaleId> <Terminal>sample string 2</Terminal> </CashDrawerUpdate>][text/xml, <CashDrawerUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Tickets.Model"> <InstanceId>1</InstanceId> <SaleId>e44267f7-f087-4d05-97cb-fe2c32d79ebf</SaleId> <Terminal>sample string 2</Terminal> </CashDrawerUpdate>][application/x-www-form-urlencoded, Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CashDrawerUpdate'.]

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

[application/json, ][text/json, ][application/xml, ][text/xml, ]