Jump to content

Featured Replies

Posted

I post a record through API:

{{base_url}}api/cms/records/45/?author=1&fields[208]=Title&fields[209]=Content&date=2024-05-10T22:34:28Z

The date is ignored.

Edited by Sonya*

  • Author

Edit: the date is not ignored. It is saved to:

  • record_saved
  • record_updated
  • record_last_comment
  • record_last_review

However, the field record_publish_date does not respect this date and is automatically set to the current datetime.

Question: is there any way to set record_publish_date for a record via REST API?

Edited by Sonya*

  • Sonya* changed the title to REST API: Set record_publish_date