Skip to content

Duplicate Event

Request

A request for duplication can be made in 3 ways:

  • Specifying a list of dates and times to duplicate

  • Specifying the ID of the repetition strategy

  • By specifying all repetition parameters

Security
BearerPartnerUser
Path
location_idnumberrequired
Example:1
event_idintegerrequired
Example:2
Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

Bodyapplication/json
object
curl -i -X POST \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/1/events/2/duplicate \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses

OK

Bodyapplication/json
Response
{ "success": true, "data": [ { … } ], "meta": { "count": 2 } }