Hepster Development Platform: Orders API Reference

The order-api allows partners to book insurance products and retrieve the status of existing orders.

Version: 0.5

Authentication

The order-api requires clients to authenticate with a user name and password via basic authentication.

curl -u 'username:password' -H 'Accept: application/json' 'https://api.platform.hepster-services.com/services/orders-api/v1'

basicAuth

type
basic

Paths

Partners have access to two environments: Staging and Production. Staging is a sandbox to test the implementation of the API.

Retrieve order

GET /v1/orders/{id}

Fetches an existing order.

id: string (uuid)
in path

(no description)

200 OK

OK

400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json
Response Example (200 OK)
{
  "id": "string (uuid)",
  "paymentReference": "string (uuid)",
  "orderNumber": "string",
  "salesPartnerId": "integer (int64)",
  "campaign": "string",
  "salesChannel": "string",
  "finalPrice": "number",
  "contract": {
    "installments": "integer (int32)",
    "type": "string",
    "shopperReference": "string (uuid)",
    "externalContractReference": "string"
  },
  "paymentMethod": "string",
  "currencyCd": "string",
  "status": "BKD",
  "partnerId": "string (uuid)",
  "paymentCollection": "string",
  "customers": [
    {
      "id": "string (uuid)",
      "firstName": "string",
      "lastName": "string",
      "hepNumber": "string",
      "birthDate": "string (date-time)",
      "street": "string",
      "zipCode": "string",
      "city": "string",
      "email": "string",
      "countryCd": "string",
      "invoiceNumber": "string",
      "invoiceKey": "string",
      "cartItems": [
        {
          "id": "string (uuid)",
          "productId": "string (uuid)",
          "qualityId": "string (uuid)",
          "coverageSum": "number",
          "coverageDuration": "integer (int32)",
          "coverageEndDate": "string (date-time)",
          "coverageAmount": "integer (int32)",
          "partners": [
            {
              "firstName": "string",
              "lastName": "string",
              "birthDate": "string (date-time)"
            }
          ],
          "durationTimeUnit": "string",
          "coverageType": "string",
          "price": "number",
          "certificateNumber": "string",
          "certificateKey": "string",
          "policySummary": "string",
          "policyAttributes": [
            {
              "key": "string",
              "value": "string"
            }
          ],
          "variants": [
            {
              "key": "string",
              "value": "string",
              "options": [
                {
                  "id": "integer (int64)",
                  "key": "string",
                  "value": "string"
                }
              ]
            }
          ],
          "contractStartDate": "string (date-time)",
          "contractEndDate": "string (date-time)",
          "customer": {
            "id": "string (uuid)",
            "firstName": "string",
            "lastName": "string",
            "hepNumber": "string",
            "birthDate": "string (date-time)",
            "street": "string",
            "zipCode": "string",
            "city": "string",
            "email": "string",
            "countryCd": "string",
            "invoiceNumber": "string",
            "invoiceKey": "string",
            "cartItems": [
              {
                "id": "string (uuid)",
                "productId": "string (uuid)",
                "qualityId": "string (uuid)",
                "coverageSum": "number",
                "coverageDuration": "integer (int32)",
                "coverageEndDate": "string (date-time)",
                "coverageAmount": "integer (int32)",
                "partners": [
                  null
                ]
              }
            ]
          }
        }
      ]
    }
  ]
}

Retrieve orders

GET /v1/orders/report

Fetches a report over all existing orders.

OK

400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json
Response Example (200 OK)
{
  "dataset": [
    {
      "date": "string (date-time)",
      "amount": "integer (int32)"
    }
  ]
}

Retrieve orders

GET /v1/orders

Fetches all existing orders.

200 OK

OK

type
400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "paymentReference": "string (uuid)",
    "orderNumber": "string",
    "salesPartnerId": "integer (int64)",
    "campaign": "string",
    "salesChannel": "string",
    "finalPrice": "number",
    "contract": {
      "installments": "integer (int32)",
      "type": "string",
      "shopperReference": "string (uuid)",
      "externalContractReference": "string"
    },
    "paymentMethod": "string",
    "currencyCd": "string",
    "status": "BKD",
    "partnerId": "string (uuid)",
    "paymentCollection": "string",
    "customers": [
      {
        "id": "string (uuid)",
        "firstName": "string",
        "lastName": "string",
        "hepNumber": "string",
        "birthDate": "string (date-time)",
        "street": "string",
        "zipCode": "string",
        "city": "string",
        "email": "string",
        "countryCd": "string",
        "invoiceNumber": "string",
        "invoiceKey": "string",
        "cartItems": [
          {
            "id": "string (uuid)",
            "productId": "string (uuid)",
            "qualityId": "string (uuid)",
            "coverageSum": "number",
            "coverageDuration": "integer (int32)",
            "coverageEndDate": "string (date-time)",
            "coverageAmount": "integer (int32)",
            "partners": [
              {
                "firstName": "string",
                "lastName": "string",
                "birthDate": "string (date-time)"
              }
            ],
            "durationTimeUnit": "string",
            "coverageType": "string",
            "price": "number",
            "certificateNumber": "string",
            "certificateKey": "string",
            "policySummary": "string",
            "policyAttributes": [
              {
                "key": "string",
                "value": "string"
              }
            ],
            "variants": [
              {
                "key": "string",
                "value": "string",
                "options": [
                  {
                    "id": "integer (int64)",
                    "key": "string",
                    "value": "string"
                  }
                ]
              }
            ],
            "contractStartDate": "string (date-time)",
            "contractEndDate": "string (date-time)",
            "customer": {
              "id": "string (uuid)",
              "firstName": "string",
              "lastName": "string",
              "hepNumber": "string",
              "birthDate": "string (date-time)",
              "street": "string",
              "zipCode": "string",
              "city": "string",
              "email": "string",
              "countryCd": "string",
              "invoiceNumber": "string",
              "invoiceKey": "string",
              "cartItems": [
                {
                  "id": "string (uuid)",
                  "productId": "string (uuid)",
                  "qualityId": "string (uuid)",
                  "coverageSum": "number",
                  "coverageDuration": "integer (int32)",
                  "coverageEndDate": "string (date-time)",
                  "coverageAmount": "integer (int32)"
                }
              ]
            }
          }
        ]
      }
    ]
  }
]

Create an order

POST /v1/orders

Creates a new order.

undefined

Idempotency-Key: string
in header

(no description)

