Methods

  • post - Create PriceRequest
  • post - Create PriceInfo
  • post - Create PriceRequest
  • post - Create Lead
  • post - Create Lead

Resource

{
    "code": "string",
    "errorId": "string",
    "parameters": [
        {
            "code": "string",
            "name": "string"
        }
    ]
}

Properties

Name Type Description Additional
code string

The error code

Possible values are:

  • validation_error
errorId string

The error unique identification number for tracing purpose

parameters[] array Optional
parameters[].code string

The validation code error

Possible values are:

  • mandatory_field
  • out_of_range
  • invalid_format
  • invalid_value
Optional
parameters[].name string

The field name that failed validation. This is represented as a javascript object property naviation. An example would be risk.drivers[1].birthDate for the parameter name.

Optional

Example

{
    "code": "validation_error",
    "errorId": "ae43adf7-3619-437d-bc67-e00c49637da0",
    "parameters": [
        {
            "code": "mandatory_field",
            "name": "partner.productAgreementLabel"
        },
        {
            "code": "out_of_range",
            "name": "risk.drivers[1].birthDate"
        }
    ]
}