Adds a new corecustomers
post
/service/corecustomers
This endpoint is used to add a new core customers.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
sourceCode: string
includecloseandunauth need to be set to fetch summary record, defult value is false
Request Body that contains data required for creating a new corecustomers
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CoreCustomerDTO-allOf[1]
Type:
Show Source
object
-
addressLine1(optional):
string
Minimum Length:
0
Maximum Length:35
First line of the customer?s address -
addressLine2(optional):
string
Minimum Length:
0
Maximum Length:35
Second line of the customer?s address -
addressLine3(optional):
string
Minimum Length:
0
Maximum Length:35
Third line of the customer?s address -
addressLine4(optional):
string
Minimum Length:
0
Maximum Length:35
Fourth line of the customer?s address -
country(optional):
string
Pattern:
([a-zA-Z0-9]+)?
Country code of the customer?s address -
customerCategory(optional):
string
Category to which the customer belongs to
-
customerName1:
string
Minimum Length:
0
Maximum Length:35
Pattern:([a-zA-Z0-9\s]+)?
Name of the external customer -
customerNo:
string
Minimum Length:
1
Maximum Length:20
Pattern:[a-zA-Z0-9]+
Customer Number of the external customer -
customerType:
string
Pattern:
[I,C,B]
Customer type can be Individual,Corporate or Bank -
deceased(optional):
string
Identifies that customer is deceased
-
frozen(optional):
string
Pattern:
[Y,N]
Identifies that the customer's account is frozen -
hostCode(optional):
string
Displays the host code that is linked to the transaction branch of the customer
-
language(optional):
string
Customer's preferred language of communication
-
nationality(optional):
string
Nationality of the customer
-
pincode(optional):
string
Minimum Length:
0
Maximum Length:15
Pattern:([a-zA-Z0-9]+)?
Pincode of the customer?s address -
rmId(optional):
string
Minimum Length:
0
Maximum Length:12
Pattern:([a-zA-Z0-9]+)?
Relational Manager's Id -
sanctionsChecksRequired(optional):
string
Pattern:
[Y,N]
Indicates that the sanction check should be done or not -
shortName(optional):
string
Minimum Length:
0
Maximum Length:20
Pattern:([a-zA-Z0-9\s]+)?
Short name of the custome -
sourceSystem:
string
Name of the source system
-
sourceSystemCustNo:
string
Minimum Length:
1
Maximum Length:35
Pattern:[a-zA-Z0-9]+
Customer identification details as per the source system. -
walkinCustomer(optional):
string
Walkin Customer
-
whereaboutsUnknown(optional):
string
Pattern:
[Y,N]
Identifies that the customer's whareabouts not known
Response
Supported Media Types
- application/json
- application/xml
- text/csv
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created corecustomers
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CoreCustomerDTO-allOf[1]
Type:
Show Source
object
-
addressLine1(optional):
string
Minimum Length:
0
Maximum Length:35
First line of the customer?s address -
addressLine2(optional):
string
Minimum Length:
0
Maximum Length:35
Second line of the customer?s address -
addressLine3(optional):
string
Minimum Length:
0
Maximum Length:35
Third line of the customer?s address -
addressLine4(optional):
string
Minimum Length:
0
Maximum Length:35
Fourth line of the customer?s address -
country(optional):
string
Pattern:
([a-zA-Z0-9]+)?
Country code of the customer?s address -
customerCategory(optional):
string
Category to which the customer belongs to
-
customerName1:
string
Minimum Length:
0
Maximum Length:35
Pattern:([a-zA-Z0-9\s]+)?
Name of the external customer -
customerNo:
string
Minimum Length:
1
Maximum Length:20
Pattern:[a-zA-Z0-9]+
Customer Number of the external customer -
customerType:
string
Pattern:
[I,C,B]
Customer type can be Individual,Corporate or Bank -
deceased(optional):
string
Identifies that customer is deceased
-
frozen(optional):
string
Pattern:
[Y,N]
Identifies that the customer's account is frozen -
hostCode(optional):
string
Displays the host code that is linked to the transaction branch of the customer
-
language(optional):
string
Customer's preferred language of communication
-
nationality(optional):
string
Nationality of the customer
-
pincode(optional):
string
Minimum Length:
0
Maximum Length:15
Pattern:([a-zA-Z0-9]+)?
Pincode of the customer?s address -
rmId(optional):
string
Minimum Length:
0
Maximum Length:12
Pattern:([a-zA-Z0-9]+)?
Relational Manager's Id -
sanctionsChecksRequired(optional):
string
Pattern:
[Y,N]
Indicates that the sanction check should be done or not -
shortName(optional):
string
Minimum Length:
0
Maximum Length:20
Pattern:([a-zA-Z0-9\s]+)?
Short name of the custome -
sourceSystem:
string
Name of the source system
-
sourceSystemCustNo:
string
Minimum Length:
1
Maximum Length:35
Pattern:[a-zA-Z0-9]+
Customer identification details as per the source system. -
walkinCustomer(optional):
string
Walkin Customer
-
whereaboutsUnknown(optional):
string
Pattern:
[Y,N]
Identifies that the customer's whareabouts not known
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error