GetWithdrawTemplate
Category: System Permissions: Operator, Withdraw Call Type: Synchronous
Returns the text of the specific withdrawal template. To find out what templates are available to you, call GetWithdrawTemplateTypes.
Request
The system "knows" which Account Provider's withdrawal template to return based on the product ID and the template name you provide. There is usually only one Account Provider per product on an Exchange. AccountId and AccountProviderId therefore are optional key-value pairs.
OMSId
integer. REQUIRED The ID of the Order Management System on which the withdrawal will be made.
ProductId
integer. REQUIRED The ID of the product (asset) about to be withdrawn.
TemplateType
string. REQUIRED The name of the withdrawal template you want to return.
AccountId
integer. OPTIONAL The ID of the account from which you plan to make the withrawal.
AccountProviderId
integer. OPTIONAL The ID of the Account Provider you plan to use for the withdrawal.
Response
The Response returns the key-value pairs of the template, along with any error messages about the call. The text of the template will vary from Account Provider to Account Provider.
Template
string. The key-value pairs of the template inside a JSON string.
result
Boolean. Returns true if the call is successfully received; otherwise false.
errormsg
string. A successful receipt of the call returns null. The errormsg for an unsuccessful call returns one of: Not Authorized (errorcode 20) Invalid Request (errorcode 100) Operation Failed (errorcode 101) Server Error (errorcode 102) Resource Not Found (errorvode 104) Operation Not Supported (errorcode 106)
statuscode
integer. If result is false, statuscode can return: 32 Not Authorized 33 AssetManager_Not_Found If no Account Provider is located, statuscode returns null.
Last updated