Skip to main content

createCustomFieldDefinition

This method creates a custom field definition.

Parameters

Parameter

Type

Optional

Description

name

String

No

The name of the custom field.

Return value

This method returns a String: the ID of the newly-created custom field.

Example

Request:

  {
       "params": {
           "name": "referenceID"
       },
       "jsonrpc": "2.0",
       "method": "createCustomFieldDefinition",
       "id": "e249c22c-0ada-4772-a9f1-ee1cbb322588"
  }  

Response:

  {
      "id":"e249c22c-0ada-4772-a9f1-ee1cbb322588",
      "jsonrpc":"2.0",
      "result": "5493dcd2b1a43df00b7b23c6"
  }