Page tree
Skip to end of metadata
Go to start of metadata

List eventbooking

With a 3rd level API key it is possible list an eventbooking without specifying a person. (from version 2016.1103)

Request

HTTP GET to /eventbookings/{id}.xml

Parameters

Name

Required

Value

Description

id

Yes

id=44

Id of the eventbooking

Example:

 

GET:APIURL/eventbookings/44.xml?apikey:338934897438

 

Same as list of eventbooking

Modify eventbooking 

Modifies an eventbooking. Deprecated (Use Participants instead)

Request

Parameters:

 

 

Name

Required

exempelvärde

förklaring

Värdemängd/Datatyp

participantid

No

participantid=17

The ID of the individual that should be set as participant on the eventbooking. The given ID must exist in BRP.

ID

participantfirstnameNoparticipantfirstname=JohnThe first name of the participant if they do not exist in the customer databaseString
participantlastnameNoparticipantlastname=DoeThe last name of the participant if they do not exist in the customer databaseString
internalmessageNointernalmessage=someMessageWill be set as internal message on the eventbookingString
externalmessageNoexternalmessage=someOtherMessageWill be set as externa message on the eventbookingString

 

Exempel:

PUT:APIURL/eventbookings/{id}.xml?apikey=338934897438&anonymous=true&participantid=17
 
or 
 
PUT:APIURL/eventbookings/{id}.xml?apikey=338934897438&anonymous=true&participantfirstname=John&participantlastname=Doe

Svar

Same as list of eventbooking

 

  • No labels