POST api/Customer/LoadAllCustomerList
Request Information
URI Parameters
None.
Body Parameters
CustomerViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| customermasterid | integer |
None. |
|
| customercode | integer |
None. |
|
| customername | string |
None. |
|
| emailid | string |
None. |
|
| pincode | integer |
None. |
|
| place | string |
None. |
|
| mobileno | string |
None. |
|
| customerdetails | Collection of CustomerDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"customermasterid": 1,
"customercode": 2,
"customername": "sample string 3",
"emailid": "sample string 4",
"pincode": 5,
"place": "sample string 6",
"mobileno": "sample string 7",
"customerdetails": [
{
"customercode": 1
},
{
"customercode": 1
}
]
}
application/xml, text/xml
Sample:
<CustomerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/atulsalesdocs_api.Models">
<customercode>2</customercode>
<customerdetails>
<CustomerDetails>
<customercode>1</customercode>
</CustomerDetails>
<CustomerDetails>
<customercode>1</customercode>
</CustomerDetails>
</customerdetails>
<customermasterid>1</customermasterid>
<customername>sample string 3</customername>
<emailid>sample string 4</emailid>
<mobileno>sample string 7</mobileno>
<pincode>5</pincode>
<place>sample string 6</place>
</CustomerViewModel>
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/atulsalesdocs_api.Models"> <data /> <errorCode>4</errorCode> <message>sample string 2</message> <status>true</status> </HttpResultViewModel>