Shared APIs
/Cost Account APIs
/- Get Cost Account Details by Cost Account ID
Add Cost Account
Get Cost Accounts
Update Cost Account
Delete Cost Account
Create Cost Account Import Job
Process Import Cost Account Job
Get Import Cost Account Job Status
Get Cost Account Details...
This operation gets the Cost account by cost account ID
Security
bearerAuth
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts/{costaccountId}
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts/{costaccountId}
curl -i -X GET \
'https://api-sandbox.sendpro360.pitneybowes.com/costaccountmgmt/api/v1/costAccounts/{costaccountId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-PB-Developer-Partner-ID: string'Cost Account get successful
this indicates the description you want to provide for cost account
Example:"description"
Additional configuration options for assigning the cost account to a specific hierarchy level (Enterprise, Division, or Location). If no permission is provided, the cost account is assigned to the Enterprise level by default.
Example:
{ "permission": { "permissionByEntity": "D", "permissionByValue": [ "div_auto_sac11be" ] } }
Response
{ "accountID": "absjf878", "name": "name", "code": "code", "parent": "", "description": "description", "status": true, "passwordEnabled": true, "passwordCode": "test", "billable": true, "advanceOption": { "permission": { "permissionByEntity": "D", "permissionByValue": [ … ] } } }