Get Tags and Dietary Labels
post
/config/sim/v1/setup/getTags
Get Tags and Dietary Labels
Request
Supported Media Types
- application/json
- multipart/form-data
Root Schema : schema
Type:
Show Source
object
-
dietaryLabel:
integer
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
-
include:
string
Objects included in the response.Example:
hierUnitId
-
includeAll:
string
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
-
languages:
string
If specified, limits the translated strings returned.Example:
en-US, es-ES, es-MX
-
limit:
integer
If using paging, number of results returned in this page.Example:
10
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supported.Example:
0
-
orderBy:
string
Sorts the response by the specified field name and sort order. Allowed values are hierUnitId, objectNum, name, tagGroupObjNum.Example:
objectNum:asc
-
searchCriteria:
string
Search criteria to filter results based on field value. Allowed values are hierUnitId, objectNum, name, tagGroupObjNum.Example:
where equals(objectNum,1)
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : TagsGetResponse
Type:
Show Source
object
-
count:
integer
Current response record count.Example:
1
-
hasMore:
boolean
Flag indicating if there are more objects to fetch.Example:
true
-
items:
array items
Array of Tag objects.
-
limit:
integer
Server page sizeExample:
10
-
offset:
integer
Starting resource record indexExample:
0
-
totalResults:
integer
Total number of rows (excluding the paging parameters)Example:
100
Nested Schema : items
Type:
array
Array of Tag objects.
Show Source
-
Array of:
object TagsGetResponseBody
Model for Tag Object
Nested Schema : TagsGetResponseBody
Type:
object
Model for Tag Object
Show Source
-
dietaryLabel:
integer
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
-
hierUnitId:
integer
Unique reference of the hierarchy unit where the Tag or the Dietary Label is configured. Only Enterprise hierUnitId is allowed.Example:
3599
-
name:
string
Minimum Length:
1
Maximum Length:255
A string representing the name of the Tag or a Dietary Label.Example:Tag
-
objectNum:
integer
Object Number of a Tag or a Dietary Label.Example:
200
-
tagGroupObjNum:
integer
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