Tutorial: POSTing a typical draft claim for personal auto
This tutorial assumes you have completed the following prerequisite tutorials:
In this tutorial, you will create a draft claim for a personal auto policy using a typical amount of information needed. This claim is for Ray Newton, who has a personal auto policy that covers his Toyota Prius. On March 1, Ray hit a Honda Civic driven by Robert Farley. Both vehicles suffered minor damage.
- Start ClaimCenter.
- In Postman, start a new request by clicking the + to the right of the
Launchpad tab.
- On the Authorization tab, select Basic Auth using user su and password gw.
- Enter the following call, but do not click Send yet:
- POST
http://localhost:8080/cc/rest/claim/v1/claims
- POST
- Specify the request payload.
- In the first row of tabs (the one that starts with Params), click Body.
- In the row of radio buttons, select raw.
- At the end of the row of radio buttons, change the drop-down list value from Text to JSON.
- Paste the text in the Sample draft claim payload addendum into the text field underneath the radio buttons. If necessary, modify the
payload's
lossDateto ensure the loss occurred while the policy from the previous tutorial is in force, but not in the future.
- Click Send.
- The response payload includes the claim's ID and claim number. Copy both of these values to a separate location, as they are needed for later tutorials.
Checking your work
- View the new draft claim in ClaimCenter.
- In the response payload, note the claim number of the new draft claim. (It is on or near line 8, and it likely starts with "999-99".)
- Log on to ClaimCenter as
su. - Click the Claim tab, enter the claim number in the Claim # menu item, and press Enter.
ClaimCenter navigates to the draft claim. Because the claim has minimal information only,
ClaimCenter navigates to the Basic Info step of the New
Claim Wizard. The policy number and loss date are listed in the Info Bar.
(Policy number is labeled Pol, and loss date is labeled
DoL.) The policy number and loss date should match the data in the
POST /claims request payload.
Note that, in the base configuration, the New Claim Wizard does not display claim numbers while the claim is in a draft state.