Create a new Schema Attribute for Non-Employee Source
POST {{baseUrl}}/non-employee-sources/:sourceId/schema-attributes
This API creates a new schema attribute for Non-Employee Source. The schema technical name must be unique in the source. Attempts to create a schema attribute with an existing name will result in a 400.1.409 Reference conflict
response. At most, 10 custom attributes can be created per schema. Attempts to create more than 10 will result in a 400.1.4 Limit violation
response.
Requires role context of idn:nesr:create
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"type": "TEXT",
"technicalName": "account.name",
"label": "Account Name",
"id": "ac110005-7156-1150-8171-5b292e3e0084",
"system": true,
"modified": "2019-08-23T18:52:59.162Z",
"created": "2019-08-23T18:40:35.772Z",
"helpText": "The unique identifier for the account",
"placeholder": "Enter a unique user name for this account.",
"required": true
} |
ENDPOINTS