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
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
- 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 aapplegate (use su for BillingCenter) and password gw.
- 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"
...