TeleportService

<back to all web services

Documents_GetMarketplaceFiltersV2

Requires Authentication
The following routes are available for this service:
POST, GET/v2/Documents_GetMarketplaceFilters
Documents_GetMarketplaceFiltersV2 Parameters:
NameParameterData TypeRequiredDescription
StartDateTimebodyDateTimeNo
MarketplaceFiltersResponse Parameters:
NameParameterData TypeRequiredDescription
MarketplaceformList<string>No
HucksterStatusformList<string>No
MarketplaceAccountformList<MarketplaceAccountValue>No
ResponseStatusformResponseStatusNo
MarketplaceAccountValue Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
MarketplaceformstringNo
WarehousesformList<MarketplaceWarehouse>No
MarketplaceWarehouse Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo

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 /v2/Documents_GetMarketplaceFilters HTTP/1.1 
Host: wbs.e-teleport.ru 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	Marketplace: 
	[
		String
	],
	HucksterStatus: 
	[
		String
	],
	MarketplaceAccount: 
	[
		{
			Id: String,
			Name: String,
			Marketplace: String,
			Warehouses: 
			[
				{
					Id: String,
					Name: String
				}
			]
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}