POST Update Subscription Event
Use the endpoint to programmatically create a calendar subscription event and add it to one or more calendar subscriptions.
Description
This API endpoint will update event details and update all calendar subscriptions that subscribe to this event. Associated subscriptions will be synced. The response of 202 Accepted indicates that the response was successfully validated and has been accepted for processing. Events are being updated in a background process, it can take up to few minutes for changes to propagate to subscribers' calendars.
Request
Path
POST /v1/subscriptionevent/{accountCode}/update
Parameters
Name | Type | In | Description | Required | Example |
---|---|---|---|---|---|
accountCode | String | path | The Rokt Calendar merchant account code, or the subdomain of your Rokt Calendar dashboard URL. | true |
Request Body
{
"eventId": "string",
"title": "string",
"description": "string",
"location": "string",
"timezone": "string",
"timezoneIanaId": "string",
"start": "2021-02-24T21:38:05.416Z",
"end": "2021-02-24T21:38:05.416Z",
"allDayEvent": true,
"notifyBefore": null,
"actionType": "string"
}
Object { }
eventId: String
title: String
description: String
location: String
timezone: String
timezoneIanaId: String
start: Date
end: Date
allDayEvent: Boolean
notifyBefore: Enum
actionType: String
Response
202 Accepted
Error
400 BadRequest
500 InternalServerError