Skip to main content

Scheduling entry publish and unpublish

Log in to add to favourites
PUT/api/management/projects/{projectId}/entries/{entryId}/schedules/{scheduleType}?language={language}

Parameters

NameParameter typeTypeFormatDescription
projectId(required)pathstring-The project identifier found in the project overview screen of the management console.
entryId(required)querystringuuidThe entry identifier as a 128 bit GUID

Responses

HTTP status codeReasonModel
201CreatedEntry
401UnauthorizedError
404Entry not foundError
500Internal server errorError

Examples

Scheduling an entry to publish in the future

JSON
PUT: /api/management/projects/movieDb/entries/71f73a9b-2a13-4d63-bcc1-e8ee5047b01c/schedules/publish?language=en-gb

{
    "dateTime" : "2022-06-24T00:00:00Z"
}

Scheduling an entry to unpublish

JSON
PUT: /api/management/projects/movieDb/entries/71f73a9b-2a13-4d63-bcc1-e8ee5047b01c/schedules/unpublish?language=en-gb

{
    "dateTime" : "2023-06-24T00:00:00Z"
}

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request