Porta Plus 2 Web Services

<back to all web services

VendorCdrs

The following routes are available for this service:
GET/GetAllVendorsChargedAmount/{License}/{FromDate}/{ToDate}

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/VendorCdrs HTTP/1.1 
Host: api-uk.activesoftswitch.com 
Content-Type: text/jsv
Content-Length: length

{
	FromDate: String,
	ToDate: String,
	License: String,
	ContentId: 0,
	FeatureName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	VendorTotalChargedAmount: 
	{
		TotalCharged: 0,
		vendors: 
		[
			{
				VendorId: 0,
				VendorName: String,
				ChargedMinutes: 0,
				Connection: 
				[
					{
						VendorId: 0,
						IConnection: 0,
						ConnectionName: String,
						ChargedMinutes: 0
					}
				]
			}
		]
	},
	License: String,
	ContentId: 0,
	FeatureName: String
}