Affluenza REST API

<back to all web services

ListAllByFiltersRequest

The following routes are available for this service:
GET/contracts
GET/contracts/listAllByFilter

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

HTTP + CSV

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

POST /csv/reply/ListAllByFiltersRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: text/csv
Content-Length: length

PortfolioId,PortfolioName,ContractCategory,DataSource,ContractMaturity,ContractStart,ContractCreateDate,CreatedBy,CreatedByName,AppKey,Token
00000000000000000000000000000000,String,String,String,0001-01-01,0001-01-01,0001-01-01,00000000000000000000000000000000,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Status,Response,ErrorMessage
Success,"[{portfolioId:00000000000000000000000000000000,contractId:00000000000000000000000000000000,templateId:00000000000000000000000000000000,maturityDate:0001-01-01,operationStart:0001-01-01,portfolioName:String,portfolioParentName:String,contractCategory:String,dataSource:String,underlying:String,notional:0,forward:0,position:String,hedgeAccounting:String,createdOn:0001-01-01,createdBy:00000000000000000000000000000000,createdByName:String,modifiedOn:0001-01-01,modifiedBy:00000000000000000000000000000000,modifiedByName:String,active:False,contractObject:{""String"":{}},isTemporary:False}]","{message:String,statusCode:0}"