Create Contracts in Billing System Action

Create contracts in an external billing system for multiple energy service agreements in a single batch operation.

This action is available in API version 60.0 and later.

Special Access Rules

The Create Contracts in Billing System action is available in Enterprise and Unlimited Editions with Energy and Utilities Cloud. The org must have an external billing system integration configured.

Supported REST HTTP Methods

URI
/services/data/v60.0/actions/standard/createContractsInBillingSystem
Formats
JSON, XML
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
energyServiceAgreementIds
Type
string array[]
Description

Required.

IDs of the energy service agreements for which contracts are created in the external billing system. Maximum of 50 items.

Outputs

Output Details
isSuccess
Type
boolean
Description
Indicates whether all contracts were successfully created in the external billing system.

Example

POST

This sample request is for the Create Contracts in Billing System action.

1{
2  "inputs": [
3    {
4      "energyServiceAgreementIds": [
5        "a0Bxx0000004CmqAAE",
6        "a0Bxx0000004CmrAAE"
7      ]
8    }
9  ]
10}

This sample response is for the Create Contracts in Billing System action.

1[
2  {
3    "actionName": "createContractsInBillingSystem",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outputValues": {
8      "isSuccess": true
9    },
10    "sortOrder": -1,
11    "version": 1
12  }
13]