NectaVendorsApi

<back to all web services

EchoSession

Can be used to (re)validate a session cookie and, if still valid, regain meta information (Role and VendorId at the time of writing this). invalid sessions result in HTTP 401

Requires Authentication
The following routes are available for this service:
GET/echo/session
ResponseEchoSession Parameters:
NameParameterData TypeRequiredDescription
UserIdformstringNo
UserNameformstringNo
RoleformstringNo
VendorIdformint?No
LmivModeformLmivModeNo
MetaformDictionary<string, string>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /echo/session HTTP/1.1 
Host: vendor-api.digisupply.klueh.de 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"UserId":"String","UserName":"String","Role":"String","VendorId":0,"LmivMode":0,"Meta":{"String":"String"}}