Note
Postman: Postman_example
Swagger: https://api.seamless.insure/task/documentation/#/notes
1. Create a note
URL | |
Method | POST |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} seamless-as-user: {{username}} |
Body | { "Header": "Test 1", "Body": "<p>Test description</p>", "NoteRelatedRecords": [ { "ReferenceId": {{case-id}}, "ReferenceType": "task" } ] }
Replace {{case-id}} by the Id of Case data (see Case_API_Guide PDF file) in order to create note for a case. "ReferenceType": default value is "task". |
Response data | Please see the sample response in Postman file. |
Create new Note |
2. Update a note
URL | https://external-api.seamless.insure/task/api/v1/notes/{{id}} (Please replace {{id}} with guid Id of Note on Seamless) |
Method | PUT |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} seamless-as-user: {{username}} |
Body | Same with Body of Create a note section |
Response data | Please see the sample response in Postman file. |
Update a Note |
3. Delete a note
URL | https://external-api.seamless.insure/task/api/v1/notes/{{id}} (Please replace {{id}} with guid Id of Note on Seamless) |
Method | DELETE |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} |
Response data | Success of failure status code |
|
4. Get note details
URL | https://external-api.seamless.insure/task/api/v1/notes/{{id}} (Please replace {{id}} with guid Id of Note on Seamless) |
Method | GET |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} |
Response data | Please see the sample response in Postman file |
|
5. Get note list
URL | https://external-api.seamless.insure/task/api/v1/notes/getNotes |
Method | POST |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} |
Request Body | { "Criteria": { "NoteRelatedRecords": [ { "ReferenceType": "task", "ReferenceId": {{case-id}} } ] }, "Page": 1, "ItemsPerPage": 10 }
Replace {{case-id}} by the Id of Case data (see Case_API_Guide PDF file) in order to create note for a case |
Response data | Please see the sample response in Postman file |
|
If you would like to request an article, drop us a mail at seamless.support@seamless.insure