POST EventItems

Request Information

URI Parameters

None.

Body Parameters

EventItemDto
NameDescriptionTypeAdditional information
EventItemId

integer

None.

EventId

integer

None.

DateCreated

date

None.

DateChanged

date

None.

ItemNum

integer

None.

UnitPrice

decimal number

None.

BasePrice

decimal number

None.

FlatFee

decimal number

None.

Descr

string

None.

AttendeesForItem

integer

None.

Taxable

boolean

None.

IsPublic

boolean

None.

IsSponsorShip

boolean

None.

MaxItemsAvail

integer

None.

LimitPerRegistration

integer

None.

InvoiceDateDue

date

None.

SurveyId

integer

None.

AttachSurveyTo

integer

None.

MembersOnly

boolean

None.

RestrictForAffiliations

boolean

None.

Expires

boolean

None.

StartDate

date

None.

EndDate

date

None.

ShowAsTeaserifRestricted

boolean

None.

TeaserMessage

string

None.

RestrictedMessage

string

None.

MemberPrice

decimal number

None.

NonMemberPrice

decimal number

None.

AllowRelateProfileMemberPrice

boolean

None.

HasSale

boolean

None.

SaleStartDate

date

None.

SaleEndDate

date

None.

DisplayOrder

integer

None.

HasMemberPricing

boolean

None.

PaymentTypeId

integer

None.

StartTime

string

None.

EndTime

string

None.

EventItemTypeId

integer

None.

CreateSponsorIfSponsorType

boolean

None.

ShowForEligibleUsersOnly

boolean

None.

Sold

decimal number

None.

Remaining

decimal number

None.

AmountInvoiced

decimal number

None.

AmountPaid

decimal number

None.

AmountDue

decimal number

None.

LongDescription

string

None.

AffCodeRestrictions

Collection of EventItemAffCodeDto

None.

CreditTypes

Collection of EventItemCreditTypeDto

None.

CustomFields

Collection of EventItemCustomFieldDto

None.

ObjectState

ObjectStateEnum

None.

Request Formats

application/json, text/json

Sample:
{
  • "EventItemId": 1,
  • "EventId": 2,
  • "DateCreated": "2024-12-03T17:46:23.4155674Z",
  • "DateChanged": "2024-12-03T17:46:23.4155674Z",
  • "ItemNum": 5,
  • "UnitPrice": 6.1,
  • "BasePrice": 7.1,
  • "FlatFee": 8.1,
  • "Descr": "sample string 9",
  • "AttendeesForItem": 10,
  • "Taxable": true,
  • "IsPublic": true,
  • "IsSponsorShip": true,
  • "MaxItemsAvail": 14,
  • "LimitPerRegistration": 15,
  • "InvoiceDateDue": "2024-12-03T17:46:23.4155674Z",
  • "SurveyId": 17,
  • "AttachSurveyTo": 18,
  • "MembersOnly": true,
  • "RestrictForAffiliations": true,
  • "Expires": true,
  • "StartDate": "2024-12-03T17:46:23.4155674Z",
  • "EndDate": "2024-12-03T17:46:23.4155674Z",
  • "ShowAsTeaserifRestricted": true,
  • "TeaserMessage": "sample string 25",
  • "RestrictedMessage": "sample string 26",
  • "MemberPrice": 27.1,
  • "NonMemberPrice": 28.1,
  • "AllowRelateProfileMemberPrice": true,
  • "HasSale": true,
  • "SaleStartDate": "2024-12-03T17:46:23.4155674Z",
  • "SaleEndDate": "2024-12-03T17:46:23.4155674Z",
  • "DisplayOrder": 33,
  • "HasMemberPricing": true,
  • "PaymentTypeId": 35,
  • "StartTime": "sample string 36",
  • "EndTime": "sample string 37",
  • "EventItemTypeId": 1,
  • "CreateSponsorIfSponsorType": true,
  • "ShowForEligibleUsersOnly": true,
  • "Sold": 40.1,
  • "Remaining": 41.1,
  • "AmountInvoiced": 42.1,
  • "AmountPaid": 43.1,
  • "AmountDue": 44.1,
  • "LongDescription": "sample string 45",
  • "AffCodeRestrictions": [
      {
      • "Id": 1,
      • "EventItemId": 2,
      • "AffCode": "sample string 3",
      • "ObjectState": 0
      },
      {
      • "Id": 1,
      • "EventItemId": 2,
      • "AffCode": "sample string 3",
      • "ObjectState": 0
      }
    ],
  • "CreditTypes": [
      {
      • "EventPriceCreditTypeId": 1,
      • "CreditTypeId": 2,
      • "EventItemId": 3,
      • "Credits": 4.1,
      • "CreditType": "sample string 5",
      • "ObjectState": 0
      },
      {
      • "EventPriceCreditTypeId": 1,
      • "CreditTypeId": 2,
      • "EventItemId": 3,
      • "Credits": 4.1,
      • "CreditType": "sample string 5",
      • "ObjectState": 0
      }
    ],
  • "CustomFields": [
      {
      • "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
              }
            ],
          • "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
              }
            ],
          • "TaxAmount": 9.1,
          • "ObjectState": 0
          }
        ],
      • "ObjectState": 0
      }
    ],
  • "ObjectState": 0
}

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
  • 1