Request Content-Types: application/json
Request Example
{
  "id": "string (uuid)",
  "paymentReference": "string (uuid)",
  "salesPartnerId": "integer (int64)",
  "campaign": "string",
  "salesChannel": "string",
  "finalPrice": "number",
  "contract": {
    "installments": "integer (int32)",
    "type": "string",
    "shopperReference": "string (uuid)",
    "externalContractReference": "string"
  },
  "paymentMethod": "string",
  "currencyCd": "string",
  "status": "BKD",
  "partnerId": "string (uuid)",
  "paymentCollection": "string",
  "customers": [
    {
      "firstName": "string",
      "lastName": "string",
      "hepNumber": "string",
      "birthDate": "string (date-time)",
      "street": "string",
      "zipCode": "string",
      "city": "string",
      "email": "string",
      "countryCd": "string",
      "invoiceNumber": "string",
      "invoiceKey": "string",
      "cartItems": [
        {
          "productId": "string (uuid)",
          "qualityId": "string (uuid)",
          "coverageSum": "number",
          "coverageDuration": "integer (int32)",
          "coverageEndDate": "string (date-time)",
          "coverageAmount": "integer (int32)",
          "partners": [
            {
              "firstName": "string",
              "lastName": "string",
              "birthDate": "string (date-time)"
            }
          ],
          "durationTimeUnit": "string",
          "coverageType": "string",
          "policyAttributes": [
            {
              "key": "string",
              "value": "string"
            }
          ],
          "variants": [
            {
              "key": "string",
              "value": "string",
              "options": [
                {
                  "id": "integer (int64)",
                  "key": "string",
                  "value": "string"
                }
              ]
            }
          ],
          "contractStartDate": "string (date-time)"
        }
      ],
      "invoiceRecipient": "boolean",
      "confirmationRecipient": "boolean",
      "isInvoiceRecipient": "boolean",
      "isConfirmationRecipient": "boolean"
    }
  ],
  "vouchers": [
    {
      "token": "string"
    }
  ]
}
201 Created

Created

400 Bad Request

Invalid data

401 Unauthorized

Not authorized

409 Conflict

Conflict, e.g. when a request with an equal Idempotency-Key was made in the last 5 minutes

Response Content-Types: application/json
Response Example (201 Created)
{
  "id": "string (uuid)",
  "orderDate": "string (date-time)"
}

Prolong insurance coverage

POST /v1/orders/{orderId}/customers/{customerId}/cartitems/{cartItemId}/prolong

Prolongs the duration of an insurance certificate. This creates a new order.

undefined

orderId: string (uuid)
in path

(no description)

customerId: string (uuid)
in path

(no description)

cartItemId: string (uuid)
in path

(no description)

Request Example
{
  "salesPartnerId": "integer (int64)",
  "campaign": "string",
  "paymentReference": "string (uuid)",
  "finalPrice": "number",
  "currencyCd": "string",
  "salesChannel": "string",
  "coverageDuration": "integer (int32)",
  "durationTimeUnit": "string"
}

OK

400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json, application/pdf
Response Example (200 OK)
{
  "id": "string (uuid)",
  "orderDate": "string (date-time)"
}

Update an order status

PATCH /v1/orders/{orderId}

Updates an order status.

undefined

orderId: string (uuid)
in path

(no description)

Request Content-Types: application/json
Request Example
{
  "status": "BKD",
  "successiveOrderId": "string (uuid)"
}
202 Accepted

Accepted

400 Bad Request

Invalid data

401 Unauthorized

Not authorized

409 Conflict

Conflict, e.g. when the order status was already set

Response Content-Types: application/json
Response Example (202 Accepted)
{
  "id": "string (uuid)",
  "orderDate": "string (date-time)"
}

Retrieve orders of customer

GET /v1/lookup/email

Fetches all orders of a customer by email.

email: string
in query

(no description)

200 OK

OK

type
400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "paymentReference": "string (uuid)",
    "orderNumber": "string",
    "salesPartnerId": "integer (int64)",
    "campaign": "string",
    "salesChannel": "string",
    "finalPrice": "number",
    "contract": {
      "installments": "integer (int32)",
      "type": "string",
      "shopperReference": "string (uuid)",
      "externalContractReference": "string"
    },
    "paymentMethod": "string",
    "currencyCd": "string",
    "status": "BKD",
    "partnerId": "string (uuid)",
    "paymentCollection": "string",
    "customers": [
      {
        "id": "string (uuid)",
        "firstName": "string",
        "lastName": "string",
        "hepNumber": "string",
        "birthDate": "string (date-time)",
        "street": "string",
        "zipCode": "string",
        "city": "string",
        "email": "string",
        "countryCd": "string",
        "invoiceNumber": "string",
        "invoiceKey": "string",
        "cartItems": [
          {
            "id": "string (uuid)",
            "productId": "string (uuid)",
            "qualityId": "string (uuid)",
            "coverageSum": "number",
            "coverageDuration": "integer (int32)",
            "coverageEndDate": "string (date-time)",
            "coverageAmount": "integer (int32)",
            "partners": [
              {
                "firstName": "string",
                "lastName": "string",
                "birthDate": "string (date-time)"
              }
            ],
            "durationTimeUnit": "string",
            "coverageType": "string",
            "price": "number",
            "certificateNumber": "string",
            "certificateKey": "string",
            "policySummary": "string",
            "policyAttributes": [
              {
                "key": "string",
                "value": "string"
              }
            ],
            "variants": [
              {
                "key": "string",
                "value": "string",
                "options": [
                  {
                    "id": "integer (int64)",
                    "key": "string",
                    "value": "string"
                  }
                ]
              }
            ],
            "contractStartDate": "string (date-time)",
            "contractEndDate": "string (date-time)",
            "customer": {
              "id": "string (uuid)",
              "firstName": "string",
              "lastName": "string",
              "hepNumber": "string",
              "birthDate": "string (date-time)",
              "street": "string",
              "zipCode": "string",
              "city": "string",
              "email": "string",
              "countryCd": "string",
              "invoiceNumber": "string",
              "invoiceKey": "string",
              "cartItems": [
                {
                  "id": "string (uuid)",
                  "productId": "string (uuid)",
                  "qualityId": "string (uuid)",
                  "coverageSum": "number",
                  "coverageDuration": "integer (int32)",
                  "coverageEndDate": "string (date-time)",
                  "coverageAmount": "integer (int32)"
                }
              ]
            }
          }
        ]
      }
    ]
  }
]

