Costs and transactions
When a policy is quoted, the associated expenses are broken down into costs and transactions. The costs include the details on the various costs associated with quoting the policy premiums. The transactions are details of changes to the costs. For complete details on costs and transactions, see Application Guide
You can use Cloud API to retrieve collections of costs and transactions. You cannot use these endpoints to modify costs or transactions, only to retrieve them.
Retrieving costs
Use the following endpoints to retrieve costs associated with a job or a policy:
- GET
/job/v1/jobs/{jobId}/costs
- GET
/job/v1/jobs/{jobId}/costs/{costId}
- GET
/policy/v1/policies/{policyId}/costs
For example:
Command
Response
Retrieving transactions
Use the following endpoints to retrieve a transactions on a job:
- GET
/job/v1/jobs/{jobId}/transactions
- GET
/job/v1/jobs/{jobId}/transactions/{transactionId}
For example:
Command
Response