Versions Compared

Key

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

Postman Documentation with Examples

https://documenter.getpostman.com/view/5921778/UVeJM5kQ#58b4c01b-291d-49a4-b04c-d71e90e1ba07

Authentication

To authenticate your integration you will need to provide user id and password of an actual user defined in SmartAdvocate system. System administrators will be able to set permissions for this user to ensure that the integration only has access to appropriate cases and operations. This means that you might not be able to access certain cases and some of the operations (for example, Insert Note) might not be available.

POST RequestToken

https://app.smartadvocate.com/CaseSyncAPI/Users/authenticate

BODY raw

Code Block
languagejson
{
    "Username":"test",
    "Password":"test"
}

Returns user name, id and token.

Code Block
languagejson
{
  "username": "test",
  "userID": 677,
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3NyIsImhvc3QiOiIiLCJuYmYiOjE2MjA2NjU2MjYsImV4cCI6MTYyMDY3MjgyNiwiaWF0IjoxNjIwNjY1NjI2LCJpc3MiOiJTbWFydEFkdm9jYXRlVGVzdCJ9.LA2ObLE4AAa_DvoYGSBP0A44aonFB_O7mqKcrZYrLXc"
}

All other methods require authorization using bearer token - you will need to set the header "Authorization" with the value of "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3NyIsImhvc3QiOiIiLCJuYmYiOjE2MjA2NjU2MjYsImV4cCI6MTYyMDY3MjgyNiwiaWF0IjoxNjIwNjY1NjI2LCJpc3MiOiJTbWFydEFkdm9jYXRlVGVzdCJ9.LA2ObLE4AAa_DvoYGSBP0A44aonFB_O7mqKcrZYrLXc" for the above example.

Child pages (Children Display)
styleh3