Retrieve contracts of customer

GET /v1/contracts/lookup/email

Fetches all contracts of a customer by email.

email: string
in query

(no description)

200 OK

OK

400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "certificateNumber": "string",
    "contractStartDate": "string (date-time)",
    "contractEndDate": "string (date-time)",
    "coverageAmount": "integer (int32)",
    "type": "string",
    "status": "string",
    "coverageDuration": "integer (int32)",
    "durationTimeUnit": "string",
    "coverageSum": "number",
    "cartItems": [
      {
        "id": "string (uuid)",
        "productId": "string (uuid)",
        "qualityId": "string (uuid)",
        "coverageSum": "number",
        "coverageDuration": "integer (int32)",
        "coverageEndDate": "string (date-time)",
        "coverageAmount": "integer (int32)",
        "partners": [
          {
            "firstName": "string",
            "lastName": "string",
            "birthDate": "string (date-time)"
          }
        ],
        "durationTimeUnit": "string",
        "coverageType": "string",
        "price": "number",
        "certificateNumber": "string",
        "certificateKey": "string",
        "policySummary": "string",
        "policyAttributes": [
          {
            "key": "string",
            "value": "string"
          }
        ],
        "variants": [
          {
            "key": "string",
            "value": "string",
            "options": [
              {
                "id": "integer (int64)",
                "key": "string",
                "value": "string"
              }
            ]
          }
        ],
        "contractStartDate": "string (date-time)",
        "contractEndDate": "string (date-time)",
        "customer": {
          "id": "string (uuid)",
          "firstName": "string",
          "lastName": "string",
          "hepNumber": "string",
          "birthDate": "string (date-time)",
          "street": "string",
          "zipCode": "string",
          "city": "string",
          "email": "string",
          "countryCd": "string",
          "invoiceNumber": "string",
          "invoiceKey": "string",
          "cartItems": [
            {
              "id": "string (uuid)",
              "productId": "string (uuid)",
              "qualityId": "string (uuid)",
              "coverageSum": "number",
              "coverageDuration": "integer (int32)",
              "coverageEndDate": "string (date-time)",
              "coverageAmount": "integer (int32)",
              "partners": [
                {
                  "firstName": "string",
                  "lastName": "string",
                  "birthDate": "string (date-time)"
                }
              ],
              "durationTimeUnit": "string",
              "coverageType": "string",
              "price": "number",
              "certificateNumber": "string",
              "certificateKey": "string",
              "policySummary": "string",
              "policyAttributes": [
                {
                  "key": "string",
                  "value": "string"
                }
              ],
              "variants": [
                {
                  "key": "string",
                  "value": "string",
                  "options": [
                    null
                  ]
                }
              ]
            }
          ]
        }
      }
    ]
  }
]

Retrieve invoice

GET /v1/orders/{id}/invoice

Fetches an invoice of an existing order.

id: string (uuid)
in path

(no description)

200 OK

OK

type
string (byte)
400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json, application/pdf
Response Example (200 OK)
"string (byte)"

Retrieve a certificate

GET /v1/orders/{orderId}/customers/{customerId}/cartitems/{cartItemId}/certificate

Fetches a certificate of a cart item of an existing order.

orderId: string (uuid)
in path

(no description)

customerId: string (uuid)
in path

(no description)

cartItemId: string (uuid)
in path

(no description)

200 OK

OK

type
string (byte)
400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json, application/pdf
Response Example (200 OK)
"string (byte)"

Update a certificate

PUT /v1/orders/{orderId}/customers/{customerId}/cartitems/{cartItemId}/certificate

Updates the certificate of a cart item of an existing order after changes to an order.

orderId: string (uuid)
in path

(no description)

customerId: string (uuid)
in path

(no description)

cartItemId: string (uuid)
in path

(no description)

Request Example
{
  "sendOrderConfirmation": true
}
200 OK

OK

400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json, application/pdf

Generate an invoice

PUT /v1/documents/invoices

Creates a new invoice.

undefined

Request Content-Types: application/json
Request Example
{
  "uuid": "string (uuid)",
  "salesChannel": "string",
  "orderNumber": "string",
  "invoiceNumber": "string",
  "orderDate": "string (date-time)",
  "finalPrice": "number",
  "originalPrice": "number",
  "insuranceTax": "number",
  "taxRate": "number",
  "serviceFees": "number",
  "transferFees": "number",
  "discountAppliedAmount": "number",
  "currencyCd": "string",
  "customer": {
    "uuid": "string (uuid)",
    "firstName": "string",
    "lastName": "string",
    "birthDate": "string (date-time)",
    "hepNumber": "string",
    "street": "string",
    "zipCode": "string",
    "city": "string",
    "countryCd": "string"
  },
  "cartItems": [
    {
      "uuid": "string (uuid)",
      "productName": "string",
      "qualityName": "string",
      "coverageSum": "number",
      "coverageDuration": "integer (int32)",
      "coverageEndDate": "string (date-time)",
      "coverageAmount": "integer (int32)",
      "durationTimeUnit": "string",
      "coverageType": "string",
      "price": "number",
      "originalPrice": "number",
      "insuranceTax": "number",
      "taxRate": "number",
      "serviceFees": "number",
      "transferFees": "number",
      "discountAppliedAmount": "number",
      "contractStartDate": "string (date-time)",
      "contractEndDate": "string (date-time)",
      "partners": [
        {
          "firstName": "string",
          "lastName": "string",
          "birthDate": "string (date-time)"
        }
      ]
    }
  ]
}
200 OK

OK

type
string (byte)
400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json, application/pdf
Response Example (200 OK)
"string (byte)"

Generate a certificate

PUT /v1/documents/certificates

Creates a new certificate.

undefined

