POST api/Transactions/SetTransactionExtraCupo
EndPoint para enviar aprobación o cancelacion de extracupo
Request Information
URI Parameters
None.
Body Parameters
RequestOfTransactionExtraCupoName | Description | Type | Additional information |
---|---|---|---|
token | string |
None. |
|
ObjectRequest | TransactionExtraCupo |
None. |
Request Formats
application/json, text/json
Sample:
{ "token": "sample string 1", "ObjectRequest": { "ExtraCupoValue": 1, "ExtraCupoApproved": true } }
application/xml, text/xml
Sample:
<RequestOfTransactionExtraCupogLy1KDZd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Multisponsor.EPM.Somos.Api.Models"> <ObjectRequest xmlns:d2p1="http://schemas.datacontract.org/2004/07/Multisponsor.EPM.Somos.Api.Models.Transactions"> <d2p1:ExtraCupoApproved>true</d2p1:ExtraCupoApproved> <d2p1:ExtraCupoValue>1</d2p1:ExtraCupoValue> </ObjectRequest> <token>sample string 1</token> </RequestOfTransactionExtraCupogLy1KDZd>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Message | Collection of MessageResult |
None. |
|
ObjectResponse | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Message": null, "ObjectResponse": true }
application/xml, text/xml
Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Multisponsor.EPM.Somos.Api.Models"> <Message i:nil="true" /> <ObjectResponse>true</ObjectResponse> <Status>true</Status> </ResponseOfboolean>