POST api/exhibitor/post
Insert or update exhibitor.
Request Information
URI Parameters
None.
Body Parameters
The exhibitor list.
Collection of ApiExhibitorName | Description | Type | Additional information |
---|---|---|---|
Id |
The exhibitor id, when is new id = 0. |
integer |
Required |
ExhibitorCode |
Your unique exhibitorcode |
string |
Required |
CustomerCode |
Your internal customercode |
string |
None. |
Company |
The name of the company. |
string |
None. |
Street |
The streetname + housenumber. |
string |
None. |
PostalCode | string |
None. |
|
Town | string |
None. |
|
CountryCode | string | ||
LanguageCode | string | ||
Fax | string |
None. |
|
Crn |
The Company Registration Number |
string |
None. |
Contacts | Collection of ApiExhibitorContact |
None. |
|
StandDetails | ApiStandDetails |
None. |
|
AccountSettings | ApiAccountSettings |
None. |
|
Groups |
The exhibitor groups ids |
Collection of integer |
None. |
RemoveAllGroups |
Remove all groups from the exhibitor |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "ExhibitorCode": "sample string 2", "CustomerCode": "sample string 3", "Company": "sample string 4", "Street": "sample string 5", "PostalCode": "sample string 6", "Town": "sample string 7", "CountryCode": "sample string 8", "LanguageCode": "sample string 9", "Fax": "sample string 10", "Crn": "sample string 11", "Contacts": [ { "ContactType": "general", "Gender": "male", "Name": "sample string 1", "Email": "sample string 2", "Phone": "sample string 3", "UserName": "sample string 4" }, { "ContactType": "general", "Gender": "male", "Name": "sample string 1", "Email": "sample string 2", "Phone": "sample string 3", "UserName": "sample string 4" } ], "StandDetails": { "HallNumber": "sample string 1", "StandNumber": "sample string 2", "StandName": "sample string 3", "StandType": "NotSpecified", "Width": 1.1, "Length": 1.1, "StandSurface": 1.1 }, "AccountSettings": { "SendEReminder": true, "ManualAccess": true, "DemoMode": true, "UserName": "sample string 4" }, "Groups": [ 1, 2 ], "RemoveAllGroups": true }, { "Id": 1, "ExhibitorCode": "sample string 2", "CustomerCode": "sample string 3", "Company": "sample string 4", "Street": "sample string 5", "PostalCode": "sample string 6", "Town": "sample string 7", "CountryCode": "sample string 8", "LanguageCode": "sample string 9", "Fax": "sample string 10", "Crn": "sample string 11", "Contacts": [ { "ContactType": "general", "Gender": "male", "Name": "sample string 1", "Email": "sample string 2", "Phone": "sample string 3", "UserName": "sample string 4" }, { "ContactType": "general", "Gender": "male", "Name": "sample string 1", "Email": "sample string 2", "Phone": "sample string 3", "UserName": "sample string 4" } ], "StandDetails": { "HallNumber": "sample string 1", "StandNumber": "sample string 2", "StandName": "sample string 3", "StandType": "NotSpecified", "Width": 1.1, "Length": 1.1, "StandSurface": 1.1 }, "AccountSettings": { "SendEReminder": true, "ManualAccess": true, "DemoMode": true, "UserName": "sample string 4" }, "Groups": [ 1, 2 ], "RemoveAllGroups": true } ]
application/xml, text/xml
Sample:
<ArrayOfApiExhibitor xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ApiExhibitor> <Id>1</Id> <ExhibitorCode>sample string 2</ExhibitorCode> <CustomerCode>sample string 3</CustomerCode> <Company>sample string 4</Company> <Street>sample string 5</Street> <PostalCode>sample string 6</PostalCode> <Town>sample string 7</Town> <CountryCode>sample string 8</CountryCode> <LanguageCode>sample string 9</LanguageCode> <Fax>sample string 10</Fax> <Crn>sample string 11</Crn> <Contacts> <ApiExhibitorContact> <ContactType>general</ContactType> <Gender>male</Gender> <Name>sample string 1</Name> <Email>sample string 2</Email> <Phone>sample string 3</Phone> <UserName>sample string 4</UserName> </ApiExhibitorContact> <ApiExhibitorContact> <ContactType>general</ContactType> <Gender>male</Gender> <Name>sample string 1</Name> <Email>sample string 2</Email> <Phone>sample string 3</Phone> <UserName>sample string 4</UserName> </ApiExhibitorContact> </Contacts> <StandDetails> <HallNumber>sample string 1</HallNumber> <StandNumber>sample string 2</StandNumber> <StandName>sample string 3</StandName> <StandType>NotSpecified</StandType> <Width>1.1</Width> <Length>1.1</Length> <StandSurface>1.1</StandSurface> </StandDetails> <AccountSettings> <SendEReminder>true</SendEReminder> <ManualAccess>true</ManualAccess> <DemoMode>true</DemoMode> <UserName>sample string 4</UserName> </AccountSettings> <Groups> <int>1</int> <int>2</int> </Groups> <RemoveAllGroups>true</RemoveAllGroups> </ApiExhibitor> <ApiExhibitor> <Id>1</Id> <ExhibitorCode>sample string 2</ExhibitorCode> <CustomerCode>sample string 3</CustomerCode> <Company>sample string 4</Company> <Street>sample string 5</Street> <PostalCode>sample string 6</PostalCode> <Town>sample string 7</Town> <CountryCode>sample string 8</CountryCode> <LanguageCode>sample string 9</LanguageCode> <Fax>sample string 10</Fax> <Crn>sample string 11</Crn> <Contacts> <ApiExhibitorContact> <ContactType>general</ContactType> <Gender>male</Gender> <Name>sample string 1</Name> <Email>sample string 2</Email> <Phone>sample string 3</Phone> <UserName>sample string 4</UserName> </ApiExhibitorContact> <ApiExhibitorContact> <ContactType>general</ContactType> <Gender>male</Gender> <Name>sample string 1</Name> <Email>sample string 2</Email> <Phone>sample string 3</Phone> <UserName>sample string 4</UserName> </ApiExhibitorContact> </Contacts> <StandDetails> <HallNumber>sample string 1</HallNumber> <StandNumber>sample string 2</StandNumber> <StandName>sample string 3</StandName> <StandType>NotSpecified</StandType> <Width>1.1</Width> <Length>1.1</Length> <StandSurface>1.1</StandSurface> </StandDetails> <AccountSettings> <SendEReminder>true</SendEReminder> <ManualAccess>true</ManualAccess> <DemoMode>true</DemoMode> <UserName>sample string 4</UserName> </AccountSettings> <Groups> <int>1</int> <int>2</int> </Groups> <RemoveAllGroups>true</RemoveAllGroups> </ApiExhibitor> </ArrayOfApiExhibitor>
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.