Get Template Catalog details

Prev Next
Get
/templates/{id}/

Operation is used to retrieve full details of given Template Catalog by id.

Security
API Key: Token
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Template Catalog

Responses
200

Template Catalog

{
  "contentType": {
    "id": 161,
    "identifier": "addressdefaults",
    "instanceAPIUrl": null,
    "name": "Address defaults",
    "objectTypesUrl": "https://example.keypro.fi/api/v2/object-types/"
  },
  "createdBy": "test.creator",
  "createdTs": "19.03.2025",
  "id": 836,
  "isActive": true,
  "name": "My Test Template",
  "template": [
    {
      "diameter": "200 mm",
      "material": "plastic"
    }
  ],
  "templateJsonLabel": [
    {
      "diameter": "200 mm",
      "material": "plastic"
    }
  ],
  "updatedBy": "test.updater",
  "updatedTs": "19.03.2025"
}
Expand All
object

Template Catalog

contentType
integer

Reference to content type

createdBy
string

User who created the template catalog

createdTs
string (date-time)

Created date and time

id
integer

Unique id of template catalog

isActive
boolean

Whether the template catalog is active

Defaulttrue
listUrl
string

URL to the template catalog list

name
string

Catalog name

template
object

Template data stored as JSON

templateJsonLabel
object

Template JSON labels

updatedBy
string

User who updated the template catalog

updatedTs
string (date-time)

Last updated date and time

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error

404

Object was not found

{
  "details": "Not found."
}
object
details
string

Detailed description of error