Country

Use the country codes to specify the countries in which your utility operates. You can specify one or more countries.

The country US, and all associated states, are delivered with the solution.

The table below provides additional details on the tasks you need to complete.

Task Configuration Comments
Add all needed country records

POST /api/CXIPlatformService/v1/CXIReferenceEntity/country

Example:

POST https://<hostname>/api/CXIPlatformService/v1/CXIReferenceEntity/country

{

"items": [

{

"operation": "create",

"data": {

"id": "UK",

"faValue": "UK",

"cisValue": "United Kingdom"

}

}

Oracle recommends using the same value for 'id' and 'faValue' in the request.

Multiple country records can be added together by adding them to the "items" list in the request.

Edit a country record

POST /CXIPlatformService/v1/CXIReferenceEntity/country

Example:

POST https://<hostname>/api/CXIPlatformService/v1/CXIReferenceEntity/country

{

"items": [

{

"operation": "update",

"data": {

"id": "UK",

"faValue": "UK",

"cisValue": "United Kingdom"

}

}
Multiple country records can be added at the same time by adding them to the "items" list in the request.
Delete a country record

POST /CXIPlatformService/v1/CXIReferenceEntity/country

Example:

POST https://<hostname>/api/CXIPlatformService/v1/CXIReferenceEntity/country

{

"items": [

{

"operation": "delete",

"data": {

"id": "UK"

}

}
Multiple country records can be deleted at the same time by adding them to the "items" list in the request.
Fetch country records

GET /utilitiesAdmin/v1/country

Example:

GET https://<hostname>/api/utilitiesAdmin/v1/country

A specific country record can be fetched using:

GET /utilitiesAdmin/v1/country/{id}

Example:

GET https://<hostname>/api/utilitiesAdmin/v1/country/US