POST api/smartzar/Transfer

Request Information

URI Parameters

None.

Body Parameters

TransferAssetRequest
NameDescriptionTypeAdditional information
UserFrom

string

Required

Max length: 128

UserTo

string

Required

Max length: 128

Amount

decimal number

Required

Asset

string

Required

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

Action

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserFrom": "sample string 1",
  "UserTo": "sample string 2",
  "Amount": 3.0,
  "Asset": "sample string 4",
  "Action": "sample string 5"
}

application/xml, text/xml

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

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>