Sending GETs

You can use a request tool, such as Postman, to ensure GETs are well-formed and to review the structure of the response payloads. For more information, see Requests and responses.

Send a GET using Postman

Procedure

  1. Start an InsuranceSuite application and Postman.
  2. Start a new request by clicking the + to the right of the Launchpad tab.
  3. Under the Untitled Request label, make sure that GET is selected. (This is the default operation.)
  4. In the Enter request URL field, enter the URL for the server and the endpoint for your respective InsuranceSuite application:
    • For example, to perform a GET /activities on an instance of ClaimCenter on your machine, enter: http://localhost:8080/cc/rest/common/v1/activities
    • To perform a GET /activities on an instance of PolicyCenter on your machine, enter: http://localhost:8180/pc/rest/common/v1/activities
    • To perform a GET /activities on an instance of BillingCenter on your machine, enter: http://localhost:8580/bc/rest/billing/v1/accounts
  5. On the Authorization tab, provide sufficient authorization information to execute the request. For example, to set up basic authentication for aapplegate:
    1. Click the Authorization tab.
    2. For the Type drop-down list, select Basic Auth.
    3. In the Username field, enter aapplegate (use su for BillingCenter).
    4. In the Password field, enter gw.
  6. Click the Send button to the right of the request field.

Tutorial: Send a basic Postman request

This tutorial assumes you have set up your environment with Postman and the correct sample dataset. For more information, see Tutorial: Set up your Postman environment.

Tutorial steps

  1. In Postman, start a new request by clicking the + to the right of the Launchpad tab.
  2. On the Authorization tab, select Basic Auth using user aapplegate (use su for BillingCenter) and password gw.
  3. Enter one of the following calls for your respective InsuranceSuite application and click Send:
    • ClaimCenter: GET http://localhost:8080/cc/rest/common/v1/activities
    • PolicyCenter: GET http://localhost:8180/pc/rest/common/v1/activities
    • BillingCenter: GET http://localhost:8580/bc/rest/billing/v1/accounts

Checking your work

Once a response has been received, its payload is shown in the lower portion of the Postman interface. These are the first few lines of the response payload:

ClaimCenter:

{
    "count": 25,
        "data": [
            {
            "attributes": {
            "activityPattern": "contact_claimant",
            "assignedGroup": {
                "displayName": "Auto1 - TeamA",
                "id": "demo_sample:31"
            },
            "assignedUser": {
                "displayName": "Andy Applegate",
                "id": "demo_sample:1"
            },

PolicyCenter:

{
    "count": 11,
        "data": [
            {
            "attributes": {
            "activityPattern": "uw_review_contingency",
            "activityType": {
                "code": "general",
                "name": "General"
            },
            "assignedByUser": {
                "displayName": "Alice Applegate",
                "id": "pc:105"
            },

BillingCenter:

{
    "count": 2,
    "data": [
        {
            "attributes": {
                "accountName": "Standard Account",
                "accountNumber": "Standard Account",
                "accountType": {
                    "code": "insured",
                    "name": "Insured"
                },
                "billDateOrDueDateBilling": {
                    "code": "BillDateBilling",
                    "name": "Bill Date"
                ...