POST
/
api2
/
v1
/
customFields
Create custom field
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v1/customFields \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "allowedEntities": [
    "PROJECT"
  ],
  "options": [
    "<string>"
  ],
  "type": "MULTI_SELECT",
  "required": true,
  "description": "<string>"
}'
{
  "uid": "<string>",
  "name": "<string>",
  "type": "MULTI_SELECT",
  "allowedEntities": [
    "PROJECT"
  ],
  "options": {
    "truncatedOptions": [
      {
        "uid": "<string>",
        "value": "<string>",
        "deprecated": true,
        "used": true
      }
    ],
    "remainingCount": 123
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": {
    "firstName": "<string>",
    "lastName": "<string>",
    "userName": "<string>",
    "email": "<string>",
    "role": "SYS_ADMIN",
    "id": "<string>",
    "uid": "<string>"
  },
  "lastModified": "2023-11-07T05:31:56Z",
  "lastModifiedBy": {
    "firstName": "<string>",
    "lastName": "<string>",
    "userName": "<string>",
    "email": "<string>",
    "role": "SYS_ADMIN",
    "id": "<string>",
    "uid": "<string>"
  },
  "requiredFrom": "2023-11-07T05:31:56Z",
  "required": true,
  "description": "<string>"
}

Body

application/json

Response

201
application/json

Created

The response is of type object.