Editing the published semantic type using the API
You need to create a sandbox for the semantic type you want to
edit.
Procedure
Results
The response includes the semantic type details in JSON format, with a state field with the value SANDBOX.
{
"id": "5f80848e51b6b16703a4318d",
"name": "CODICE_FISCALE_CREATED_VIA_API",
"label": "Codice Fiscale (created via API)",
"type": "REGEX",
"creator": "6be3b335-05c9-4a3b-92d6-c5821f398bac",
"createdAt": 1602258062631,
"regEx": {
"mainCategory": "AlphaNumeric",
"validator": {
"patternString": "^[A-Z]{6}[0-9]{2}[A-Z][0-9]{2}[A-Z][0-9]{3}[A-Z]$",
"caseInsensitive": true,
"re2jCompliant": true,
"generexCompliant": true
}
},
"modifiedAt": 1602262635946,
"lastModifier": "6be3b335-05c9-4a3b-92d6-c5821f398bac",
"completeness": false,
"publishedAt": 1602261762924,
"lastPublisher": "6be3b335-05c9-4a3b-92d6-c5821f398bac",
"state": "SANDBOX"
}