POST Profile/CustomField

Posts a new CustomField

Request Information

URI Parameters

None.

Body Parameters

The CustomField to be created

CustomFieldDto
NameDescriptionTypeAdditional information
CustomFieldID

integer

None.

Name

string

None.

Descr

string

None.

DisplayType

string

None.

DataType

string

None.

DateCreated

date

None.

DateChanged

date

None.

ChangedBy

string

None.

AvailableOnWebsite

integer

None.

IsPublic

boolean

None.

AvailableOnWebsiteBool

boolean

None.

CustomFieldValues

Collection of CustomFieldValueDto

None.

Request Formats

application/json, text/json

Sample:
{
  • "CustomFieldID": 1,
  • "Name": "sample string 2",
  • "Descr": "sample string 3",
  • "DisplayType": "sample string 4",
  • "DataType": "sample string 5",
  • "DateCreated": "2024-05-16T19:05:56.8860028Z",
  • "DateChanged": "2024-05-16T19:05:56.8860028Z",
  • "ChangedBy": "sample string 8",
  • "AvailableOnWebsite": 9,
  • "IsPublic": true,
  • "AvailableOnWebsiteBool": true,
  • "CustomFieldValues": [
      {
      • "CustomFieldValueID": 1,
      • "CustomFieldID": 2,
      • "FieldValue": "sample string 3"
      },
      {
      • "CustomFieldValueID": 1,
      • "CustomFieldID": 2,
      • "FieldValue": "sample string 3"
      }
    ]
}

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
  • 1