Versions Compared

Key

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

GET byCaseNumber

Get a list of notes by case number.

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

PARAMS

CaseNumber

9000002

Example Response

Code Block
[
  {
    "noteID": 2764065,
    "caseID": 516718,
    "caseNumber": "9000002",
    "noteTypeID": 42,
    "noteTypeName": "Adjuster Defendant",
    "noteText": "test&nbsp;&nbsp; <strong>sdfsdfsdf </strong>sdfsdfsdf",
    "uniqueContactId": 1631752,
    "uniqueContactName": "Ilinykh, Andrey",
    "priority": "Normal",
    "userID": 488,
    "noteDate": "2021-05-03T20:08:00Z",
    "createdDate": "2021-05-03T20:08:24.237Z",
    "subject": "",
    "isSharedinCP": false,
    "isSharedWithAll": false
  },
  {
    "noteID": 2762816,
    "caseID": 516718,
    "caseNumber": "9000002",
    "noteTypeID": 10,
    "noteTypeName": "Case",
    "noteText": "Case Retained SignUp kit received",
    "uniqueContactId": 1631752,
    "uniqueContactName": "Selizhuk, Igor V., Esq.",
    "priority": "Normal",
    "userID": 345,
    "noteDate": "2020-05-05T21:18:00Z",
    "createdDate": "2020-05-05T21:17:46.97Z",
    "subject": "",
    "isSharedinCP": false,
    "isSharedWithAll": false
  }
]

GET byCaseID

Get a list of notes by case id.

https://app.smartadvocate.com/CaseSyncAPI/case/5/notes

Example Response

Code Block
[
  {
    "noteID": 2764065,
    "caseID": 516718,
    "caseNumber": "9000002",
    "noteTypeID": 42,
    "noteTypeName": "Adjuster Defendant",
    "noteText": "test&nbsp;&nbsp; <strong>sdfsdfsdf </strong>sdfsdfsdf",
    "uniqueContactId": 1631752,
    "uniqueContactName": "Ilinykh, Andrey",
    "priority": "Normal",
    "userID": 488,
    "noteDate": "2021-05-03T20:08:00Z",
    "createdDate": "2021-05-03T20:08:24.237Z",
    "subject": "",
    "isSharedinCP": false,
    "isSharedWithAll": false
  },
  {
    "noteID": 2762816,
    "caseID": 516718,
    "caseNumber": "9000002",
    "noteTypeID": 10,
    "noteTypeName": "Case",
    "noteText": "Case Retained SignUp kit received",
    "uniqueContactId": 1631752,
    "uniqueContactName": "Selizhuk, Igor V., Esq.",
    "priority": "Normal",
    "userID": 345,
    "noteDate": "2020-05-05T21:18:00Z",
    "createdDate": "2020-05-05T21:17:46.97Z",
    "subject": "",
    "isSharedinCP": false,
    "isSharedWithAll": false
  }
]

POST InsertNote

Insert a new note into a case.

https://app.smartadvocate.com/CaseSyncAPI/case/note

BODY Raw

Code Block
{
        "caseID": 516718,
        "noteTypeID": 90,
        "noteText": "<b>UTC test - 2021-04-22T11:40:51 +05:00</b>",
        "uniqueContactId": 1694683,
        "priority": "Normal",
        "formID": 0,
        "noteDate": "2021-04-22T11:40:51+05:00",
        "subject": "test",
        "isSharedinCP": false,
        "isSharedWithAll": false
}

 

PUT UpdateNote

Update an existing note in a case.

https://app.smartadvocate.com/CaseSyncAPI/case/note

BODY Raw

Code Block
{
    "noteID": 2763942,    
    "noteTypeID": 90,
    "noteText": "test insert2",
    "isSharedinCP": true,
    "isSharedWithAll": false
}

POST FilteredCaseNotes

Returns recently inserted/modified notes. List of case numbers is optional. Supports paging.

https://app.smartadvocate.com/CaseSyncAPI/case/notes/byDatePaged

BODY Raw

Code Block
{
    "modifiedFromDateTime": "2020-05-01T05:00:00.0000000\u002B00:00",
    "modifiedToDateTime": "2021-05-07T01:16:18.2190000\u002B00:00",
    "caseNumbers": [
       
    ],
    "pageRequest": {
        "currentPage": 0,
        "pageSize": 11
    }
}


GET CaseNote

Returns specific note identified by the note id.

https://app.smartadvocate.com/CaseSyncAPI/case/note/2763942


GET NoteTypes

Returns note types defined in SmartAdvocate system.

https://app.smartadvocate.com/CaseSyncAPI/case/note/types

Example Response

Code Block
[
  {
    "id": 97,
    "description": "ABC"
  },
  {
    "id": 4,
    "description": "Adjuster"
  },
  {
    "id": 5,
    "description": "Phone Call"
  },
  {
    "id": 102,
    "description": "Phone Message"
  },
  {
    "id": 3,
    "description": "Plaintiff"
  }
]