Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions code/API_definitions/customer-insights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ components:
- An identifier is not included in the request and the device or phone number identification cannot be derived from the 3-legged access token ("code": "MISSING_IDENTIFIER","message": "The phone number cannot be identified.")
- An explicit identifier is provided when a device or phone number has already been identified from the access token ("code": "UNNECESSARY_IDENTIFIER","message": "The phone number is already identified by the access token.")
- Provided `scoringType` value is not supported. (`"code": "CUSTOMER_INSIGHTS.SCALE_TYPE_NOT_SUPPORTED","message": "Indicated parameter scoringType is not supported."`)
- Provided `idDocument` is not consistent with the phone number. (`"code": "CUSTOMER_INSIGHTS.IDENTIFIERS_MISMATCH","message": "Provided idDocument is not consistent with the phone number."`)
- Provided `idDocument` is not consistent with the phone number. (`"code": "CUSTOMER_INSIGHTS.INVALID_IDENTIFIERS","message": "The request contains invalid data."`)
- Provided `idDocument` field is not supported. (`"code": "CUSTOMER_INSIGHTS.ID_DOCUMENT_NOT_SUPPORTED","message": "Indicated parameter idDocument is not supported"`)
- Required `idDocument` field and it is not provided. (`"code": "CUSTOMER_INSIGHTS.ID_DOCUMENT_REQUIRED","message": "The idDocument is required to perform the properties validation."`)
headers:
Expand All @@ -431,7 +431,7 @@ components:
- MISSING_IDENTIFIER
- UNNECESSARY_IDENTIFIER
- CUSTOMER_INSIGHTS.SCALE_TYPE_NOT_SUPPORTED
- CUSTOMER_INSIGHTS.IDENTIFIERS_MISMATCH
- CUSTOMER_INSIGHTS.INVALID_IDENTIFIERS
- CUSTOMER_INSIGHTS.ID_DOCUMENT_NOT_SUPPORTED
- CUSTOMER_INSIGHTS.ID_DOCUMENT_REQUIRED
examples:
Expand Down Expand Up @@ -459,12 +459,12 @@ components:
status: 422
code: CUSTOMER_INSIGHTS.SCALE_TYPE_NOT_SUPPORTED
message: Indicated parameter `scoringType` is not supported.
GENERIC_422_IDENTIFIERS_MISMATCH:
description: Error when provided `idDocument` is not consistent with the phone number.
GENERIC_422_INVALID_IDENTIFIERS:
description: The request contains invalid data identifying customer
value:
status: 422
code: CUSTOMER_INSIGHTS.IDENTIFIERS_MISMATCH
message: Provided `idDocument` is not consistent with the phone number.
code: CUSTOMER_INSIGHTS.INVALID_IDENTIFIERS
message: The request contains invalid data.
GENERIC_422_ID_DOCUMENT_NOT_SUPPORTED:
description: Error when `idDocument` field is not supported
value:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Feature: CAMARA Customer Insights API, v0.2.0-rc.1 - Operation retrieveScoring
When the request "retrieveScoring" is sent
Then the response status code is 422
And the response property "$.status" is 422
And the response property "$.code" is "CUSTOMER_INSIGHTS.IDENTIFIERS_MISMATCH"
And the response property "$.code" is "CUSTOMER_INSIGHTS.INVALID_IDENTIFIERS"
And the response property "$.message" contains a user friendly text

@retrieve_scoring_422.03_id_document_not_supported_three_legged
Expand Down