Get list of appointments including task_idx (REST API)

Hello,

Any way to get list of appointments via REST/Agents API that includes task_idx field? I tried with FindAppointment Archive Provider, but looks like it only has textual task name.

"GET Appointment/{id}"-endpoint returns task id but I wouldn't want to use it with large list of appointments.

RE: Get list of appointments including task_idx (REST API)

Hello,

You can do this with the Dynamic endpoint:

http://superoffice/sales/api/v1/Archive/dynamic?$select=appointment.appointment_id,appointment.task_idx,appointment.task_idx.name&$filter=appointment.appointment_id gt 0
By: David Hollegien 11 Nov 2020

RE: Get list of appointments including task_idx (REST API)

Thanks a lot, looks like it's working nicely.

By: Mikko Tillikainen 11 Nov 2020