Endpoint is used to export your visits from Repsly. System limit is 50 rows.

More Info

The endpoint is used to export visit schedule realizations from Repsly. Visit schedule realizations contain data on the realized schedule (unless it was missed). It gives the viewer insight into the actual duration of the visit and the actions taken while at the scheduled place. Please define the modified and skip values to query the wanted period. The response is limited to the first 50 visit schedule realizations for that period.

Limitations:

  • Skip value is limited to 9,500. Any value above that will return an error. To prevent this issue from occurring please update the modified parameter to a newer date to fetch the same data.
    • Example: instead of using modified=2023-01-01 and skip 9651, set the modified date to 2023-03-01 and set the skip value to 0.

Response definition

NameTypeDescription
MetaCollectionResult\TotalCountIntegerTotal count of client visits schedule realizations in the response
ScheduleIdGuidUnique Id of the schedule
ProjectIdGuidUnique Id of the project
EmployeeIdGuidUnique Id of the employee (Representative that was scheduled to complete the visit)
EmployeeCodeString (20)Unique code of the employee (Representative that was scheduled to complete the visit)
PlaceIdGuidUnique Id of the place
PlaceCodeString (20)Unique Code of the place
ModifiedUTCStringDate and time when the visit record was last updated in UTC. The format is yyyy-MM-ddTHH:mm:ss.fffZ. For example 2022-03-31T00:00:00.000Z
TimeZoneStringTimezone of the visit realization. For example: Europe/Zagreb
ScheduleNoteStringUnique Note on the visit
StatusStringVisit schedule status.
Possible values are:
Planned - visit was planned and done
Unplanned - visit was not planned but done
Missing - visit was planned but missed
Inactive - visit was planned but missed because Representative became inactive
DateTimeStartStringStart date and time in local timezone of the actual visit. The format is yyyy-MM-ddTHH:mm:ss.fffZ. For example 2022-03-31T00:00:00.000Z.
DateTimeStartUTCStringStart Date and time in UTC of the actual visit. The format is yyyy-MM-ddTHH:mm:ss.fffZ. For example 2022-03-31T00:00:00.000Z.
DateTimeEndStringEnd date and time in local timezone of the actual visit. The format is yyyy-MM-ddTHH:mm:ss.fffZ. For example 2022-03-31T00:00:00.000Z.
DateTimeEndUTCStringEnd date and time in UTC of the actual visit. The format is yyyy-MM-ddTHH:mm:ss.fffZ. For example 2022-03-31T00:00:00.000Z.
PlanDateTimeStartStringScheduled start date and time in local timezone. The format is yyyy-MM-ddTHH:mm:ss.fffZ. For example 2022-03-31T00:00:00.000Z.
PlanDateTimeStartUTCStringScheduled start date and time in UTC. The format is yyyy-MM-ddTHH:mm:ss.fffZ. For example 2022-03-31T00:00:00.000Z.
PlanDateTimeEndStringScheduled end date and time in local timezone. The format is yyyy-MM-ddTHH:mm:ss.fffZ. For example 2022-03-31T00:00:00.000Z.
PlanDateTimeEndUTCStringScheduled end date and time in UTC. The format is yyyy-MM-ddTHH:mm:ss.fffZ. For example 2022-03-31T00:00:00.000Z.
Tasks/TaskTypeStringType of task. possible values: Photo, Note, Form , Audit or Order
Tasks/TaskNoteStringNote of the task
Tasks/EntityIdGuidUnique Id of the task
Tasks/CompletedBooleanIs task completed or not
Language