Update Tags and Dietary Labels
post
/config/sim/v1/setup/updateTags
Update Tags and Dietary Labels
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Tags Update Request body
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
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit where the Tag or the Dietary Label is configured. Only Enterprise hierUnitId is allowed.Example:
3599
-
name(required):
string
Minimum Length:
1
Maximum Length:255
A string representing the name of the Tag or the Dietary Label.Example:Tag
-
objectNum(required):
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
Response
Supported Media Types
- application/json
200 Response
Tag object Updated or Added.
Root Schema : TagsResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique reference of the hierarchy unit where the Tag or the Dietary Label is configured. Only Enterprise hierUnitId is allowed.Example:
3599
-
objectNum:
integer
Object Number of a Tag or a Dietary Label.Example:
200