Affluenza REST API

<back to all web services

CurveListInterestValuesRequest

The following routes are available for this service:
GET, POST, OPTIONS/curves/interests/values

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

HTTP + JSV

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

POST /jsv/reply/CurveListInterestValuesRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: text/jsv
Content-Length: length

{
	ticker: String,
	startDate: 0001-01-01,
	endDate: 0001-01-01,
	appKey: 0,
	token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	status: Success,
	response: 
	{
		unit: 
		{
			affix: String,
			symbol: String,
			unitType: String
		},
		ticker: 
		{
			ticker: String,
			description: String
		},
		values: 
		[
			{
				date: 0001-01-01,
				value: 0
			}
		]
	},
	errorMessage: 
	{
		message: String,
		statusCode: 0
	}
}