Affluenza REST API

<back to all web services

GetGapReportRequest

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

HTTP + SOAP11

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

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

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

<ReportTransport.GetGapReportRequest 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>
  <DtCalc>0001-01-01T00:00:00</DtCalc>
  <ExposureLimit>0</ExposureLimit>
  <IncludeTemporaryData>false</IncludeTemporaryData>
  <Intervals xmlns:d2p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Report" i:nil="true" />
  <PortfolioId>00000000-0000-0000-0000-000000000000</PortfolioId>
  <Portfolios xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Portfolios>
  <RiskFactor>String</RiskFactor>
</ReportTransport.GetGapReportRequest>

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

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

<ReportTransport.GetGapReportResponse 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.Report" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">
    <d2p1:AccumulatedBalance>0</d2p1:AccumulatedBalance>
    <d2p1:Balance>0</d2p1:Balance>
    <d2p1:BuyHedgeInstrumentTotal>0</d2p1:BuyHedgeInstrumentTotal>
    <d2p1:BuyHedgeObjectTotal>0</d2p1:BuyHedgeObjectTotal>
    <d2p1:ExposureExceeding>0</d2p1:ExposureExceeding>
    <d2p1:Intervals i:nil="true" />
    <d2p1:ReportDate>0001-01-01T00:00:00</d2p1:ReportDate>
    <d2p1:ReportUnit>String</d2p1:ReportUnit>
    <d2p1:SellHedgeInstrumentTotal>0</d2p1:SellHedgeInstrumentTotal>
    <d2p1:SellHedgeObjectTotal>0</d2p1:SellHedgeObjectTotal>
  </_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>
</ReportTransport.GetGapReportResponse>

    </soap:Body>
</soap:Envelope>