Request Content-Types: application/json
Request Example
{
  "uuid": "string (uuid)",
  "salesChannel": "string",
  "certNumber": "string",
  "customers": [
    {
      "uuid": "string (uuid)",
      "firstName": "string",
      "lastName": "string",
      "birthDate": "string (date-time)",
      "hepNumber": "string",
      "street": "string",
      "zipCode": "string",
      "city": "string",
      "countryCd": "string"
    }
  ],
  "partners": [
    {
      "firstName": "string",
      "lastName": "string",
      "birthDate": "string (date-time)"
    }
  ],
  "product": {
    "qualityName": "string",
    "productName": "string",
    "contractStartDate": "string (date-time)",
    "contractEndDate": "string (date-time)",
    "finalPrice": "number",
    "originalPrice": "number",
    "insuranceTax": "number",
    "taxRate": "number",
    "serviceFees": "number",
    "transferFees": "number",
    "addPrice": "boolean",
    "damageReportHint": "string",
    "coverageType": "string",
    "coverageSum": "number",
    "insuranceBase": "string",
    "riskCarrierName": "string",
    "riskCarrierAddress": "string",
    "insuranceBenefits": [
      {
        "name": "string",
        "description": "string"
      }
    ],
    "pibHeadline": "string",
    "pib": {
      "title": "string",
      "productTitle": "string",
      "preliminaryNote": "string",
      "insuranceType": "string",
      "insured": "string",
      "notInsured": "string",
      "coverRestrictions": "string",
      "where": "string",
      "obligations": "string",
      "payment": "string",
      "coverageDates": "string",
      "cancellation": "string",
      "notes": "string"
    },
    "pibAttributes": [
      {
        "name": "string",
        "description": "string"
      }
    ],
    "variants": [
      {
        "key": "string",
        "value": "string"
      }
    ],
    "policyAttributes": [
      {
        "key": "string",
        "value": "string",
        "type": "string"
      }
    ],
    "productAttributes": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  }
}
200 OK

OK

type
string (byte)
400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json, application/pdf
Response Example (200 OK)
"string (byte)"

Generate a pib

PUT /v1/documents/pibs

Creates a new PIB.

undefined

Request Content-Types: application/json
Request Example
{
  "uuid": "string (uuid)",
  "salesChannel": "string",
  "certNumber": "string",
  "customers": [
    {
      "uuid": "string (uuid)",
      "firstName": "string",
      "lastName": "string",
      "birthDate": "string (date-time)",
      "hepNumber": "string",
      "street": "string",
      "zipCode": "string",
      "city": "string",
      "countryCd": "string"
    }
  ],
  "partners": [
    {
      "firstName": "string",
      "lastName": "string",
      "birthDate": "string (date-time)"
    }
  ],
  "product": {
    "qualityName": "string",
    "productName": "string",
    "contractStartDate": "string (date-time)",
    "contractEndDate": "string (date-time)",
    "finalPrice": "number",
    "originalPrice": "number",
    "insuranceTax": "number",
    "taxRate": "number",
    "serviceFees": "number",
    "transferFees": "number",
    "addPrice": "boolean",
    "damageReportHint": "string",
    "coverageType": "string",
    "coverageSum": "number",
    "insuranceBase": "string",
    "riskCarrierName": "string",
    "riskCarrierAddress": "string",
    "insuranceBenefits": [
      {
        "name": "string",
        "description": "string"
      }
    ],
    "pibHeadline": "string",
    "pib": {
      "title": "string",
      "productTitle": "string",
      "preliminaryNote": "string",
      "insuranceType": "string",
      "insured": "string",
      "notInsured": "string",
      "coverRestrictions": "string",
      "where": "string",
      "obligations": "string",
      "payment": "string",
      "coverageDates": "string",
      "cancellation": "string",
      "notes": "string"
    },
    "pibAttributes": [
      {
        "name": "string",
        "description": "string"
      }
    ],
    "variants": [
      {
        "key": "string",
        "value": "string"
      }
    ],
    "policyAttributes": [
      {
        "key": "string",
        "value": "string",
        "type": "string"
      }
    ],
    "productAttributes": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  }
}
200 OK

OK

type
string (byte)
400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json, application/pdf
Response Example (200 OK)
"string (byte)"

Retrieve orders of customer

GET /v1/lookup/hepNumber

Fetches all orders of a customer by hepNumber.

hepNumber: string
in query

(no description)

200 OK

OK

type
400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "string (uuid)",
    "paymentReference": "string (uuid)",
    "orderNumber": "string",
    "salesPartnerId": "integer (int64)",
    "campaign": "string",
    "salesChannel": "string",
    "finalPrice": "number",
    "contract": {
      "installments": "integer (int32)",
      "type": "string",
      "shopperReference": "string (uuid)",
      "externalContractReference": "string"
    },
    "paymentMethod": "string",
    "currencyCd": "string",
    "status": "BKD",
    "partnerId": "string (uuid)",
    "paymentCollection": "string",
    "customers": [
      {
        "id": "string (uuid)",
        "firstName": "string",
        "lastName": "string",
        "hepNumber": "string",
        "birthDate": "string (date-time)",
        "street": "string",
        "zipCode": "string",
        "city": "string",
        "email": "string",
        "countryCd": "string",
        "invoiceNumber": "string",
        "invoiceKey": "string",
        "cartItems": [
          {
            "id": "string (uuid)",
            "productId": "string (uuid)",
            "qualityId": "string (uuid)",
            "coverageSum": "number",
            "coverageDuration": "integer (int32)",
            "coverageEndDate": "string (date-time)",
            "coverageAmount": "integer (int32)",
            "partners": [
              {
                "firstName": "string",
                "lastName": "string",
                "birthDate": "string (date-time)"
              }
            ],
            "durationTimeUnit": "string",
            "coverageType": "string",
            "price": "number",
            "certificateNumber": "string",
            "certificateKey": "string",
            "policySummary": "string",
            "policyAttributes": [
              {
                "key": "string",
                "value": "string"
              }
            ],
            "variants": [
              {
                "key": "string",
                "value": "string",
                "options": [
                  {
                    "id": "integer (int64)",
                    "key": "string",
                    "value": "string"
                  }
                ]
              }
            ],
            "contractStartDate": "string (date-time)",
            "contractEndDate": "string (date-time)",
            "customer": {
              "id": "string (uuid)",
              "firstName": "string",
              "lastName": "string",
              "hepNumber": "string",
              "birthDate": "string (date-time)",
              "street": "string",
              "zipCode": "string",
              "city": "string",
              "email": "string",
              "countryCd": "string",
              "invoiceNumber": "string",
              "invoiceKey": "string",
              "cartItems": [
                {
                  "id": "string (uuid)",
                  "productId": "string (uuid)",
                  "qualityId": "string (uuid)",
                  "coverageSum": "number",
                  "coverageDuration": "integer (int32)",
                  "coverageEndDate": "string (date-time)",
                  "coverageAmount": "integer (int32)"
                }
              ]
            }
          }
        ]
      }
    ]
  }
]

Retrieve a product information sheet

