POST api/BOS/SelfWithdrawal?Bearer={Bearer}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Bearer

string

Required

Body Parameters

SelfWithdrawalRequestModel
NameDescriptionTypeAdditional information
withdrawalId

string

None.

amount

decimal number

None.

remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "withdrawalId": "sample string 1",
  "amount": 2.1,
  "remarks": "sample string 3"
}

text/xml

Sample:
<SelfWithdrawalRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOSApiIntegration.Models">
  <amount>2.1</amount>
  <remarks>sample string 3</remarks>
  <withdrawalId>sample string 1</withdrawalId>
</SelfWithdrawalRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.