Retrieves the insurance flagged on a cart.
GET/api/v1/cart/:cartId/insurances
SOAP Equivalent: ACP_GetAllocInsurrance
SOAP to REST Field Mapping
| REST Field | SOAP Field | Notes |
|---|---|---|
| cartId | ID_FlagGroup | InterfaceFlag.ID_FlagGroup |
| insurance.insuranceId | ID_Insurance | InterfaceFlagProduct.ID_Generic |
| insurance.name | Name | Generic.NameGeneric |
| insurance.amount | Amount | InterfaceFlagProduct.Amount |
Scoped by the x-tenant header; the session context (institution) is validated first.
A cart with no insurance is returned as HTTP 200 with an empty insurance (SOAP parity).
Request
Responses
- 200
- 401
- 404
- 422
- 500
OK
Unauthorized
Not Found
Unprocessable Content
Internal Server Error