Affluenza REST API

<back to all web services

GetLiabilityReportRequest

The following routes are available for this service:
POST,OPTIONS/reports/Liability

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/GetLiabilityReportRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: application/xml
Content-Length: length

<ReportTransport.GetLiabilityReportRequest 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>
  <Benchmarks xmlns:d2p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Report" i:nil="true" />
  <Counterpart>String</Counterpart>
  <DisplayCurrency>String</DisplayCurrency>
  <EndDate>0001-01-01T00:00:00</EndDate>
  <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>
  <Simulation>false</Simulation>
  <StartDate>0001-01-01T00:00:00</StartDate>
  <portfolios xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </portfolios>
</ReportTransport.GetLiabilityReportRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ReportTransport.GetLiabilityReportResponse 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:AccrualOnEnd>0</d2p1:AccrualOnEnd>
    <d2p1:AccrualOnStart>0</d2p1:AccrualOnStart>
    <d2p1:AverageRateEstimate>0</d2p1:AverageRateEstimate>
    <d2p1:AverageRatePast>0</d2p1:AverageRatePast>
    <d2p1:BenchmarkRates i:nil="true" />
    <d2p1:CashFlowProjections i:nil="true" />
    <d2p1:Details i:nil="true" />
    <d2p1:DurationInMonths>0</d2p1:DurationInMonths>
    <d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
    <d2p1:IntervalDescription>String</d2p1:IntervalDescription>
    <d2p1:MaturityAverageInMonths>0</d2p1:MaturityAverageInMonths>
    <d2p1:PortfolioName>String</d2p1:PortfolioName>
    <d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
  </_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.GetLiabilityReportResponse>