Paths
/v1/customers/employers
LOB: Data Analytics, Feature: Customer´s Employer Information, Functionality: Insert customer´s employer information.
The API manages the insertion of information of the client's employer indicated in the input parameters.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Country code in 2 character ISO 3166 format
Business code identified during application registration
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
LOB: Data Analytics, Feature: Customer´s Employer Information, Functionality: Update customer´s employer information.
The API manages the update of the information of the client's employer indicated in the input parameters.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Country code in 2 character ISO 3166 format
Business code identified during application registration
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/customers/employers/retrieve
LOB: Data Analytics, Feature: Customer´s Employer Information, Functionality: Retrieve customer´s employer information.
The API manages the information query of the client's employer indicated in the input parameters.
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Country code in 2 character ISO 3166 format
Business code identified during application registration
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
Definitions
{
"type": "object",
"properties": {
"customer": {
"$ref": "#/definitions/Customer"
},
"sourceSystem": {
"description": "Identifier of the consuming source system (this data is sent by the front).",
"type": "string",
"example": "105099",
"maxLength": 6
},
"stationName": {
"description": "Identifier of the system that is attends the session of the client (this data is sent by the front).",
"type": "string",
"example": "Y1050X99",
"maxLength": 8
},
"employeeId": {
"description": "Identifier of the employee (this data is sent by the front).",
"type": "string",
"example": "0020007248",
"maxLength": 10
}
},
"required": [
"customer",
"sourceSystem",
"stationName",
"employeeId"
]
}
{
"type": "object",
"properties": {
"customerId": {
"description": "Unique identifier of the customer.",
"type": "string",
"example": "000004945914",
"maxLength": 12
},
"sourceSystem": {
"description": "Identifier of the consuming source system (this data is sent by the front).",
"type": "string",
"example": "105099",
"maxLength": 6
},
"stationName": {
"description": "Identifier of the system that is attends the session of the client (this data is sent by the front).",
"type": "string",
"example": "Y1050X99",
"maxLength": 8
},
"employeeId": {
"description": "Identifier of the employee (this data is sent by the front).",
"type": "string",
"example": "0020007248",
"maxLength": 10
}
},
"required": [
"customerId",
"sourceSystem",
"stationName",
"employeeId"
]
}
{
"type": "object",
"properties": {
"customer": {
"$ref": "#/definitions/Customer"
}
}
}
{
"type": "object",
"properties": {
"customerId": {
"description": "Unique identifier of the customer.",
"type": "string",
"example": "000004945914",
"maxLength": 12
},
"fullName": {
"description": "Client's full legal name.",
"type": "string",
"example": "Luis Sergio Del Carmen Juarez",
"maxLength": 170
},
"incomeSourceCode": {
"description": "Customer income source code, according to D835 catalog.",
"type": "string",
"example": "14",
"maxLength": 4
},
"demographics": {
"$ref": "#/definitions/Demographics"
},
"employment": {
"$ref": "#/definitions/Employment"
}
},
"required": [
"customerId"
]
}
{
"type": "object",
"properties": {
"countryOfBirthCode": {
"description": "Country of birth code, according to D000755 catalog.",
"type": "string",
"example": "2",
"maxLength": 8
},
"stateOfBirthCode": {
"description": "State of birth code, according to D000060 catalog. Use value 33 for foreign.",
"type": "string",
"example": "33",
"maxLength": 2
}
}
}
{
"type": "object",
"properties": {
"employerName": {
"description": "Employer name of customer.",
"type": "string",
"example": "Cifra S.A. de C.V.",
"maxLength": 40
}
}
}
{
"properties": {
"type": {
"type": "string",
"description": "Invalid - Request did not confirm to the specification and was unprocessed and rejected. Please fix the value and try again",
"enum": [
"error",
"warn",
"invalid",
"fatal"
]
},
"code": {
"description": "Error code which qualifies the error",
"type": "string"
},
"details": {
"description": "Human readable explanation specific to the occurrence of the problem",
"type": "string"
},
"location": {
"description": "The name of the field that resulted in the error",
"type": "string"
},
"moreInfo": {
"description": "URI to human readable documentation or detailed description of the error",
"type": "string"
}
},
"required": [
"type",
"code"
]
}