Update an existing customer
put
/service/icl/customer/{id}
This endpoint is used to update an existing customer.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
id(required): string
key of the customer Maintenance
Header Parameters
-
sourceCode(required): string
Source from which request is initiated
Request Body that contains data required for updating an existing 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 : IclTmCustomerDTO-allOf[1]
Type:
Show Source
object-
borrowCurrency:
string
Maximum Length:
3 -
borrowLimit:
number
Maximum Length:
23 -
borrowLimitUtilized:
number
Maximum Length:
23 -
customerId:
string
Pattern:
[a-zA-Z0-9]{1,20} -
customerName:
string
Maximum Length:
140 -
IclTmBorrowCustomerDTO:
array IclTmBorrowCustomerDTO
-
IclTmLendCustomerDTO:
array IclTmLendCustomerDTO
-
lendCurrency:
string
Maximum Length:
3 -
lendLimit:
number
Minimum Value:
0Maximum Length:23 -
lendLimitUtilized:
number
Maximum Length:
23 -
parentCustomerId:
string
Maximum Length:
20 -
parentCustomerName:
string
Maximum Length:
140 -
sourceSystem:
string
Maximum Length:
35
Nested Schema : IclTmBorrowCustomerDTO
Type:
Show Source
object-
borrowerId:
string
Maximum Length:
20 -
borrowerName:
string
Maximum Length:
140 -
borrowLimit:
number
Maximum Length:
23 -
borrowLimitUtilized:
number
Maximum Length:
23 -
customerId:
string
Pattern:
[a-zA-Z0-9]{1,20} -
id:
string
Maximum Length:
36
Nested Schema : IclTmLendCustomerDTO
Type:
Show Source
object-
customerId:
string
Pattern:
[a-zA-Z0-9]{1,20} -
id:
string
Maximum Length:
36 -
lenderId:
string
Maximum Length:
20 -
lenderName:
string
Maximum Length:
100 -
lendLimit:
number
Minimum Value:
0Maximum Length:23 -
lendLimitUtilized:
number
Maximum Length:
23
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated customer
Nested Schema : ResponseResourceSupport
Type:
objectNested 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