Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

List service bookings

...

Modifies an existing servicebooking for a logged in user.

Note: If apikey of level 3 is used person should be identified with param personid=x 

Request

Code Block
PUT:APIURL/servicebookings.json?apikey=338934897438
{
"id":1,
"participantfirstname":"John",
"participantlastname":"Doe"
}

...

Name

Example

Description

Datatype

Required
idid=1Servicebooking idIDX
participantfirstnameparticipantfirstname=JohnOpen text field that can be used to specify first name of a participant other than the customer that has made the bookingString 
participantlastnameparticipantlastname=DoeOpen text field that can be used to specify last name of a participant other than the customer that has made the bookingString 
participantidparticipantid=7The ID of the individual person being booked as a participant. If specified participantfirstname and participantlastname will be ignoredID 
anonymousanonymous=trueRequired if the servicebooking belongs to an anonymous orderBooleanX*

...