Get Tags and Dietary Labels

post

/config/sim/v2/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
  • If specified, limits the data returned to these fields.
    Example: hierUnitId, objectNum, name
  • If this value is specified, the include parameter is ignored.
    Value Description
    basic Forces the response to include all fields except option string details
    detailed Forces the response to include all fields including option string details
    Example: detailed
  • If specified, limits translated strings returned
    Example: 1,2,3
  • If using paging, number of results returned in this page.
    Example: 100
  • 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: hierUnitId:asc
  • If specified, returns records that match the criteria. Allowed values are hierUnitId, objectNum, name, tagGroupObjNum.
    Example: where equals(hierUnitId, 7)
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
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