Retrieves one 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. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| templateId | The template identifier for the template being retrieved | integer (int32) | Required |
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
TemplateResponse
| Property | Description | Type | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| commodity | CommodityChild | ||||||||||||||||||||||||||||
|
CommodityChild properties
|
|||||||||||||||||||||||||||||
| demandUnit | UnitChild | ||||||||||||||||||||||||||||
|
UnitChild properties
|
|||||||||||||||||||||||||||||
| note | string | ||||||||||||||||||||||||||||
| templateCode | string | ||||||||||||||||||||||||||||
| templateId | integer (int32) | ||||||||||||||||||||||||||||
| templateInfo | string | ||||||||||||||||||||||||||||
| useUnit | UnitChild | ||||||||||||||||||||||||||||
|
UnitChild properties
|
|||||||||||||||||||||||||||||
| versions | VersionChild[] | ||||||||||||||||||||||||||||
|
VersionChild properties
|
|||||||||||||||||||||||||||||
Example Response
{ "commodity": { "commodityCode": "string", "commodityIcon": { "code": "string", "color": "string"
}, "commodityId": 1, "commodityInfo": "string"
}, "demandUnit": { "unitCode": "string", "unitId": 1, "unitInfo": "string"
}, "note": "string", "templateCode": "string", "templateId": 1, "templateInfo": "string", "useUnit": { "unitCode": "string", "unitId": 1, "unitInfo": "string"
}, "versions": [
{ "beginDate": "2026-03-30", "endDate": "2026-03-30", "versionId": 1
}
]
}