Affluenza REST API

<back to all web services

TemplateGetByCategoryDataSourceUnderlyingRequest

The following routes are available for this service:
POST,OPTIONS/templates/ByCategoryDataSourceUnderlying

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/TemplateGetByCategoryDataSourceUnderlyingRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: text/jsv
Content-Length: length

{
	categoryTicker: String,
	dataSourceTicker: String,
	underlyingTicker: String,
	appKey: 0,
	token: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	status: Success,
	response: 
	{
		ticker: String,
		contractType: 
		{
			ticker: String,
			description: String
		},
		contractCategory: 
		{
			ticker: String,
			description: String
		},
		maturityDate: 0001-01-01,
		settlement: {},
		underlying: {},
		xsd: String,
		validationXSLT: String,
		viewLogicXSLT: String,
		id: 00000000000000000000000000000000
	},
	errorMessage: 
	{
		message: String,
		statusCode: 0
	}
}