FxHubPartnersApi

<back to all web services

GetPartnerQueries

Requires Authentication
The following routes are available for this service:
GET/query/partners_list
GetPartnerQueriesResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformList<Query>No
MessageformstringNo
Query Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UserIdformintNo
UserNameformstringNo
AdminIdformintNo
AdminNameformstringNo
PartnerNameformstringNo
PartnerIdformintNo
QueryCategoryformstringNo
QuerySentTimeformDateTime?No
InitialSendTimeformstringNo
MostRecentUpdatedTimeformstringNo
HasBeenAnsweredformbool?No
QueryStatusformstringNo
QueryMessagesformList<QueryMessage>No
QueryMessage Parameters:
NameParameterData TypeRequiredDescription
MessageformstringNo
SentByformstringNo
UpdatedAtformstringNo

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 /query/partners_list HTTP/1.1 
Host: api.fxlink.co.za 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetPartnerQueriesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FxHubPartnersApi.ServiceModel">
  <Message>String</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/FxHubPartnersApi.ServiceModel.Types">
    <d2p1:Query>
      <d2p1:AdminId>0</d2p1:AdminId>
      <d2p1:AdminName>String</d2p1:AdminName>
      <d2p1:HasBeenAnswered>false</d2p1:HasBeenAnswered>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:InitialSendTime>String</d2p1:InitialSendTime>
      <d2p1:MostRecentUpdatedTime>String</d2p1:MostRecentUpdatedTime>
      <d2p1:PartnerId>0</d2p1:PartnerId>
      <d2p1:PartnerName>String</d2p1:PartnerName>
      <d2p1:QueryCategory>String</d2p1:QueryCategory>
      <d2p1:QueryMessages>
        <d2p1:QueryMessage>
          <d2p1:Message>String</d2p1:Message>
          <d2p1:SentBy>String</d2p1:SentBy>
          <d2p1:UpdatedAt>String</d2p1:UpdatedAt>
        </d2p1:QueryMessage>
      </d2p1:QueryMessages>
      <d2p1:QuerySentTime>0001-01-01T00:00:00</d2p1:QuerySentTime>
      <d2p1:QueryStatus>String</d2p1:QueryStatus>
      <d2p1:UserId>0</d2p1:UserId>
      <d2p1:UserName>String</d2p1:UserName>
    </d2p1:Query>
  </Result>
</GetPartnerQueriesResponse>