Starts new session

POST
api/session
This request is used for starting a new session and getting its ID. You can provide this ID in the title (SID=) or URL (...api/session?sid=) of further requests made within this session. Such request is needed when the cookies are not kept and session ID is not provided in requests automatically. Another example: if you need to make requests to one database from different user accounts, you can start required number of new sessions by using requests of this type.

Content

Type name Description
GUID 

Request:
  1. POST api/session
  2. Accept: text/json
  3. Accept-Encoding: deflate
  4. Host: localhost:6496
  5. Cookie: sid=bbba1fa1-563b-4707-80ce-8f6750718cc6
Response:
  1. Transfer-Encoding: chunked
  2. Content-Encoding:
  3. Cache-Control: no-store
  4. Content-Type: text/json; charset=utf-8
  5. Date: Fri, 21 Dec 2012 09:10:51 GMT
  6. Set-Cookie: sid=f595a665-97a0-49c1-ac6b-e4515167b812; path=/;
  7. Server: Microsoft-HTTPAPI/2.0
  8.  
  9. "f595a665-97a0-49c1-ac6b-e4515167b812"