ExportSchedule
Exports the schedule for one user.
https://my.portatour.net/a/api/ExportSchedule?parameters
|
Required URL parameters | |
format | Export format, can be one of xlsx, xls, ods, csv, simplecsv, or xlsxtable. More information |
---|---|
userEmail, employeeNumber | Email address or employee number of the user whose schedule to export. Exactly one must be specified. |
Optional URL parameters | |
language | Recommended. Language used for the export. More information |
includeCustomerData | If set to true, schedule rows referencing a customer also include all data of that customer. Default is false. |
includeAppointmentData | If set to true, schedule rows referencing an appointment also include all data of that appointment. Default is false. |
exportFields | If specified, the export will only contain the listed fields, in the specified order. More information |
curl -o schedule.csv -u admin_username:admin_password
"https://my.portatour.net/a/api/ExportSchedule?format=csv&language=en-US&userEmail=bob@example.com"
|
Caution: When you process exported data, don't depend on the column order. Use the column header names to access data. The order of the columns might change, e.g if new fields are added. In case your importer doesn’t support accessing field values by field name, use the exportFields parameter to specify the columns and their order.