Replaces all bill entry template assignments on an account-meter relationship
Use this endpoint to replace the entire template assignment history for an account-meter relationship in a single
operation. All existing template assignments are removed and replaced with the provided list. The list must contain
at least one template. The earliest template’s begin date must equal the account-meter’s begin date.
No two templates may share the same begin date.
To add a single new template without replacing existing ones, use POST /accountmeter/{accountMeterId}/template.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| accountMeterId | The unique numeric identifier of the account-meter relationship whose templates are being replaced | integer (int32) | Required |
Request Body
Array of:
FormTemplateRequest
| Property | Description | Type |
|---|---|---|
| beginDate | The begin date of the template assignment Required Required | string (date-time) |
| templateId | The identifier for the template being assigned Required Required | integer (int32) |
Example Request Body
[
{ "beginDate": "2026-06-29", "templateId": 1
}
]
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
Array of:
FormTemplateResponse
| Property | Description | Type | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| beginDate | The begin date of the template assignment Required (defined) | string (date-time) | ||||||||||||
| displayOrder | The display order for the bill entry screen Required (defined) | integer (int32) | ||||||||||||
| endDate | The end date of the template assignment Required (defined) | string (date-time) | ||||||||||||
| formTemplateId | The identifier for the template assignment Required (defined) | integer (int32) | ||||||||||||
| template | TemplateChild | |||||||||||||
|
TemplateChild properties
|
||||||||||||||
Example Response
[
{ "beginDate": "2026-06-29", "displayOrder": 1, "endDate": "2026-06-29", "formTemplateId": 1, "template": { "templateCode": "string", "templateId": 1, "templateInfo": "string"
}
}
]
400
Bad Request
The request was malformed or contains invalid parameters. Check the request body and query parameters.
404
Not Found
The requested resource was not found. Verify the ID or path is correct.