GET api/v1/Token?user={user}&pwd={pwd}&osekMorshe={osekMorshe}

Get a new Token. A token will allow you to access CaspitWeb for 10 minutes.
The time window is sliding. That is you get a new 10 minute window every time you access Caspit.
The token is relevant to only one busineess. If you have more than one business in your account
you will need to get a seperate token to each of them.

Request Information

URI Parameters

NameDescriptionType/Additional information
user

The user name. E.g. "tommy"

string

Required

pwd

The user's password. E.g. "teywtEgy"

string

Required

osekMorshe

The business's OsekMorshe. E.g. "123456789".
If there is only one business in the account then the osekMorshe is optional, otherwise it is mandatory

string

Body Parameters

None.

Response Description

A Token.Example: CABF32736BB4988CAE8BA0CB073910C790BDE5043197E67B

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>