Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to access the WorkOrders consumer service, you must first log in.

Test url:

Code Block
httpshttp://simaapiapi-testtestdev.ddns.net

How to get the user API-KEY (login)?

You must use the next endpoint to obtain the access_token.

Login uri:

Code Block
/loginapi/{user}/{password}v2/login

Method:

Code Block
GETPOST

Header:

Code Block
    'Accept: application/json',
    'Content-Type: application/json'

Body:

Code Block
{
    "email":"{{user_email}}",
    "password":"{{password}}"
}

Response example:

Code Block
{
    "access_token": "111",
    "refresh_token": "034d7e33-5e5c-4ac9-9caf-746af2d0df14",
    "expiration_datetime": "2017-02-14T16:30:44-0300",
    "minimum_app_version": 130,
    "latest_app_version": 234
}

...

Work order endpoints

Workorder endpoints

...