FxHubPartnersApi

<back to all web services

GetForm25

Requires Authentication
The following routes are available for this service:
GET/form25/{Id}
GetForm25 Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
ClientIdqueryintNo
GetForm25Response Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformForm25No
Form25 Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ClientIdformintNo
FullNamesformstringNo
FirstLastNameformstringNo
IdNumberformstringNo
CifNumberformstringNo
SignedAtformstringNo
PaymentDateformDateTime?No
TransferAccountNumberformstringNo
RandAmountformdecimal?No
RandAmountInWordsformstringNo
BeneficiaryNameformstringNo
BillerPaymentformbool?No
BeneficiaryAddressformstringNo
BeneficiaryAccountformstringNo
AccountTypeformstringNo
BankNameformstringNo
BranchNameformstringNo
BankCodeformstringNo
BeneficiaryRefformstringNo
StpformstringNo
ProofOfPaymentformstringNo
PopEmailformstringNo
SignatoryNameformstringNo
SignatoryIdNumberformstringNo
SignatoryCapacityformstringNo
IsThirdPartyPaymentformbool?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /form25/{Id} HTTP/1.1 
Host: api.fxhub.co.za 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetForm25Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FxHubPartnersApi.ServiceModel">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/FxHubPartnersApi.ServiceModel.Types">
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:BankCode>String</d2p1:BankCode>
    <d2p1:BankName>String</d2p1:BankName>
    <d2p1:BeneficiaryAccount>String</d2p1:BeneficiaryAccount>
    <d2p1:BeneficiaryAddress>String</d2p1:BeneficiaryAddress>
    <d2p1:BeneficiaryName>String</d2p1:BeneficiaryName>
    <d2p1:BeneficiaryRef>String</d2p1:BeneficiaryRef>
    <d2p1:BillerPayment>false</d2p1:BillerPayment>
    <d2p1:BranchName>String</d2p1:BranchName>
    <d2p1:CifNumber>String</d2p1:CifNumber>
    <d2p1:ClientId>0</d2p1:ClientId>
    <d2p1:FirstLastName>String</d2p1:FirstLastName>
    <d2p1:FullNames>String</d2p1:FullNames>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:IdNumber>String</d2p1:IdNumber>
    <d2p1:IsThirdPartyPayment>false</d2p1:IsThirdPartyPayment>
    <d2p1:PaymentDate>0001-01-01T00:00:00</d2p1:PaymentDate>
    <d2p1:PopEmail>String</d2p1:PopEmail>
    <d2p1:ProofOfPayment>String</d2p1:ProofOfPayment>
    <d2p1:RandAmount>0</d2p1:RandAmount>
    <d2p1:RandAmountInWords>String</d2p1:RandAmountInWords>
    <d2p1:SignatoryCapacity>String</d2p1:SignatoryCapacity>
    <d2p1:SignatoryIdNumber>String</d2p1:SignatoryIdNumber>
    <d2p1:SignatoryName>String</d2p1:SignatoryName>
    <d2p1:SignedAt>String</d2p1:SignedAt>
    <d2p1:Stp>String</d2p1:Stp>
    <d2p1:TransferAccountNumber>String</d2p1:TransferAccountNumber>
  </Result>
</GetForm25Response>