Create Energy Agreement from Quote Action

Validate an accepted quote and queue a job to create an energy service agreement and related items for the quote’s recipients and service points.

This action is available in API version 68.0 and later.

Special Access Rules 

The Create Energy Agreement from Quote action is available in Enterprise and Unlimited Editions with Energy and Utilities Cloud.

Supported REST HTTP Methods 

URI: /services/data/v68.0/actions/standard/createEnergyAgreementFromQuote

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

Inputs 

InputTypeDescription
quoteIdstringRequired.
The ID of the quote to provision into an energy agreement.

Outputs 

OutputTypeDescription
jobTrackerIdstringThe ID of the async job tracker record for the queued provisioning job.

Example 

POST

This sample request is for the Create Energy Agreement from Quote action.

1{
2  "inputs": [
3    {
4      "quoteId": "0Q0000000000001AAA"
5    }
6  ]
7}

This sample response is for the Create Energy Agreement from Quote action.

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