a.    Login Services

b.    Application Login

 To log in as an application, you:

  • Log in to tamigo as an Administrator
  • Go to Configuration -> Web Services (API)
  • Create a new application key by entering an application name and clicking Create Key

 The application key is used for authentication of your application and you must therefore secure it properly.

If your key has been compromised, it is possible to regenerate the key to ensure the security of your tamigo instance.

The response returned from the service contains the SessionToken. Use this token in subsequent calls to the service to authenticate yourself.

 

Request (JSON)

POST /login/application
Content-Type: application/json

{"Name":"micros", "Key":"longstringasyourpasscodegeneratedfromtheapplication"}

Response (JSON)

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{"DefaultDepartmentId":"",
" DefaultDepartmentName ":"",
"DefaultCompanyId":"",
"DefaultCompanyName":"",
"Email":"",
"Password":"",
"Role":"Application",
"MenuId":"5",
"SessionToken":"e2c152f3-49ea-4b50-948b-bc0520261737"}

 

c.      Partner Login

To log in as a partner, you must get a login from tamigo by contacting support@tamigo.com.

The partner key is used for your authentication and you must therefore secure it properly. If your key has been compromised, you must contact us immediately, so we can disable it and give you a new key.

The response returned from the service contains the SessionToken. Use this token in subsequent calls to the service to authenticate yourself.

Request (JSON)

POST /login/application
Content-Type: application/json

{"Name":"micros", "Key":"longstringasyourpasscodegeneratedfromtheapplication"}

Response (JSON)

HTTP/1.1200 OK 
Content-Type: application/json; charset=utf-8

{"DefaultDepartmentId":"",
" DefaultDepartmentName ":"",
"DefaultCompanyId":"",
"DefaultCompanyName":"",
"Email":"",
"Password":"",
"Role":"Application",
"MenuId":"5",
"SessionToken":"e2c152f3-49ea-4b50-948b-bc0520261737"}