POST api/smartzar/Withdraw

Request Information

URI Parameters

None.

Body Parameters

WithdrawRequest
NameDescriptionTypeAdditional information
User

string

Required

Max length: 128

Amount

decimal number

Required

Max length: 128

Asset

string

Required

Matching One of these values (Case Sensitive): ZAR | EDC

Action

string

Required

Request Formats

application/json, text/json

Sample:
{
  "User": "sample string 1",
  "Amount": 2.0,
  "Asset": "sample string 3",
  "Action": "sample string 4"
}

application/xml, text/xml

Sample:
<WithdrawRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models">
  <Action>sample string 4</Action>
  <Amount>2</Amount>
  <Asset>sample string 3</Asset>
  <User>sample string 1</User>
</WithdrawRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseCryptoResponse
NameDescriptionTypeAdditional information
CryptoResponse

string

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "CryptoResponse": null,
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<BaseCryptoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
</BaseCryptoResponse>