TeleportService

<back to all web services

Reports_ItemSalesStatistic

Requires Authentication
The following routes are available for this service:
POST, GET/Reports_ItemSalesStatistic
Reports_ItemSalesStatistic Parameters:
NameParameterData TypeRequiredDescription
StartDatebodyDateTimeNo
EndDatebodyDateTimeNo
ItemSalesStatisticResponce Parameters:
NameParameterData TypeRequiredDescription
reportformList<ItemSalesStatisticDto>No
ResponseStatusformResponseStatusNo
ItemSalesStatisticDto Parameters:
NameParameterData TypeRequiredDescription
PriceRangeformPriceRangeNo
TotalSumformdecimalNo
TotalQuantityformdecimalNo
PriceRange Parameters:
NameParameterData TypeRequiredDescription
MinformdecimalNo
MaxformdecimalNo

To override the Content-type in your clients, use the 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 /Reports_ItemSalesStatistic HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	StartDate: 0001-01-01,
	EndDate: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	report: 
	[
		{
			PriceRange: 
			{
				Min: 0,
				Max: 0
			},
			TotalSum: 0,
			TotalQuantity: 0
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}