...
From version 2016.
...
3502
...
List all participants
Request
...
GET:APIURL/eventbookings/44/participants.xml?apikey:338934897438 |
List one participant
Request
HTTP GET to /eventbookings/{eventbookingid}/participants/{id}.xml
Example:
GET:APIURL/eventbookings/44/participants/102.xml?apikey:338934897438 |
Modify participant
Request
HTTP PUT to /eventbookings/{eventbookingid}/participants/{id}.xml
participantperson | No | participantperson=4 | Person id in BRP for participant |
firstname | No | firstname=Kalle | First name for participant |
lastname | No | lastname=Kund | Last name for participant |
Name | Required | Value | Description |
---|
Add participant
Request
HTTP POST to /eventbookings/{eventbookingid}/participants.xml
participantperson | No | participantperson=4 | Person id in BRP for participant |
firstname | No | firstname=Marge | First name for participant |
lastname | No | lastname=Simpson | Last name for participant |
Name | Required | Value | Description |
---|
Response
Response for add/modify/list one participant
<participant> <id>102</id> <personid>4</personid> <firstname>Marge</firstname> <lastname>Simpson</lastname> </participant> |
Response for list participants
<participants> <participant> <id>102</id> <personid>4</personid> <firstname>Marge</firstname> <lastname>Simpson</lastname> </participant> <participant> <id>102<<id>103</id> <personid>4<<personid>7</personid> <firstname>Marge<<firstname>Homer</firstname> <lastname>Simpson</lastname> </participant> .... </participants> |
Remove participant
Removes the participant from eventbooking. It is not allowed to delete the last participant in an event booking.
Request
HTTP DELETE to /eventbookings/{eventbookingid}/participants/{id}.xml
Response
HTTP 204
No contents.