Assigns a new bill entry template to an account-meter relationship
Use this endpoint to assign a new template that defines the expected line item structure for bills entered against this
account-meter. The first template’s begin date must equal the account-meter’s begin date. Subsequent templates must have
a begin date after all existing template assignments. Templates define what line items appear during bill entry.
To replace all template assignments at once, use PUT /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 to assign the template to | integer (int32) | Required |
Request Body
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
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.