- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2025 03:35 AM
I am trying to create schedule entry for a user via rest api ( example HR app passing time off for user). Even though rest request is sucessfull and record is created start date time , end date time & all day check box are not getting created in Servicenow. Start/End date time remains blank & all day check box remains default false. ACLs are already created to update via rest services.
Here is json
POST - {instance} /api/now/table/cmn_schedule_span?sysparm_display_value=true
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2025 08:04 AM
Hi,
The start date time, and end date time fields expect the values in ISO8601 format, e.g
20251103T170000
for
Year 2025
Month 11
Date 03
Hour 17
Minute 00
Second 00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2025 08:04 AM
Hi,
The start date time, and end date time fields expect the values in ISO8601 format, e.g
20251103T170000
for
Year 2025
Month 11
Date 03
Hour 17
Minute 00
Second 00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2025 07:14 PM
Thanks Kieran '20251103T170000' this format worked. Any idea about 'All day' - ture false flag ?