POST api/v1/block

Request Information

URI Parameters

None.

Body Parameters

BlockedRequest
NameDescriptionTypeAdditional information
cuponId

integer

None.

reason

string

None.

block

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "cuponId": 1,
  "reason": "sample string 2",
  "block": true
}

application/xml, text/xml

Sample:
<Request.BlockedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/qPonesApi.DTO">
  <block>true</block>
  <cuponId>1</cuponId>
  <reason>sample string 2</reason>
</Request.BlockedRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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