Affluenza REST API

<back to all web services

CurveValuesReportRequest

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

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: www.plusrated.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<CurveTransport.CurveValuesReportRequest 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>
  <CurveDate>String</CurveDate>
  <Ticker>String</Ticker>
</CurveTransport.CurveValuesReportRequest>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<CurveTransport.CurveValuesReportResponse 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.Curve" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">
    <d2p1:Curves>
      <d2p1:CurveValuesDetailResource>
        <d2p1:ReferenceDate>0001-01-01T00:00:00</d2p1:ReferenceDate>
        <d2p1:Unit>
          <d2p1:Affix>String</d2p1:Affix>
          <d2p1:Symbol>String</d2p1:Symbol>
          <d2p1:UnitType>String</d2p1:UnitType>
        </d2p1:Unit>
        <d2p1:Values>
          <d2p1:CurveValuesResource>
            <d2p1:Date>0001-01-01T00:00:00</d2p1:Date>
            <d2p1:Value>0</d2p1:Value>
          </d2p1:CurveValuesResource>
        </d2p1:Values>
      </d2p1:CurveValuesDetailResource>
    </d2p1:Curves>
    <d2p1:Ticker xmlns:d3p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Domain.Contract">
      <d3p1:Description>String</d3p1:Description>
      <d3p1:Ticker>String</d3p1:Ticker>
    </d2p1:Ticker>
  </_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>
</CurveTransport.CurveValuesReportResponse>

    </soap12:Body>
</soap12:Envelope>