Get Tags and Dietary Labels

post

/config/sim/v1/setup/getTags

Get Tags and Dietary Labels

Request

Supported Media Types
Body ()
Root Schema : schema
Type: object
Show Source
  • Default Value: 0
    A flag indicating a dietary label when set to 1. Permissible values are 0 and 1. It cannot be updated once set. Introduced in C&C API v23.7.
    Example: 1
  • Objects included in the response.
    Example: hierUnitId
  • This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except Ext values. If 'detailed' is specified, The response contains all the properties of the object.
    Example: detailed
  • If specified, limits the translated strings returned.
    Example: en-US, es-ES, es-MX
  • If using paging, number of results returned in this page.
    Example: 10
  • Starting resource record index. Not required if paging parameters are not supported.
    Example: 0
  • Sorts the response by the specified field name and sort order. Allowed values are hierUnitId, objectNum, name, tagGroupObjNum.
    Example: objectNum:asc
  • Search criteria to filter results based on field value. Allowed values are hierUnitId, objectNum, name, tagGroupObjNum.
    Example: where equals(objectNum,1)
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : TagsGetResponse
Type: object
Show Source
Nested Schema : items
Type: array
Array of Tag objects.
Show Source
Nested Schema : TagsGetResponseBody
Type: object
Model for Tag Object
Show Source
  • Default Value: 0
    A flag indicating a dietary label when set to 1. Permissible values are 0 and 1. It cannot be updated once set. Introduced in C&C API v23.7.
    Example: 1
  • Unique reference of the hierarchy unit where the Tag or the Dietary Label is configured. Only Enterprise hierUnitId is allowed.
    Example: 3599
  • Minimum Length: 1
    Maximum Length: 255
    A string representing the name of the Tag or a Dietary Label.
    Example: Tag
  • Object Number of a Tag or a Dietary Label.
    Example: 200
  • Object number of the Tag Group associated with the tag. It must not be included in the Insert request body and is ignored in the Update request body when dietaryLabel is set to 1.
    Example: 5
Back to Top