POST api/AgentCustomerlist
Request Information
URI Parameters
None.
Body Parameters
Jsonparams| Name | Description | Type | Additional information |
|---|---|---|---|
| jsonstring | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"jsonstring": "sample string 1"
}
application/xml, text/xml
Sample:
<Jsonparams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Powerwaywebapi.Models"> <jsonstring>sample string 1</jsonstring> </Jsonparams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetAllCustomerList| Name | Description | Type | Additional information |
|---|---|---|---|
| errormsg | string |
None. |
|
| customerlist | Collection of _Customerlist |
None. |
Response Formats
application/json, text/json
Sample:
{
"customerlist": [
{
"customerid": "sample string 1",
"fullname": "sample string 2",
"mobilenumber": "sample string 3"
},
{
"customerid": "sample string 1",
"fullname": "sample string 2",
"mobilenumber": "sample string 3"
}
],
"errormsg": "sample string 1"
}
application/xml, text/xml
Sample:
<GetAllCustomerList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Powerwaywebapi.Models">
<customerlist>
<_Customerlist>
<customerid>sample string 1</customerid>
<fullname>sample string 2</fullname>
<mobilenumber>sample string 3</mobilenumber>
</_Customerlist>
<_Customerlist>
<customerid>sample string 1</customerid>
<fullname>sample string 2</fullname>
<mobilenumber>sample string 3</mobilenumber>
</_Customerlist>
</customerlist>
<errormsg>sample string 1</errormsg>
</GetAllCustomerList>