Endorse a policy

In an agent portal, agents can create an endorsement transaction in order to submit changes to an existing policy.

Endorsing a policy includes the following steps:
  1. Identify the policy transaction.
  2. Submit and process the endorsement.

Identify the policy transaction

Initiating an endorsement starts with an agent deciding to create a new transaction on a policy. Then, agent portal calls an API to determine the types of transactions that are valid for a policy.


Process to identify the policy transaction.

Once an agent selects an endorsement transaction, the agent portal must note the code value of the transaction as it is required to request the transaction in a later step.

For example, the following steps may occur:
  1. View the policy details:
    1. The portal submits the following API call:
      GET /policies/systemid
    2. The portal displays the policy details provided in the response.
  2. View the list of available transactions:
    1. The portal submits the following API call:
      GET /policies/systemid/availableTransactions
    2. The portal provides the user a list of available transactions based on the API response.
    3. The agent selects the Endorsement transaction.
    4. From the API response, the portal notes the value of the Endorsement option.
      [
        ...
          "value": "Cancellation",
          "name": "Cancellation"
        },
        {
          "value": "Endorsement",
          "name": "Endorsement"
        },
       ...
      ]
      

Submit and process the endorsement

Submitting and processing an endorsement request starts with the agent portal calling an API to initiate an endorsement. Then, the system creates an application and the agent processes the application.


Process to complete an endorsement.
For example, the following steps may occur:
  1. Start the endorsement transaction request:
    1. The portal executes the following API call:
      Endpoint
      POST /policies/systemId/startTransactionRequest
      Example Request Body
      {
        "effectiveDate": "YYYY-MM-DD",
        "transactionCd": "Endorsement"
      }

      Provide the value of the Endorsement transaction as the transactionCd.

    2. From the API response header, note the systemID of the application in the location field of the API response header:
      ...
       location: https://hostname/coreapi/v5/applications/systemID
       ... 
  2. View the new application
    1. The portal executes the following API call:
      GET /applications/systemid
    2. The portal displays the application details provided in the API response.
    3. The agent completes the application.