Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

{
    "Username":"test",
    "Password":"test"
}

Returns user name, id and token.

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

Case

GET GetCaseInfo

https://app.smartadvocate.com/CaseSyncAPI/case/CaseInfo?Casenumber=9000002%

PARAMS

Casenumber

9000002%

CaseNotes

GET byCaseNumber

https://app.smartadvocate.com/CaseSyncAPI/case/notes/byCaseNumber?CaseNumber=9000002

PARAMS

CaseNumber

9000002

  • No labels