SLnet.WebExtApi

<back to all web services

ItemCategories

Sync Service

The following routes are available for this service:
GET/services/sync/itemcategoriesGets item categories thar are specified in scenario's categories. If none is specified in the scenario, gets all item categories.Gets also multilingual descriptions.

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

{
	RevisionNumber: 0,
	WebScenID: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		ParentNodeID: String,
		OutLine: String,
		LevelOfNode: 0,
		CatLanguages: 
		[
			{
				CountryID: String,
				Description: String,
				LangOrder: 0
			}
		],
		ID: String,
		Code: String,
		Description: String,
		RevisionNumber: 0
	}
]