Paths
/v1/channels/bne/customers/widget
Add or update customer widget preference
This API is used to add or update customer widget preference
Content-Types that are acceptable for the response
List of acceptable human languages for response
The Authorization Token recieved during login
channel where request originated
Client ID generated during application registration
Content-Types that are sent in the request
128 bit UUID that you generate for every request
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidCard | Card not found or invalid |
invalid | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error |
/v1/channels/bne/customers/widget/delete
API to delete the customer widget preference
This API is used to delete the customer widget preference
Content-Types that are acceptable for the response
List of acceptable human languages for response
The Authorization Token recieved during login
channel where request originated
Client ID generated during application registration
Content-Types that are sent in the request
128 bit UUID that you generate for every request
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 |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/channels/bne/customers/widget/search
Fetch customer widget preference
This API is to fetch customer widget preference
Content-Types that are acceptable for the response
List of acceptable human languages for response
The Authorization Token recieved during login
channel where request originated
Client ID generated during application registration
Content-Types that are sent in the request
128 bit UUID that you generate for every request
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 |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/channels/bne/customers/widget/{pageId}/admin
Add or update Master list widget preference
This API is to add or update master list widget preference
Content-Types that are acceptable for the response
List of acceptable human languages for response
The Authorization Token recieved during login
channel where request originated
Client ID generated during application registration
Content-Types that are sent in the request
128 bit UUID that you generate for every request
SessionId sent by Consumer
unique identifier of the page on which widget is placed
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 |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
Fetch the master list widget preference
This API is to fetch the master list widget preference
Content-Types that are acceptable for the response
List of acceptable human languages for response
The Authorization Token recieved during login
channel where request originated
Client ID generated during application registration
Content-Types that are sent in the request
128 bit UUID that you generate for every request
SessionId sent by Consumer
unique identifier of the page on which widget is placed
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 |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
Definitions
{
"type": "object",
"properties": {
"lastUpdatedDateTimestamp": {
"description": "Last Updated DateTimestamp whenever any add, update, delete happens in Customer Preference.",
"type": "string",
"example": "1997-07-16T19:20:30.45+01:00"
},
"customerPreference": {
"description": "This will be the widget details entered by the consumer as per his needs",
"type": "string",
"example": "[{widgetId:1234 , widgetPreference:2}]"
},
"customerId": {
"description": "Unique Identifier for customer",
"type": "string",
"example": "123456789012",
"maxLength": 12
},
"legalRepresentativeId": {
"description": "Unique Identifier for representative",
"type": "string",
"example": "01",
"maxLength": 2
},
"pageId": {
"description": "Page Id",
"type": "string",
"example": "SCR01"
}
},
"required": [
"customerPreference",
"customerId",
"legalRepresentativeId",
"pageId"
]
}
{
"type": "object",
"properties": {
"customerId": {
"description": "Unique Identifier for customer",
"type": "string",
"example": "123456789012",
"maxLength": 12
},
"legalRepresentativeId": {
"description": "Unique Identifier for representative",
"type": "string",
"example": "01",
"maxLength": 2
},
"pageId": {
"description": "Page Id",
"type": "string",
"example": "SCR01"
}
},
"required": [
"customerId",
"legalRepresentativeId",
"pageId"
]
}
{
"type": "object",
"properties": {
"customerId": {
"description": "Unique Identifier for customer",
"type": "string",
"example": "123456789012",
"maxLength": 12
},
"legalRepresentativeId": {
"description": "Unique Identifier for representative",
"type": "string",
"example": "01",
"maxLength": 2
},
"pageId": {
"description": "Page Id",
"type": "string",
"example": "SCR01"
}
},
"required": [
"customerId",
"legalRepresentativeId",
"pageId"
]
}
{
"type": "object",
"properties": {
"lastUpdatedDateTimestamp": {
"description": "Last Updated DateTimestamp whenever any add, update, delete happens in Customer Preference.",
"type": "string",
"example": "1997-07-16T19:20:30.45+01:00"
},
"customerPreference": {
"description": "This will be the widget details entered by the consumer as per his needs",
"type": "string",
"example": "[{widgetId:1234 , widgetPreference:2}]"
}
}
}
{
"type": "object",
"properties": {
"lastUpdatedDateTimestamp": {
"description": "Last Updated DateTimestamp whenever any add, update, delete happens in Customer Preference.",
"type": "string",
"example": "1997-07-16T19:20:30.45+01:00"
},
"masterPreference": {
"description": "This will be the widget details entered by the consumer as per his needs",
"type": "string",
"example": "[{widgetId:1234 , widgetPreference:2}]"
}
}
}
{
"type": "object",
"properties": {
"lastUpdatedDateTimestamp": {
"description": "Last Updated DateTimestamp whenever any add, update, delete happens in Customer Preference.",
"type": "string",
"example": "1997-07-16T19:20:30.45+01:00"
},
"masterPreference": {
"description": "This will be the widget details entered by the consumer as per his needs",
"type": "string",
"example": "[{widgetId:1234 , widgetPreference:2}]"
}
},
"required": [
"masterPreference"
]
}
{
"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 of the error",
"type": "string"
}
},
"required": [
"type",
"code"
]
}