POST api/torder/postCortesia
Request Information
URI Parameters
None.
Body Parameters
CortesiaRequestName | Description | Type | Additional information |
---|---|---|---|
AfectaDisponible | boolean |
None. |
|
Cantidad | integer |
None. |
|
Envento | integer |
None. |
|
Usuario | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AfectaDisponible": true, "Cantidad": 2, "Envento": 3, "Usuario": "sample string 4" }
application/xml, text/xml
Sample:
<CortesiaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniqueness.Store.Ticket.API.Models"> <AfectaDisponible>true</AfectaDisponible> <Cantidad>2</Cantidad> <Envento>3</Envento> <Usuario>sample string 4</Usuario> </CortesiaRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CortesiaResponseName | Description | Type | Additional information |
---|---|---|---|
Cortesias | Collection of Cortesia |
None. |
|
ResponseCode | string |
None. |
|
ResponseMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Cortesias": [ { "CodigoIngreso": 1, "Boleto": "sample string 2" }, { "CodigoIngreso": 1, "Boleto": "sample string 2" } ], "ResponseCode": "sample string 1", "ResponseMessage": "sample string 2" }
application/xml, text/xml
Sample:
<CortesiaResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniqueness.Store.Ticket.API.Models"> <Cortesias> <Cortesia> <Boleto>sample string 2</Boleto> <CodigoIngreso>1</CodigoIngreso> </Cortesia> <Cortesia> <Boleto>sample string 2</Boleto> <CodigoIngreso>1</CodigoIngreso> </Cortesia> </Cortesias> <ResponseCode>sample string 1</ResponseCode> <ResponseMessage>sample string 2</ResponseMessage> </CortesiaResponse>