Adds a New Customer
post
/service/customer
This endpoint is used to adds a new customer.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
sourceCode(required): string
Source from which request is initiated
Request Body that contains data required for creating a new customer
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 : LmmTmCustomerDTO-allOf[1]
Type:
Show Source
object
-
addressLine1:
string
Maximum Length:
100
-
addressLine2:
string
Maximum Length:
100
-
addressLine3:
string
Maximum Length:
100
-
addressLine4:
string
Maximum Length:
100
-
bankCode:
string
Maximum Length:
4
-
branchCode:
string
Maximum Length:
4
-
chargeAccountBrn:
string
Maximum Length:
3
The charge funding account branch code from where the charges needs to be collected -
chargeAccountNo:
string
Maximum Length:
35
The charge funding account from where the charges needs to be collected -
chargeBranchCode:
string
Maximum Length:
3
The Branch code to be used for charge posting -
chargeCustAccCcy:
string
Maximum Length:
3
The charge funding account branch currency from where the charges needs to be collected -
chargePricingScheme:
string
Maximum Length:
50
The pricing scheme to be mapped to the customer being on boarded -
closedDtStamp:
string(date)
-
closedStat:
string
Maximum Length:
1
-
customerId(required):
string
Pattern:
[0-9a-zA-Z]{1,20}
-
customerName(required):
string
Maximum Length:
105
-
isAutoAuth:
string
Maximum Length:
1
Y for autoauth. Used for LM Consumer -
isForgotten:
string
Maximum Length:
1
-
isProspect:
string
Maximum Length:
1
-
parentCustomerId:
string
Maximum Length:
20
-
sourceSystem:
string
Maximum Length:
35
-
sourceSystemCustNo:
string
Maximum Length:
50
-
topMostCustomerId:
string
Represents the top most customer in the hierarchy
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created customer
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 : LmmTmCustomerDTO-allOf[1]
Type:
Show Source
object
-
addressLine1:
string
Maximum Length:
100
-
addressLine2:
string
Maximum Length:
100
-
addressLine3:
string
Maximum Length:
100
-
addressLine4:
string
Maximum Length:
100
-
bankCode:
string
Maximum Length:
4
-
branchCode:
string
Maximum Length:
4
-
chargeAccountBrn:
string
Maximum Length:
3
The charge funding account branch code from where the charges needs to be collected -
chargeAccountNo:
string
Maximum Length:
35
The charge funding account from where the charges needs to be collected -
chargeBranchCode:
string
Maximum Length:
3
The Branch code to be used for charge posting -
chargeCustAccCcy:
string
Maximum Length:
3
The charge funding account branch currency from where the charges needs to be collected -
chargePricingScheme:
string
Maximum Length:
50
The pricing scheme to be mapped to the customer being on boarded -
closedDtStamp:
string(date)
-
closedStat:
string
Maximum Length:
1
-
customerId(required):
string
Pattern:
[0-9a-zA-Z]{1,20}
-
customerName(required):
string
Maximum Length:
105
-
isAutoAuth:
string
Maximum Length:
1
Y for autoauth. Used for LM Consumer -
isForgotten:
string
Maximum Length:
1
-
isProspect:
string
Maximum Length:
1
-
parentCustomerId:
string
Maximum Length:
20
-
sourceSystem:
string
Maximum Length:
35
-
sourceSystemCustNo:
string
Maximum Length:
50
-
topMostCustomerId:
string
Represents the top most customer in the hierarchy
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