PUT api/admin/customers/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
CustomerUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
Range: inclusive between 1 and 9.22337203685478E+18 |
|
| FirstName | string |
Max length: 100 |
|
| LastName | string |
Max length: 100 |
|
| string |
Max length: 255 |
||
| MobileNo | string |
Max length: 30 |
|
| Designation | string |
Max length: 100 |
|
| CompanyName | string |
Max length: 200 |
|
| AccountStatus | string |
Max length: 20 |
|
| StorageUsed | integer |
Range: inclusive between 0 and 9.22337203685478E+18 |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4",
"MobileNo": "sample string 5",
"Designation": "sample string 6",
"CompanyName": "sample string 7",
"AccountStatus": "sample string 8",
"StorageUsed": 1
}
application/xml, text/xml
Sample:
<CustomerUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InfinitSol.Product.DigiCard.DTO"> <AccountStatus>sample string 8</AccountStatus> <CompanyName>sample string 7</CompanyName> <Designation>sample string 6</Designation> <Email>sample string 4</Email> <FirstName>sample string 2</FirstName> <LastName>sample string 3</LastName> <MobileNo>sample string 5</MobileNo> <StorageUsed>1</StorageUsed> <UserId>1</UserId> </CustomerUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.