Versions Compared

Key

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

API documentation: https://external-api.seamless.insure/customer/documentation/

  1. Create a customer

  • Header:

Content-Type: application/json

...

  • Postman example (please see it on the attachments):

  1. Update a customer

  • Header:

Content-Type: application/json

Authorization: Bearer {{accessToken}}

  • Body: (please see it on the Postman example)

  • Postman example (please see it on the attachments):

  1. Get one customer

(We can replace {{customerId}} with Id of customer on Seamless)

  • Method: GET

  • Header:

Content-Type: application/json

Authorization: Bearer {{accessToken}}

  • Postman example (please see it on the attachments):

  1. Search customers

  • Request Body:

"Page": 1,

"ItemsPerPage": 10,

"Criteria": {

"Profile": [],

"SSN": null,

"FullName": null,

"Type": null // "pl" or "cl",

...

}

*Note: Type is "pl" or "cl"

  • Header:

Content-Type: application/json

Authorization: Bearer {{accessToken}}

  • Postman example (please see it on the attachments):

  1. Get customers

  • Request Params:

...

  • Postman example (please see it on the attachments):

Picture 5. Get customer list

  1. Delete a customer

(We can replace {{customerId}} with Id of customer on Seamless)

  • Method: DELETE

  • Header:

Content-Type: application/json

...