# Miscellaneous
The Miscellaneous endpoints allows you to get general information about the status of the API and the PIM installation as well as the ability to manage objects which are shared between entities in Struct PIM.
GET /Heartbeat Get an indication if the API is alive
Returns "Is alive", if API is running correctly
Response status OK (200)
GET /misc/archivereasons Get all archive reasons
#Available from v.3.3.0
[
{
"Uid": "626138b9-4c43-4758-a9a1-8330174ed648",
"Name": "Outdated"
},
{
"Uid": "b90fb6e0-3ecd-4bf0-8429-06fd73b7431a",
"Name": "Irrellevant"
}
]
Response status OK (200)
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of archive reason |
Name | string |
Presented name of archive reason |
PUT /misc/archivereasons Update archive reason
#Available from v.3.3.0
{
"Uid": "06283f58-80b9-4ff2-af49-f280491ad75a",
"Name": "Outdated"
}
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
model | body | object : ArchiveReason |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of archive reason |
Name | string |
Presented name of archive reason |
Response status OK (200)
POST /misc/archivereasons Create new archive reason
#Available from v.3.3.0
{
"Uid": "d86ee9a9-35c6-493b-b592-abf78d82636b",
"Name": "Outdated"
}
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
model | body | object : ArchiveReason |
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of archive reason |
Name | string |
Presented name of archive reason |
Response status OK (200)
GET /misc/archivereasons/{uid} Get an archive reason
#Available from v.3.3.0
{
"Uid": "58f578cf-cc5b-4c45-9f12-716b7602d2f3",
"Name": "Outdated"
}
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
uid | path | string |
Id of archive reason |
Response status OK (200)
Property name | Data type | Description |
---|---|---|
Uid | string |
Unique id of archive reason |
Name | string |
Presented name of archive reason |
DELETE /misc/archivereasons/{uid} Delete an archive reason
#Available from v.3.3.0
Request parameters
Property name | Parameter type | Data type | Description |
---|---|---|---|
uid | path | string |
Id of archive reason |
Response status OK (200)
GET /misc/models Get model definitions for products, variants, categories and global lists
#Available from v.3.2.0 Get complete the model descriptions for products, variants and categories, usable for migration tools, Model classes scaffolding etc.
Response status OK (200)
Property name | Data type | Description |
---|---|---|
ProductModels | array : ProductModelSetup | |
VariantModels | array : VariantModelSetup | |
CategoryModels | array : CategoryModelSetup | |
VariantGroupModels | array : VariantGroupModelSetup | |
GlobalListModels | array : AttributeModel | |
CategoryAttributeModels | array : AttributeModel |
Property name | Data type | Description |
---|---|---|
Alias | string | |
Properties | array : AttributeModel |
Property name | Data type | Description |
---|---|---|
Alias | string | |
DataType | string | |
Localized | boolean | |
IsMultiValue | boolean | |
DimensionSpecific | boolean | |
ReferencedAttribute | string | |
Properties | array : AttributeModel | |
Name | string | |
Description | string |
Property name | Data type | Description |
---|---|---|
Alias | string | |
Properties | array : AttributeModel |
Property name | Data type | Description |
---|---|---|
Alias | string | |
Properties | array : AttributeModel |
Property name | Data type | Description |
---|---|---|
Alias | string | |
Properties | array : AttributeModel |