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: 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:
objectDiscriminator:
resource_typeNested Schema : LmmTmCustomerDTO-allOf[1]
Type:
Show Source
object-
addressLine1(optional):
string
Maximum Length:
100 -
addressLine2(optional):
string
Maximum Length:
100 -
addressLine3(optional):
string
Maximum Length:
100 -
addressLine4(optional):
string
Maximum Length:
100 -
bankCode(optional):
string
Maximum Length:
4 -
branchCode(optional):
string
Maximum Length:
4 -
chargeAccountBrn(optional):
string
Maximum Length:
3The charge funding account branch code from where the charges needs to be collected -
chargeAccountNo(optional):
string
Maximum Length:
35The charge funding account from where the charges needs to be collected -
chargeBranchCode(optional):
string
Maximum Length:
3The Branch code to be used for charge posting -
chargeCustAccCcy(optional):
string
Maximum Length:
3The charge funding account branch currency from where the charges needs to be collected -
chargePricingScheme(optional):
string
Maximum Length:
50The pricing scheme to be mapped to the customer being on boarded -
closedDtStamp(optional):
string(date)
-
closedStat(optional):
string
Maximum Length:
1 -
customerId:
string
Pattern:
[0-9a-zA-Z]{1,20} -
customerName:
string
Maximum Length:
105 -
isAutoAuth(optional):
string
Maximum Length:
1Y for autoauth. Used for LM Consumer -
isForgotten(optional):
string
Maximum Length:
1 -
isProspect(optional):
string
Maximum Length:
1 -
parentCustomerId(optional):
string
Maximum Length:
20 -
sourceSystem(optional):
string
Maximum Length:
35 -
sourceSystemCustNo(optional):
string
Maximum Length:
50
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:
objectDiscriminator:
resource_typeNested Schema : LmmTmCustomerDTO-allOf[1]
Type:
Show Source
object-
addressLine1(optional):
string
Maximum Length:
100 -
addressLine2(optional):
string
Maximum Length:
100 -
addressLine3(optional):
string
Maximum Length:
100 -
addressLine4(optional):
string
Maximum Length:
100 -
bankCode(optional):
string
Maximum Length:
4 -
branchCode(optional):
string
Maximum Length:
4 -
chargeAccountBrn(optional):
string
Maximum Length:
3The charge funding account branch code from where the charges needs to be collected -
chargeAccountNo(optional):
string
Maximum Length:
35The charge funding account from where the charges needs to be collected -
chargeBranchCode(optional):
string
Maximum Length:
3The Branch code to be used for charge posting -
chargeCustAccCcy(optional):
string
Maximum Length:
3The charge funding account branch currency from where the charges needs to be collected -
chargePricingScheme(optional):
string
Maximum Length:
50The pricing scheme to be mapped to the customer being on boarded -
closedDtStamp(optional):
string(date)
-
closedStat(optional):
string
Maximum Length:
1 -
customerId:
string
Pattern:
[0-9a-zA-Z]{1,20} -
customerName:
string
Maximum Length:
105 -
isAutoAuth(optional):
string
Maximum Length:
1Y for autoauth. Used for LM Consumer -
isForgotten(optional):
string
Maximum Length:
1 -
isProspect(optional):
string
Maximum Length:
1 -
parentCustomerId(optional):
string
Maximum Length:
20 -
sourceSystem(optional):
string
Maximum Length:
35 -
sourceSystemCustNo(optional):
string
Maximum Length:
50
Nested Schema : items
Type:
object400 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