GET /v1/orders/{orderId}/customers/{customerId}/cartitems/{cartItemId}/pib

Fetches a product information sheet of a cart item of an existing order.

orderId: string (uuid)
in path

(no description)

customerId: string (uuid)
in path

(no description)

cartItemId: string (uuid)
in path

(no description)

200 OK

OK

type
string (byte)
400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json, application/pdf
Response Example (200 OK)
"string (byte)"

Updates docs

POST /v1/orders/{orderId}/customers/{customerId}/cartitems/{cartItemId}/userDocuments

Uploads one document for a certain Product in a certain Order from a certain Customer

orderId: string (uuid)
in path

(no description)

customerId: string (uuid)
in path

(no description)

cartItemId: string (uuid)
in path

(no description)

attachment: file
in formData

(no description)

OK

400 Bad Request

Invalid data

401 Unauthorized

Not authorized

Response Content-Types: application/json
Response Example (200 OK)
{
  "success": "boolean",
  "code": "integer (int32)"
}

Schema Definitions

CartItemDto: object

id: string (uuid)
productId: string (uuid)
qualityId: string (uuid)
coverageSum: number x ≥ 0
coverageDuration: integer (int32) x ≥ 1
coverageEndDate: string (date-time)
coverageAmount: integer (int32) x ≥ 1
partners: PartnerDto
PartnerDto
durationTimeUnit: string HOURS, DAYS, YEARS, END_DATE
coverageType: string THING, PERSON, EVENT
price: number
certificateNumber: string
certificateKey: string
policySummary: string
policyAttributes: PolicyAttributeDto
PolicyAttributeDto
variants: VariantDto
VariantDto
contractStartDate: string (date-time)
contractEndDate: string (date-time)
customer: CustomerDto
userDocumentCount: integer (int32)
Example
{
  "id": "string (uuid)",
  "productId": "string (uuid)",
  "qualityId": "string (uuid)",
  "coverageSum": "number",
  "coverageDuration": "integer (int32)",
  "coverageEndDate": "string (date-time)",
  "coverageAmount": "integer (int32)",
  "partners": [
    {
      "firstName": "string",
      "lastName": "string",
      "birthDate": "string (date-time)"
    }
  ],
  "durationTimeUnit": "string",
  "coverageType": "string",
  "price": "number",
  "certificateNumber": "string",
  "certificateKey": "string",
  "policySummary": "string",
  "policyAttributes": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "variants": [
    {
      "key": "string",
      "value": "string",
      "options": [
        {
          "id": "integer (int64)",
          "key": "string",
          "value": "string"
        }
      ]
    }
  ],
  "contractStartDate": "string (date-time)",
  "contractEndDate": "string (date-time)",
  "customer": {
    "id": "string (uuid)",
    "firstName": "string",
    "lastName": "string",
    "hepNumber": "string",
    "birthDate": "string (date-time)",
    "street": "string",
    "zipCode": "string",
    "city": "string",
    "email": "string",
    "countryCd": "string",
    "invoiceNumber": "string",
    "invoiceKey": "string",
    "cartItems": [
      {
        "id": "string (uuid)",
        "productId": "string (uuid)",
        "qualityId": "string (uuid)",
        "coverageSum": "number",
        "coverageDuration": "integer (int32)",
        "coverageEndDate": "string (date-time)",
        "coverageAmount": "integer (int32)",
        "partners": [
          {
            "firstName": "string",
            "lastName": "string",
            "birthDate": "string (date-time)"
          }
        ],
        "durationTimeUnit": "string",
        "coverageType": "string",
        "price": "number",
        "certificateNumber": "string",
        "certificateKey": "string",
        "policySummary": "string",
        "policyAttributes": [
          {
            "key": "string",
            "value": "string"
          }
        ],
        "variants": [
          {
            "key": "string",
            "value": "string",
            "options": [
              {
                "id": "integer (int64)",
                "key": "string",
                "value": "string"
              }
            ]
          }
        ],
        "contractStartDate": "string (date-time)",
        "contractEndDate": "string (date-time)",
        "customer": {
          "id": "string (uuid)",
          "firstName": "string",
          "lastName": "string",
          "hepNumber": "string",
          "birthDate": "string (date-time)",
          "street": "string"
        }
      }
    ]
  }
}

ContractOrderDto: object

installments: integer (int32) 1 ≤ x ≤ 12
type: string RECURRING, SINGLE
shopperReference: string (uuid)
externalContractReference: string
Example
{
  "installments": "integer (int32)",
  "type": "string",
  "shopperReference": "string (uuid)",
  "externalContractReference": "string"
}

CustomerDto: object

