Skip to content

List Event Duplication Strategies

Request

Duplication of Events occurs based on a set of parameters combined in the "duplication strategy" entity

FieldTypeDescription
titlestringStrategy name
repeat_mode_idintegerRepeat mode
daysinteger[]List of days of the week: 0 Sun, 6 Fri
intervalintegerBreak in searching for dates, in units of type
content_typeintegerDuplicate appointments? 1 - no, 2 - yes

The repeat mode can take the values

MeaningDescriptionBreak unit
1DailyDay
2Weekdays-
3Mon Wed Fri-
4Tue Thu-
5Every weekWeek
6Every monthMonth
7Every yearYear

The days field is relevant only for mode 5 - week, for specifying specific days of repetition If you specify repeat_mode = 5, days = [1,4], interval = 2, then the Event will be repeat every 3rd week on Mon and Thu

Security
BearerPartner
Path
location_idnumberrequired

location ID

Example:4564
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

curl -i -X GET \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/4564/events/duplication_strategy \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

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