Affluenza REST API

<back to all web services

TemplateGetByCategoryDataSourceUnderlyingRequest

The following routes are available for this service:
POST,OPTIONS/templates/ByCategoryDataSourceUnderlying

To override the Content-type in your clients 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.

POST /xml/reply/TemplateGetByCategoryDataSourceUnderlyingRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: application/xml
Content-Length: length

<TemplateTransport.TemplateGetByCategoryDataSourceUnderlyingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Transport">
  <AppKey xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">0</AppKey>
  <Token xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">String</Token>
  <CategoryTicker>String</CategoryTicker>
  <DataSourceTicker>String</DataSourceTicker>
  <UnderlyingTicker>String</UnderlyingTicker>
</TemplateTransport.TemplateGetByCategoryDataSourceUnderlyingRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<TemplateTransport.TemplateGetByCategoryDataSourceUnderlyingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Transport">
  <_x003C_ErrorMessage_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">
    <_x003C_Message_x003E_k__BackingField>String</_x003C_Message_x003E_k__BackingField>
    <_x003C_StatusCode_x003E_k__BackingField>0</_x003C_StatusCode_x003E_k__BackingField>
  </_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Response_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Contract" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">
    <Id xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource">00000000-0000-0000-0000-000000000000</Id>
    <d2p1:ContractCategory>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Ticker>String</d2p1:Ticker>
    </d2p1:ContractCategory>
    <d2p1:ContractCurrency xmlns:d3p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Core" i:nil="true" />
    <d2p1:ContractFixing i:nil="true" />
    <d2p1:ContractType>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Ticker>String</d2p1:Ticker>
    </d2p1:ContractType>
    <d2p1:DataSource xmlns:d3p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Core" i:nil="true" />
    <d2p1:HedgeAccounting i:nil="true" />
    <d2p1:MaturityDate>0001-01-01T00:00:00</d2p1:MaturityDate>
    <d2p1:Settlement>
      <d2p1:Currency xmlns:d4p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Core" i:nil="true" />
      <d2p1:CurrencyQuotationTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Core" i:nil="true" />
      <d2p1:Fixing i:nil="true" />
      <d2p1:QuotationDirections i:nil="true" />
      <d2p1:QuotationTimes i:nil="true" />
      <d2p1:QuotationTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Core" i:nil="true" />
    </d2p1:Settlement>
    <d2p1:Ticker>String</d2p1:Ticker>
    <d2p1:Underlying>
      <d2p1:CurrencyQuotationDirections i:nil="true" />
      <d2p1:CurrencyQuotationTimes i:nil="true" />
      <d2p1:CurrencyQuotationTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Core" i:nil="true" />
      <d2p1:QuotationTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Core" i:nil="true" />
      <d2p1:Tickers i:nil="true" />
      <d2p1:Units xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    </d2p1:Underlying>
    <d2p1:ValidationXSLT>String</d2p1:ValidationXSLT>
    <d2p1:ViewLogicXSLT>String</d2p1:ViewLogicXSLT>
    <d2p1:XSD>String</d2p1:XSD>
  </_x003C_Response_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">Success</_x003C_Status_x003E_k__BackingField>
</TemplateTransport.TemplateGetByCategoryDataSourceUnderlyingResponse>