POST api/Customer/UpdateCustomerDetailsById
Request Information
URI Parameters
None.
Body Parameters
CustomerFormViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| customerinfoid | integer |
None. |
|
| customername | string |
None. |
|
| customerphoneno | string |
None. |
|
| isactive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerinfoid": 1,
"customername": "sample string 2",
"customerphoneno": "sample string 3",
"isactive": true
}
application/xml, text/xml
Sample:
<CustomerFormViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models"> <customerinfoid>1</customerinfoid> <customername>sample string 2</customername> <customerphoneno>sample string 3</customerphoneno> <isactive>true</isactive> </CustomerFormViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResultViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
|
| errorCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": {},
"errorCode": 4
}
application/xml, text/xml
Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models"> <data /> <errorCode>4</errorCode> <message>sample string 2</message> <status>true</status> </HttpResultViewModel>