API Route - CRM

API endpoints

[GET] Get the content of a CRM activity document

Details

By calling this API endpoint, you will get the binary content of the CRM activity (Document or Form). The content of the file is encoded as Base64. It is possible to configure the response of the API to return the CRM FileName and its ContentType (for exemple :“application/pdf”).

API endpoint :

/api/v1/crmactivities/{crmActivityIdentifier}/binarycontent

Json response :

{
  "GetBinaryContentOfActivityCrm": {
    "MyDocument": {
      "ListofImagedDocuments": [
        {
          "Document": "string",
          "ContentType": "string",
          "FileName": "string"
        }
      ]
    },
    "MyForm": {
      "MyGeneratedPDF": {
        "Document": "string",
        "ContentType": "string",
        "FileName": "string"
      }
    }
  }
}

[POST] Check the CRM Activity for the ID Card

Details

This API endpoint checks the CRM Activity for the ID Card

API endpoint :

/api/v1/policies/{contractNumber}/quotes/{iterationNumber}/checkCRMActivityForIDCard

Parameter request :

contractNumber as string
iterationNumber as string

Json response :

The CRM Activity for the ID Card