Text Enumeration
identifier
successful operation
Enumeration value.
active
trueVisible.
trueResource was not found
Resource was not valid to process
PUT /cmn/masterdata/text-enums/{id}/deactivate HTTP/1.1
Host: api.example.com
Accept: */*
{
"label": "text",
"active": true,
"visible": true,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"valueNode": true,
"container": true,
"integralNumber": true,
"binary": true,
"nodeType": "ARRAY",
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"floatingPointNumber": true,
"number": true,
"embeddedValue": true
}
}identifier
successful operation
Enumeration value.
active
trueVisible.
trueResource was not found
Resource was not valid to process
PUT /cmn/masterdata/text-enums/{id}/activate HTTP/1.1
Host: api.example.com
Accept: */*
{
"label": "text",
"active": true,
"visible": true,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"valueNode": true,
"container": true,
"integralNumber": true,
"binary": true,
"nodeType": "ARRAY",
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"floatingPointNumber": true,
"number": true,
"embeddedValue": true
}
}successful operation
Enumeration value.
active
trueVisible.
trueUnique identifier.
Text enumeration group.
System presetting.
Resource with given ID was not found
GET /cmn/masterdata/text-enums/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
"label": "text",
"active": true,
"visible": true,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"valueNode": true,
"container": true,
"integralNumber": true,
"binary": true,
"nodeType": "ARRAY",
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"floatingPointNumber": true,
"number": true,
"embeddedValue": true
},
"id": 1,
"groupKey": "text",
"systemPresetting": true
}Enumeration value.
active
trueVisible.
truesuccessful operation
Enumeration value.
active
trueVisible.
trueUnique identifier.
Text enumeration group.
System presetting.
Resource with given ID was not found
PUT /cmn/masterdata/text-enums/{id} HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 404
{
"label": "text",
"visible": true,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"valueNode": true,
"container": true,
"integralNumber": true,
"binary": true,
"nodeType": "ARRAY",
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"floatingPointNumber": true,
"number": true,
"embeddedValue": true
}
}{
"label": "text",
"active": true,
"visible": true,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"valueNode": true,
"container": true,
"integralNumber": true,
"binary": true,
"nodeType": "ARRAY",
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"floatingPointNumber": true,
"number": true,
"embeddedValue": true
},
"id": 1,
"groupKey": "text",
"systemPresetting": true
}successful operation
No content
Resource with given ID was not found
Resource is not deletable
DELETE /cmn/masterdata/text-enums/{id} HTTP/1.1
Host: api.example.com
Accept: */*
No content
Enumeration value.
active
trueVisible.
trueText enumeration group.
successful operation
Enumeration value.
active
trueVisible.
trueUnique identifier.
Text enumeration group.
System presetting.
Resource was unable to create
POST /cmn/masterdata/text-enums HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 422
{
"label": "text",
"visible": true,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"valueNode": true,
"container": true,
"integralNumber": true,
"binary": true,
"nodeType": "ARRAY",
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"floatingPointNumber": true,
"number": true,
"embeddedValue": true
},
"groupKey": "text"
}{
"label": "text",
"active": true,
"visible": true,
"custom": {
"empty": true,
"array": true,
"null": true,
"object": true,
"float": true,
"missingNode": true,
"valueNode": true,
"container": true,
"integralNumber": true,
"binary": true,
"nodeType": "ARRAY",
"string": true,
"pojo": true,
"short": true,
"int": true,
"long": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"boolean": true,
"floatingPointNumber": true,
"number": true,
"embeddedValue": true
},
"id": 1,
"groupKey": "text",
"systemPresetting": true
}Last updated
Was this helpful?