id: string (uuid)
firstName: string
lastName: string
hepNumber: string
birthDate: string (date-time)
street: string
zipCode: string
city: string
email: string
countryCd: string
invoiceNumber: string
invoiceKey: string
cartItems: CartItemDto
CartItemDto
order: OrderDto
invoiceRecipient: boolean
confirmationRecipient: boolean
isInvoiceRecipient: boolean
isConfirmationRecipient: boolean
Example
{
  "id": "string (uuid)",
  "firstName": "string",
  "lastName": "string",
  "hepNumber": "string",
  "birthDate": "string (date-time)",
  "street": "string",
  "zipCode": "string",
  "city": "string",
  "email": "string",
  "countryCd": "string",
  "invoiceNumber": "string",
  "invoiceKey": "string",
  "cartItems": [
    {
      "id": "string (uuid)",
      "productId": "string (uuid)",
      "qualityId": "string (uuid)",
      "coverageSum": "number",
      "coverageDuration": "integer (int32)",
      "coverageEndDate": "string (date-time)",
      "coverageAmount": "integer (int32)",
      "partners": [
        {
          "firstName": "string",
          "lastName": "string",
          "birthDate": "string (date-time)"
        }
      ],
      "durationTimeUnit": "string",
      "coverageType": "string",
      "price": "number",
      "certificateNumber": "string",
      "certificateKey": "string",
      "policySummary": "string",
      "policyAttributes": [
        {
          "key": "string",
          "value": "string"
        }
      ],
      "variants": [
        {
          "key": "string",
          "value": "string",
          "options": [
            {
              "id": "integer (int64)",
              "key": "string",
              "value": "string"
            }
          ]
        }
      ],
      "contractStartDate": "string (date-time)",
      "contractEndDate": "string (date-time)",
      "customer": {
        "id": "string (uuid)",
        "firstName": "string",
        "lastName": "string",
        "hepNumber": "string",
        "birthDate": "string (date-time)",
        "street": "string",
        "zipCode": "string",
        "city": "string",
        "email": "string",
        "countryCd": "string",
        "invoiceNumber": "string",
        "invoiceKey": "string",
        "cartItems": [
          {
            "id": "string (uuid)",
            "productId": "string (uuid)",
            "qualityId": "string (uuid)",
            "coverageSum": "number",
            "coverageDuration": "integer (int32)",
            "coverageEndDate": "string (date-time)",
            "coverageAmount": "integer (int32)",
            "partners": [
              {
                "firstName": "string",
                "lastName": "string",
                "birthDate": "string (date-time)"
              }
            ],
            "durationTimeUnit": "string",
            "coverageType": "string",
            "price": "number",
            "certificateNumber": "string",
            "certificateKey": "string",
            "policySummary": "string",
            "policyAttributes": [
              {
                "key": "string",
                "value": "string"
              }
            ],
            "variants": [
              {
                "key": "string",
                "value": "string",
                "options": [
                  null
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}

OptionDto: object

id: integer (int64)
key: string
value: string
Example
{
  "id": "integer (int64)",
  "key": "string",
  "value": "string"
}

OrderDto: object

id: string (uuid)
paymentReference: string (uuid)
orderNumber: string
salesPartnerId: integer (int64)
campaign: string
salesChannel: string
finalPrice: number
contract: ContractOrderDto
paymentMethod: string MASTERCARD, VISA, AMERICAN_EXPRESS, PAYPAL, SEPA_DIRECT_DEBIT, DIRECT_EBANKING, INVOICE, VOUCHER
currencyCd: string
status: string PDG, BKD, CXL, CSD, PRL
partnerId: string (uuid)
paymentCollection: string DIRECT, PARTNER
customers: CustomerDto
CustomerDto
vouchers: VoucherDto
VoucherDto
orderDate: string (date-time)
createdDate: string (date-time)
Example
{
  "id": "string (uuid)",
  "paymentReference": "string (uuid)",
  "orderNumber": "string",
  "salesPartnerId": "integer (int64)",
  "campaign": "string",
  "salesChannel": "string",
  "finalPrice": "number",
  "contract": {
    "installments": "integer (int32)",
    "type": "string",
    "shopperReference": "string (uuid)",
    "externalContractReference": "string"
  },
  "paymentMethod": "string",
  "currencyCd": "string",
  "status": "BKD",
  "partnerId": "string (uuid)",
  "paymentCollection": "string",
  "customers": [
    {
      "id": "string (uuid)",
      "firstName": "string",
      "lastName": "string",
      "hepNumber": "string",
      "birthDate": "string (date-time)",
      "street": "string",
      "zipCode": "string",
      "city": "string",
      "email": "string",
      "countryCd": "string",
      "invoiceNumber": "string",
      "invoiceKey": "string",
      "cartItems": [
        {
          "id": "string (uuid)",
          "productId": "string (uuid)",
          "qualityId": "string (uuid)",
          "coverageSum": "number",
          "coverageDuration": "integer (int32)",
          "coverageEndDate": "string (date-time)",
          "coverageAmount": "integer (int32)",
          "partners": [
            {
              "firstName": "string",
              "lastName": "string",
              "birthDate": "string (date-time)"
            }
          ],
          "durationTimeUnit": "string",
          "coverageType": "string",
          "price": "number",
          "certificateNumber": "string",
          "certificateKey": "string",
          "policySummary": "string",
          "policyAttributes": [
            {
              "key": "string",
              "value": "string"
            }
          ],
          "variants": [
            {
              "key": "string",
              "value": "string",
              "options": [
                {
                  "id": "integer (int64)",
                  "key": "string",
                  "value": "string"
                }
              ]
            }
          ],
          "contractStartDate": "string (date-time)",
          "contractEndDate": "string (date-time)",
          "customer": {
            "id": "string (uuid)",
            "firstName": "string",
            "lastName": "string",
            "hepNumber": "string",
            "birthDate": "string (date-time)",
            "street": "string",
            "zipCode": "string",
            "city": "string",
            "email": "string",
            "countryCd": "string",
            "invoiceNumber": "string",
            "invoiceKey": "string",
            "cartItems": [
              {
                "id": "string (uuid)",
                "productId": "string (uuid)",
                "qualityId": "string (uuid)",
                "coverageSum": "number",
                "coverageDuration": "integer (int32)",
                "coverageEndDate": "string (date-time)",
                "coverageAmount": "integer (int32)",
                "partners": [
                  null
                ]
              }
            ]
          }
        }
      ]
    }
  ]
}

PartnerDto: object

firstName: string
lastName: string
birthDate: string (date-time)
Example
{
  "firstName": "string",
  "lastName": "string",
  "birthDate": "string (date-time)"
}

PolicyAttributeDto: object

key: string
value: string
Example
{
  "key": "string",
  "value": "string"
}

VariantDto: object

key: string
value: string
options: OptionDto
OptionDto
Example
{
  "key": "string",
  "value": "string",
  "options": [
    {
      "id": "integer (int64)",
      "key": "string",
      "value": "string"
    }
  ]
}

VoucherDto: object

token: string
Example
{
  "token": "string"
}

SalesReportDto: object

Example
{
  "dataset": [
    {
      "date": "string (date-time)",
      "amount": "integer (int32)"
    }
  ]
}

SalesReportLine: object

date: string (date-time)
amount: integer (int32)
Example
{
  "date": "string (date-time)",
  "amount": "integer (int32)"
}

OrderResponseDto: object

id: string (uuid)
orderDate: string (date-time)
Example
{
  "id": "string (uuid)",
  "orderDate": "string (date-time)"
}

OrderProlongDto: object

salesPartnerId: integer (int64)
campaign: string
paymentReference: string (uuid)
finalPrice: number
currencyCd: string
salesChannel: string
coverageDuration: integer (int32) x ≥ 1
durationTimeUnit: string HOURS, DAYS, YEARS, END_DATE
Example
{
  "salesPartnerId": "integer (int64)",
  "campaign": "string",
  "paymentReference": "string (uuid)",
  "finalPrice": "number",
  "currencyCd": "string",
  "salesChannel": "string",
  "coverageDuration": "integer (int32)",
  "durationTimeUnit": "string"
}

OrderPatchDto: object

status: string PDG, BKD, CXL, CSD, PRL
successiveOrderId: string (uuid)
Example
{
  "status": "BKD",
  "successiveOrderId": "string (uuid)"
}

ContractDto: object

id: string (uuid)
certificateNumber: string
contractStartDate: string (date-time)
contractEndDate: string (date-time)
coverageAmount: integer (int32)
type: string RECURRING, SINGLE
status: string CANCELLED, ACTIVE, SUSPENDED
coverageDuration: integer (int32)
durationTimeUnit: string HOURS, DAYS, YEARS, END_DATE
coverageSum: number
cartItems: CartItemDto
CartItemDto
Example
{
  "id": "string (uuid)",
  "certificateNumber": "string",
  "contractStartDate": "string (date-time)",
  "contractEndDate": "string (date-time)",
  "coverageAmount": "integer (int32)",
  "type": "string",
  "status": "string",
  "coverageDuration": "integer (int32)",
  "durationTimeUnit": "string",
  "coverageSum": "number",
  "cartItems": [
    {
      "id": "string (uuid)",
      "productId": "string (uuid)",
      "qualityId": "string (uuid)",
      "coverageSum": "number",
      "coverageDuration": "integer (int32)",
      "coverageEndDate": "string (date-time)",
      "coverageAmount": "integer (int32)",
      "partners": [
        {
          "firstName": "string",
          "lastName": "string",
          "birthDate": "string (date-time)"
        }
      ],
      "durationTimeUnit": "string",
      "coverageType": "string",
      "price": "number",
      "certificateNumber": "string",
      "certificateKey": "string",
      "policySummary": "string",
      "policyAttributes": [
        {
          "key": "string",
          "value": "string"
        }
      ],
      "variants": [
        {
          "key": "string",
          "value": "string",
          "options": [
            {
              "id": "integer (int64)",
              "key": "string",
              "value": "string"
            }
          ]
        }
      ],
      "contractStartDate": "string (date-time)",
      "contractEndDate": "string (date-time)",
      "customer": {
        "id": "string (uuid)",
        "firstName": "string",
        "lastName": "string",
        "hepNumber": "string",
        "birthDate": "string (date-time)",
        "street": "string",
        "zipCode": "string",
        "city": "string",
        "email": "string",
        "countryCd": "string",
        "invoiceNumber": "string",
        "invoiceKey": "string",
        "cartItems": [
          {
            "id": "string (uuid)",
            "productId": "string (uuid)",
            "qualityId": "string (uuid)",
            "coverageSum": "number",
            "coverageDuration": "integer (int32)",
            "coverageEndDate": "string (date-time)",
            "coverageAmount": "integer (int32)",
            "partners": [
              {
                "firstName": "string",
                "lastName": "string",
                "birthDate": "string (date-time)"
              }
            ],
            "durationTimeUnit": "string",
            "coverageType": "string",
            "price": "number",
            "certificateNumber": "string",
            "certificateKey": "string",
            "policySummary": "string",
            "policyAttributes": [
              {
                "key": "string",
                "value": "string"
              }
            ],
            "variants": [
              {
                "key": "string",
                "value": "string",
                "options": [
                  {}
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}

CertificateUpdateDto: object

sendOrderConfirmation: boolean
Example
{
  "sendOrderConfirmation": true
}

DocumentCartItemDto: object

uuid: string (uuid)
productName: string
qualityName: string
coverageSum: number
coverageDuration: integer (int32)
coverageEndDate: string (date-time)
coverageAmount: integer (int32)
durationTimeUnit: string HOURS, DAYS, YEARS, END_DATE
coverageType: string THING, PERSON, EVENT
price: number
originalPrice: number
insuranceTax: number
taxRate: number
serviceFees: number
transferFees: number
discountAppliedAmount: number
contractStartDate: string (date-time)
contractEndDate: string (date-time)
partners: DocumentPartnerDto
DocumentPartnerDto
Example
{
  "uuid": "string (uuid)",
  "productName": "string",
  "qualityName": "string",
  "coverageSum": "number",
  "coverageDuration": "integer (int32)",
  "coverageEndDate": "string (date-time)",
  "coverageAmount": "integer (int32)",
  "durationTimeUnit": "string",
  "coverageType": "string",
  "price": "number",
  "originalPrice": "number",
  "insuranceTax": "number",
  "taxRate": "number",
  "serviceFees": "number",
  "transferFees": "number",
  "discountAppliedAmount": "number",
  "contractStartDate": "string (date-time)",
  "contractEndDate": "string (date-time)",
  "partners": [
    {
      "firstName": "string",
      "lastName": "string",
      "birthDate": "string (date-time)"
    }
  ]
}

DocumentCustomerDto: object

uuid: string (uuid)
firstName: string
lastName: string
birthDate: string (date-time)
hepNumber: string
street: string
zipCode: string
city: string
countryCd: string
Example
{
  "uuid": "string (uuid)",
  "firstName": "string",
  "lastName": "string",
  "birthDate": "string (date-time)",
  "hepNumber": "string",
  "street": "string",
  "zipCode": "string",
  "city": "string",
  "countryCd": "string"
}

DocumentOrderDto: object

uuid: string (uuid)
salesChannel: string
orderNumber: string
invoiceNumber: string
orderDate: string (date-time)
finalPrice: number
originalPrice: number
insuranceTax: number
taxRate: number
serviceFees: number
transferFees: number
discountAppliedAmount: number
currencyCd: string
customer: DocumentCustomerDto
cartItems: DocumentCartItemDto
DocumentCartItemDto
Example
{
  "uuid": "string (uuid)",
  "salesChannel": "string",
  "orderNumber": "string",
  "invoiceNumber": "string",
  "orderDate": "string (date-time)",
  "finalPrice": "number",
  "originalPrice": "number",
  "insuranceTax": "number",
  "taxRate": "number",
  "serviceFees": "number",
  "transferFees": "number",
  "discountAppliedAmount": "number",
  "currencyCd": "string",
  "customer": {
    "uuid": "string (uuid)",
    "firstName": "string",
    "lastName": "string",
    "birthDate": "string (date-time)",
    "hepNumber": "string",
    "street": "string",
    "zipCode": "string",
    "city": "string",
    "countryCd": "string"
  },
  "cartItems": [
    {
      "uuid": "string (uuid)",
      "productName": "string",
      "qualityName": "string",
      "coverageSum": "number",
      "coverageDuration": "integer (int32)",
      "coverageEndDate": "string (date-time)",
      "coverageAmount": "integer (int32)",
      "durationTimeUnit": "string",
      "coverageType": "string",
      "price": "number",
      "originalPrice": "number",
      "insuranceTax": "number",
      "taxRate": "number",
      "serviceFees": "number",
      "transferFees": "number",
      "discountAppliedAmount": "number",
      "contractStartDate": "string (date-time)",
      "contractEndDate": "string (date-time)",
      "partners": [
        {
          "firstName": "string",
          "lastName": "string",
          "birthDate": "string (date-time)"
        }
      ]
    }
  ]
}

DocumentPartnerDto: object

firstName: string
lastName: string
birthDate: string (date-time)
Example
{
  "firstName": "string",
  "lastName": "string",
  "birthDate": "string (date-time)"
}

DocumentCertDto: object

uuid: string (uuid)
salesChannel: string
certNumber: string
customers: DocumentCustomerDto
DocumentCustomerDto
partners: DocumentPartnerDto
DocumentPartnerDto
product: DocumentProductDto
Example
{
  "uuid": "string (uuid)",
  "salesChannel": "string",
  "certNumber": "string",
  "customers": [
    {
      "uuid": "string (uuid)",
      "firstName": "string",
      "lastName": "string",
      "birthDate": "string (date-time)",
      "hepNumber": "string",
      "street": "string",
      "zipCode": "string",
      "city": "string",
      "countryCd": "string"
    }
  ],
  "partners": [
    {
      "firstName": "string",
      "lastName": "string",
      "birthDate": "string (date-time)"
    }
  ],
  "product": {
    "qualityName": "string",
    "productName": "string",
    "contractStartDate": "string (date-time)",
    "contractEndDate": "string (date-time)",
    "finalPrice": "number",
    "originalPrice": "number",
    "insuranceTax": "number",
    "taxRate": "number",
    "serviceFees": "number",
    "transferFees": "number",
    "addPrice": "boolean",
    "damageReportHint": "string",
    "coverageType": "string",
    "coverageSum": "number",
    "insuranceBase": "string",
    "riskCarrierName": "string",
    "riskCarrierAddress": "string",
    "insuranceBenefits": [
      {
        "name": "string",
        "description": "string"
      }
    ],
    "pibHeadline": "string",
    "pib": {
      "title": "string",
      "productTitle": "string",
      "preliminaryNote": "string",
      "insuranceType": "string",
      "insured": "string",
      "notInsured": "string",
      "coverRestrictions": "string",
      "where": "string",
      "obligations": "string",
      "payment": "string",
      "coverageDates": "string",
      "cancellation": "string",
      "notes": "string"
    },
    "pibAttributes": [
      {
        "name": "string",
        "description": "string"
      }
    ],
    "variants": [
      {
        "key": "string",
        "value": "string"
      }
    ],
    "policyAttributes": [
      {
        "key": "string",
        "value": "string",
        "type": "string"
      }
    ],
    "productAttributes": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  }
}

DocumentPibDto: object

title: string
productTitle: string
preliminaryNote: string
insuranceType: string
insured: string
notInsured: string
coverRestrictions: string
where: string
obligations: string
payment: string
coverageDates: string
cancellation: string
notes: string
Example
{
  "title": "string",
  "productTitle": "string",
  "preliminaryNote": "string",
  "insuranceType": "string",
  "insured": "string",
  "notInsured": "string",
  "coverRestrictions": "string",
  "where": "string",
  "obligations": "string",
  "payment": "string",
  "coverageDates": "string",
  "cancellation": "string",
  "notes": "string"
}

DocumentPolicyAttributeDto: object

key: string
value: string
type: string
Example
{
  "key": "string",
  "value": "string",
  "type": "string"
}

DocumentProductAttributeDto: object

key: string
value: string
Example
{
  "key": "string",
  "value": "string"
}

DocumentProductDto: object

qualityName: string
productName: string
contractStartDate: string (date-time)
contractEndDate: string (date-time)
finalPrice: number
originalPrice: number
insuranceTax: number
taxRate: number
serviceFees: number
transferFees: number
addPrice: boolean
damageReportHint: string
coverageType: string THING, PERSON, EVENT
coverageSum: number
insuranceBase: string
riskCarrierName: string
riskCarrierAddress: string
insuranceBenefits: MediaItemDto
MediaItemDto
pibHeadline: string
pib: DocumentPibDto
pibAttributes: MediaItemDto
MediaItemDto
variants: DocumentVariantDto
DocumentVariantDto
policyAttributes: DocumentPolicyAttributeDto
DocumentPolicyAttributeDto
productAttributes: DocumentProductAttributeDto
DocumentProductAttributeDto
Example
{
  "qualityName": "string",
  "productName": "string",
  "contractStartDate": "string (date-time)",
  "contractEndDate": "string (date-time)",
  "finalPrice": "number",
  "originalPrice": "number",
  "insuranceTax": "number",
  "taxRate": "number",
  "serviceFees": "number",
  "transferFees": "number",
  "addPrice": "boolean",
  "damageReportHint": "string",
  "coverageType": "string",
  "coverageSum": "number",
  "insuranceBase": "string",
  "riskCarrierName": "string",
  "riskCarrierAddress": "string",
  "insuranceBenefits": [
    {
      "name": "string",
      "description": "string"
    }
  ],
  "pibHeadline": "string",
  "pib": {
    "title": "string",
    "productTitle": "string",
    "preliminaryNote": "string",
    "insuranceType": "string",
    "insured": "string",
    "notInsured": "string",
    "coverRestrictions": "string",
    "where": "string",
    "obligations": "string",
    "payment": "string",
    "coverageDates": "string",
    "cancellation": "string",
    "notes": "string"
  },
  "pibAttributes": [
    {
      "name": "string",
      "description": "string"
    }
  ],
  "variants": [
    {
      "key": "string",
      "value": "string"
    }
  ],
  "policyAttributes": [
    {
      "key": "string",
      "value": "string",
      "type": "string"
    }
  ],
  "productAttributes": [
    {
      "key": "string",
      "value": "string"
    }
  ]
}

DocumentVariantDto: object

key: string
value: string
Example
{
  "key": "string",
  "value": "string"
}

MediaItemDto: object

name: string
description: string
Example
{
  "name": "string",
  "description": "string"
}

DocumentUploadDto: object

success: boolean
code: integer (int32)
Example
{
  "success": "boolean",
  "code": "integer (int32)"
}