Page 1 of 1

Missing DateTStamp Field in Schedule API Response

Posted: Wed May 14, 2025 3:28 am
by Ummehani
I’m using the following API:

Code: Select all

https://api.opendental.com/api/v1/schedules/?dateStart=2025-04-01&dateEnd=2025-04-02
and I noticed that the DateTStamp field is not returned in the API response.

Here is the response I received:

Code: Select all

{
    "ScheduleNum": "25972",
    "SchedDate": "2025-04-01",
    "StartTime": "08:00:00",
    "StopTime": "17:00:00",
    "SchedType": "Provider",
    "ProvNum": "3",
    "BlockoutType": "0",
    "blockoutType": "",
    "Note": "",
    "operatories": "9",
    "EmployeeNum": "0"
}

However, according to your OpenDental API documentation, the DateTStamp field should be included in the response.
Here is the example from the OpenDental API documentation:

Code: Select all

{
    "ScheduleNum": "25888",
    "SchedDate": "2022-03-11",
    "StartTime": "00:00:00",
    "StopTime": "00:00:00",
    "SchedType": "Practice",
    "ProvNum": "0",
    "BlockoutType": "0",
    "blockoutType": "",
    "Note": "3 Day Weekend",
    "operatories": "",
    "EmployeeNum": "0",
    "DateTStamp": "2022-03-11 08:16:42"
}

Could you please clarify why the DateTStamp field is missing in the actual response?

Re: Missing DateTStamp Field in Schedule API Response

Posted: Wed May 14, 2025 7:59 am
by justine
Ummehani wrote:
Wed May 14, 2025 3:28 am
I’m using the following API:

Code: Select all

https://api.opendental.com/api/v1/schedules/?dateStart=2025-04-01&dateEnd=2025-04-02
and I noticed that the DateTStamp field is not returned in the API response.

Here is the response I received:

Code: Select all

{
    "ScheduleNum": "25972",
    "SchedDate": "2025-04-01",
    "StartTime": "08:00:00",
    "StopTime": "17:00:00",
    "SchedType": "Provider",
    "ProvNum": "3",
    "BlockoutType": "0",
    "blockoutType": "",
    "Note": "",
    "operatories": "9",
    "EmployeeNum": "0"
}

However, according to your OpenDental API documentation, the DateTStamp field should be included in the response.
Here is the example from the OpenDental API documentation:

Code: Select all

{
    "ScheduleNum": "25888",
    "SchedDate": "2022-03-11",
    "StartTime": "00:00:00",
    "StopTime": "00:00:00",
    "SchedType": "Practice",
    "ProvNum": "0",
    "BlockoutType": "0",
    "blockoutType": "",
    "Note": "3 Day Weekend",
    "operatories": "",
    "EmployeeNum": "0",
    "DateTStamp": "2022-03-11 08:16:42"
}

Could you please clarify why the DateTStamp field is missing in the actual response?
Good morning Ummehani,

DateTStamp was added to the schedules endpoint return JSON in version 25.1.13.

Thanks!