get
https://api.repsly.com/v3/export/photogallery/
Endpoint is used to export your gallery photos from Repsly. System limit is 50 rows.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
More Info
This endpoint is used to export photos from the photo gallery. The system limit is 50 rows per request. Unlike the photos export, gallery photos returns all photo types (activity photos, form photos, and shelf scan photos) and photos are returned in the order they were created.
To get the complete list of photos, start your request with parameter {lastId} = 0.
Response definition
Response wrapper
| Name | Type | Description |
|---|---|---|
| Photos | Array of Objects | List of gallery photos |
| LastId | String | Pagination cursor for the next page — pass it as the lastId path parameter. Null when the list is empty |
| HasMore | Boolean | True if more photos are available; keep requesting until it is false |
Photo object
| Name | Type | Description |
|---|---|---|
| Id | String | Unique photo identifier; also usable as the pagination cursor |
| PhotoType | String | Type of the photo: PhotoActivity, FormPhoto or ShelfScanPhoto |
| PhotoId | GUID | Photo GUID |
| PhotoDateTime | Datetime | Photo capture timestamp |
| Tags | Array of Strings | Photo tags |
| PhotoUrl | String | Link to the photo |
| Note | String | Photo description |
| FormData | Object | Present only for form photos (PhotoType = FormPhoto), otherwise null |
| FormData\TemplateName | String | Name of the form template |
| FormData\SubmissionId | GUID | Form submission identifier |
| FormData\QuestionId | GUID | Form question identifier |
| FormData\QuestionName | String | Name of the form question the photo answers |
| Visit | Object | Visit the photo was taken on |
| Visit\VisitId | GUID | Visit identifier |
| Visit\VisitStart | Datetime | Visit start time |
| Visit\VisitEnd | Datetime | Visit end time; null if the visit has not ended |
| Representative | Object | Representative who took the photo |
| Representative\Id | GUID | Representative identifier |
| Representative\Code | String | Representative code |
| Representative\Name | String | Representative name |
| Place | Object | Place the photo relates to |
| Place\Id | GUID | Place identifier |
| Place\Code | String | Place code |
| Place\Name | String | Place name |
| Place\Address | String | Place address |