Shared APIs
/Cost Account APIs
//
Get Import Cost Account J...
This operation retrieves the status of an existing Batch identified by {jobID}. The response will provide information about its current status and whether the job has been completed. In case of error, an error CSV file will be generated with details of the error.
Security
bearerAuth
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts/batch/{jobID}/status
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts/batch/{jobID}/status
curl -i -X GET \
'https://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts/batch/{jobID}/status' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-PB-Developer-Partner-ID: string'Response
{ "status": "Completed", "jobID": "L86wbedwBon", "RecordCounts": { "total": 0, "success": 0, "failed": 0 }, "errorFileURL": { "csv": "https://225934331380-sp360-shared-services-iad-qa.s3.amazonaws.com/CostAccount/import/error/sac9f07/L86wbedwBon/Error-import-costaccount-5a907730-10a0-4e52-a193-d50a0c8a3d0c.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIATJGV4JX2K7OIRQGI%2F20230819%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230819T115234Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEOz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIEg6jXh8GVV82wgPUv9NINpspM42vrB2zVWsqr3%2BbmXlAiEAgBxvyeN7fJzMXF40NzFhzTnGur8mfcPkKpAO56kBIPAqxQUIpP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARACGgwyMjU5MzQzMz" } }