POST Event/{id}/CustomFields
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
EventItemCustomFieldDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
EventId | integer |
None. |
|
EventItemIds | Collection of integer |
None. |
|
DataType | string |
None. |
|
UiControlType | string |
None. |
|
FieldName | string |
None. |
|
StaffOnly | boolean |
None. |
|
DisplayOrder | integer |
None. |
|
Visible | integer |
None. |
|
Required | integer |
None. |
|
EventItemId | integer |
None. |
|
Descr | string |
None. |
|
UnitsAvail | integer |
None. |
|
ItemNum | integer |
None. |
|
PaymentTypeID | integer |
None. |
|
AvailableValues | Collection of EventItemCustomFieldAvailValueDto |
None. |
|
ObjectState | ObjectStateEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
{"TaxAmount": 9.1, "ObjectState": 0 }],"ObjectState": 0 }
- "Id": 1,
- "EventId": 2,
- "EventItemIds": [
- 1,
- 2
- "DataType": "sample string 3",
- "UiControlType": "sample string 4",
- "FieldName": "sample string 5",
- "StaffOnly": true,
- "DisplayOrder": 7,
- "Visible": 8,
- "Required": 9,
- "EventItemId": 10,
- "Descr": "sample string 11",
- "UnitsAvail": 12,
- "ItemNum": 13,
- "PaymentTypeID": 14,
- "AvailableValues": [
- {
- "Id": 1,
- "EventCustomRegFieldId": 2,
- "Value": "sample string 3",
- "Descr": "sample string 4",
- "Amount": 5.1,
- "UnitsAvailable": 6,
- "UnitsTaken": 7,
- "DisplayOrder": 8,
- "CreditTypes": [
- {
- "Id": 1,
- "EventCustomRegFieldAvailValuesId": 2,
- "CeCreditTypeId": 3,
- "Credits": 4.1,
- "IrsProgramNumber": "sample string 5",
- "ObjectState": 0
- "Id": 1,
- "EventCustomRegFieldAvailValuesId": 2,
- "CeCreditTypeId": 3,
- "Credits": 4.1,
- "IrsProgramNumber": "sample string 5",
- "ObjectState": 0
{ - "TaxAmount": 9.1,
- "ObjectState": 0
{
- "Id": 1,
- "EventCustomRegFieldId": 2,
- "Value": "sample string 3",
- "Descr": "sample string 4",
- "Amount": 5.1,
- "UnitsAvailable": 6,
- "UnitsTaken": 7,
- "DisplayOrder": 8,
- "CreditTypes": [
- {
- "Id": 1,
- "EventCustomRegFieldAvailValuesId": 2,
- "CeCreditTypeId": 3,
- "Credits": 4.1,
- "IrsProgramNumber": "sample string 5",
- "ObjectState": 0
- "Id": 1,
- "EventCustomRegFieldAvailValuesId": 2,
- "CeCreditTypeId": 3,
- "Credits": 4.1,
- "IrsProgramNumber": "sample string 5",
- "ObjectState": 0
{
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1