imports.historyFields
Fields for importing history from another system (jobs with visit history, open quotes, unpaid invoices, price book) and the jobber and housecall_pro presets per kind.
When to use it
Move a shop's customer list in from a CSV, including files exported from Jobber, Housecall Pro and CompanyCam. Ask imports.fields what can be filled, run imports.preview to see how each column maps and what would go wrong, show that to the owner, and only then call imports.run with the mapping they confirmed.
What to tell the owner
Tell them what you found in plain words. Don't read back raw fields.
Example
GET https://doingwork.work/v1/imports/history/fields?
Output
| Field | Type | Always there |
|---|
kinds | array | yes |
fields | object | yes |
presets | object | yes |
{
"kinds": [
"..."
],
"fields": {},
"presets": {}
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |