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: 
      
    
    
    
    
    objectDiscriminator: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
resource_typeNested Schema : LmmTmCustomerDTO-allOf[1]
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            address: 
            string
            Maximum Length:1000
- 
            bankCode: 
            string
            Maximum Length:4
- 
            branchCode: 
            string
            Maximum Length:4
- 
            closedDtStamp: 
            string(date)
            
- 
            closedStat: 
            string
            
- 
            customerId(required): 
            string
            Pattern:[a-zA-Z0-9]{1,20}
- 
            customerName(required): 
            string
            Maximum Length:140
- 
            isForgotten: 
            string
            
- 
            parentCustomerId: 
            string
            Maximum Length:20
- 
            sourceSystem: 
            string
            Maximum Length:35
- 
            sourceSystemCustNo: 
            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- 
            address: 
            string
            Maximum Length:1000
- 
            bankCode: 
            string
            Maximum Length:4
- 
            branchCode: 
            string
            Maximum Length:4
- 
            closedDtStamp: 
            string(date)
            
- 
            closedStat: 
            string
            
- 
            customerId(required): 
            string
            Pattern:[a-zA-Z0-9]{1,20}
- 
            customerName(required): 
            string
            Maximum Length:140
- 
            isForgotten: 
            string
            
- 
            parentCustomerId: 
            string
            Maximum Length:20
- 
            sourceSystem: 
            string
            Maximum Length:35
- 
            sourceSystemCustNo: 
            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