HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions
These docs are for v20.3.44. Click to read the latest docs for v20.3.192.

Discussions

Ask a Question
Back to All

Adding Registration Option to Event in /api/Event

I am sending a POST/PUT call to api/Event with a registration option but the registration option does not show in iMIS. I placed my JSON body below. Using iMIS version 20.3.121.27.

{
"$type": "Asi.Soa.Events.DataContracts.EventData, Asi.Contracts",
"StartDateTime": "2022-09-27T16:00:00",
"EndDateTime": "2022-09-27T19:00:00",
"Location": {
"$type": "Asi.Soa.Membership.DataContracts.LocationPartyAddressData, Asi.Contracts",
"Name": ""
},
"Capacity": 0,
"AdditionalDescription": "",
"Functions": {
"$type": "Asi.Soa.Events.DataContracts.EventFunctionDataCollection, Asi.Contracts",
"$values": []
},
"RegistrationOptions": {
"$type": "Asi.Soa.Events.DataContracts.OptionEventFunctionDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Events.DataContracts.OptionEventFunctionData, Asi.Contracts",
"RelatedFunctions": {
"$type": "Asi.Soa.Events.DataContracts.EventRelatedFunctionDataCollection, Asi.Contracts",
"$values": []
},
"AvailableTo": 1,
"EventFunctionId": "EVENT05/REGITEM01",
"EventFunctionCode": "REGITEM01",
"Name": "Registration Option 1",
"Description": "",
"IsEventRegistrationOption": true,
"RegistrationType": 3,
"Category": {
"$type": "Asi.Soa.Events.DataContracts.EventFunctionCategoryData, Asi.Contracts",
"EventFunctionCategoryId": "REG",
"Name": "REG"
},
"Status": "",
"SortOrder": 0,
"StartDateTime": "2022-09-27T00:00:00",
"Capacity": 0,
"MaximumQuantityPerRegistrant": 1,
"Item": {
"$type": "Asi.Soa.Commerce.DataContracts.ItemSummaryData, Asi.Contracts",
"Description": "",
"ItemClass": {
"$type": "Asi.Soa.Commerce.DataContracts.ItemClassSummaryData, Asi.Contracts",
"ItemClassId": "MEETING",
"Name": "MEETING"
},
"ItemCode": "EVENT05/REGITEM01",
"ItemId": "EVENT05/REGITEM01",
"Name": "Registration Option 1"
},
"ProgramGroups": {
"$type": "Asi.Soa.Events.DataContracts.ProgramGroupDataCollectionCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Events.DataContracts.ProgramGroupDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Events.DataContracts.ProgramGroupData, Asi.Contracts",
"ProgramGroupId": "Day/2022-09-27",
"Name": "Tuesday, 27 September 2022",
"Sort": "2022-09-27"
}
]
},
{
"$type": "Asi.Soa.Events.DataContracts.ProgramGroupDataCollection, Asi.Contracts",
"$values": []
},
{
"$type": "Asi.Soa.Events.DataContracts.ProgramGroupDataCollection, Asi.Contracts",
"$values": []
}
]
},
"ConflictCodes": {
"$type": "System.Collections.ObjectModel.Collection1[[System.String, mscorlib]], mscorlib", "$values": [] }, "EventFormSectionId": "", "FinancialEntityId": "", "ContinuingEducationCreditInformation": { "$type": "Asi.Soa.Events.DataContracts.ContinuingEducationCreditInformationDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Events.DataContracts.ContinuingEducationCreditInformationData, Asi.Contracts", "CreditType": "" } ] }, "MinimumAttendance": 0, "ExpectedAttendance": 0, "GuaranteedAttendance": 0, "ActualAttendance": 0, "Settings": 0, "AdditionalAttributes": { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts", "Name": "WebEnabled", "Value": { "$type": "System.Boolean", "$value": true } } ] } } ] }, "RegistrationClosedMessage": "Registration is closed.", "ProgramGroupInfo": { "$type": "Asi.Soa.Events.DataContracts.ProgramGroupInfoDataCollection, Asi.Contracts", "$values": [ { "$type": "Asi.Soa.Events.DataContracts.ProgramGroupInfoData, Asi.Contracts", "ProgramGroupInfoId": "Day", "Name": "Day", "ProgramGroups": { "$type": "Asi.Soa.Events.DataContracts.ProgramGroupDataCollection, Asi.Contracts", "$values": [] } }, { "$type": "Asi.Soa.Events.DataContracts.ProgramGroupInfoData, Asi.Contracts", "ProgramGroupInfoId": "Category", "Name": "Category", "AllowFreeFormValues": true, "ProgramGroups": { "$type": "Asi.Soa.Events.DataContracts.ProgramGroupDataCollection, Asi.Contracts", "$values": [] } }, { "$type": "Asi.Soa.Events.DataContracts.ProgramGroupInfoData, Asi.Contracts", "ProgramGroupInfoId": "Track", "Name": "Track", "AllowFreeFormValues": true, "ProgramGroups": { "$type": "Asi.Soa.Events.DataContracts.ProgramGroupDataCollection, Asi.Contracts", "$values": [] } } ] }, "EventFormId": "", "EventFormSectionId": "", "PublishingInformation": { "$type": "Asi.Soa.Core.DataContracts.PublishingInformationData, Asi.Contracts", "StartDate": null, "ExpirationDate": null, "Keywords": { "$type": "System.Collections.ObjectModel.Collection1[[System.String, mscorlib]], mscorlib",
"$values": []
},
"PublishingState": 0
},
"FinancialEntityId": "",
"NotificationPartyId": "",
"TimeZoneId": "Eastern Standard Time",
"VirtualMeetingUrl": "",
"EventId": "EVENT05",
"EventCode": "EVENT05",
"Name": "Event Series 1",
"Description": "Event Series Description",
"RegistrationType": 3,
"Category": {
"$type": "Asi.Soa.Events.DataContracts.EventCategoryData, Asi.Contracts",
"EventCategoryId": ""
},
"ParentIdentity": {
"$type": "Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts",
"EntityTypeName": "Public",
"IdentityElements": {
"$type": "System.Collections.ObjectModel.Collection`1[[System.String, mscorlib]], mscorlib",
"$values": [
"Public Groups"
]
}
},
"Status": "A",
"DisplayLayouts": {
"$type": "Asi.Soa.Core.DataContracts.DisplayLayoutDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.DisplayLayoutData, Asi.Contracts",
"LayoutDirectory": "~/EventDetail"
},
{
"$type": "Asi.Soa.Core.DataContracts.DisplayLayoutData, Asi.Contracts",
"LayoutType": 1,
"LayoutDirectory": "~/EventDashboard"
}
]
},
"AdditionalAttributes": {
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "fullAddressAttribute",
"Value": {
"$type": "Asi.Soa.Membership.DataContracts.FullAddressData, Asi.Contracts",
"Address": {
"$type": "Asi.Soa.Membership.DataContracts.AddressData, Asi.Contracts",
"AddressLines": {
"$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts",
"$values": [
"",
"",
""
]
},
"CityName": "",
"CountryCode": "",
"CountrySubEntityCode": "",
"FullAddress": "",
"PostalCode": ""
},
"CommunicationPreferences": {
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "mail"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "bill"
},
{
"$type": "Asi.Soa.Membership.DataContracts.CommunicationPreferenceData, Asi.Contracts",
"Reason": "ship"
}
]
},
"DisplayName": ""
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "WebEnabled",
"Value": {
"$type": "System.Boolean",
"$value": true
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro1",
"Value": "a"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro2",
"Value": ""
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro3",
"Value": ""
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro4",
"Value": ""
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro5",
"Value": ""
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro6",
"Value": ""
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro7",
"Value": ""
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro8",
"Value": "b"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro9",
"Value": ""
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "MUFPro10",
"Value": "c"
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "TAX_AUTHORITY",
"Value": ""
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "TAX_BY_ADDRESS",
"Value": {
"$type": "System.Boolean",
"$value": false
}
},
{
"$type": "Asi.Soa.Core.DataContracts.GenericPropertyData, Asi.Contracts",
"Name": "VAT_RULE",
"Value": ""
}
]
}
}

Contact us
Copyright © Advanced Solutions International, All rights reserved.