Postman: Postman_example
Fields specs: Case_fields.specs.xlsx
1. Create a case
URL | |
Method | POST |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} |
Body | { "priority": 4, "title": "Test Case", "dueDate": "2023-12-25T16:59:59.999Z", "description": "<p>Test description</p>", "referenceType": {{workflow-id}}, "queueId": {{queue-id}}, "type": {{case-type-value}}, "taskRelatedRecords": [] }
Replace {{workflow-id}} by $.data.results[].workflowId of the response data. Replace {{queue-id}} by $.data.results[].queueId of the response data. Replace {{case-type-value}} by $.data.results[].value of the response data. |
Response data | Please see the sample response in Postman file and fields specs in the sheet file |
2. Update a case
URL | https://external-api.seamless.insure/task/api/v2/tasks/{{id}} (Please replace {{id}} with guid Id of Case on Seamless) |
Method | PUT |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} |
Body | Same with Body of Create a case section |
Response data | Please see the sample response in Postman file and fields specs in the sheet file |
3. Delete case
URL | https://external-api.seamless.insure/task/api/v2/tasks/{{id}} (Please replace {{id}} with guid Id of Case on Seamless) |
Method | DELETE |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} |
Response data | Success of failure status code |
4. Get case details
URL | https://external-api.seamless.insure/task/api/v2/tasks/{{id}} (Please replace {{id}} with Guid Id of Case on Seamless) |
Method | GET |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} |
Response data | Please see the sample response in Postman file and fields specs in the sheet file |
|
5. Get case list
URL | https://external-api.seamless.insure/task/api/v2/tasks/getTasks |
Method | POST |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} |
Request Body | { "page": 1, "itemsPerPage": 10, "criteria": { "order": {"reference": "DESC"}, "assignee": {{username}} } }
Order direction value: ASC or DESC Replace {{username}} with an username or null (default value is null) |
Response data | Please see the sample response in Postman file and fields specs in the sheet file |
|
6. Get case types
URL | https://external-api.seamless.insure/task/api/v2/caseTypes/search |
Method | POST |
Headers | Content-Type: application/json Authorization: Bearer {{accessToken}} |
Request Body | { "page": 1, "itemsPerPage": 10, "criteria": { "order": {"name": "DESC"} } }
Order direction value: ASC or DESC |
Response data | Please see the sample response in Postman file and fields specs in the sheet file |
|