CSV Export Job
Create a CSV export job
Create and return a CSV export job for the specified business id and branch id
post/api/business/{businessId}/branch/{branchId}/csvexportjob
Request
- Base URLhttp://api-gateway-eu.phorest.com/third-party-api-server
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
businessIdstring required
branchIdstring required
Request body
Example request
{
"jobId": "abc-12345678",
"filterExpression": "updated=<2018-01-31T23:59:59.999Z&updated=>2018-01-01T00:0:00.000Z",
"totalRows": 530,
"succeededRows": 492,
"tempCsvExternalUrl": "https://eu1-mem.s3-eu-west-1.amazonaws.com/mem-prd/business/eTC3QY5W3p_HmGHezKfxJw/csvexport",
"failureReason": "No records found"
}Response
CSV export job created successfully
Example response
{
"jobId": "abc-12345678",
"filterExpression": "updated=<2018-01-31T23:59:59.999Z&updated=>2018-01-01T00:0:00.000Z",
"totalRows": 530,
"succeededRows": 492,
"tempCsvExternalUrl": "https://eu1-mem.s3-eu-west-1.amazonaws.com/mem-prd/business/eTC3QY5W3p_HmGHezKfxJw/csvexport",
"failureReason": "No records found"
}Changes
No recorded changes to this operation across all 2 revisions of this API.