POST api/Customer/LoadAllCustomersList
Request Information
URI Parameters
None.
Body Parameters
CustomerViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| customerinfoid | integer |
None. |
|
| financialyearid | integer |
None. |
|
| customercode | string |
None. |
|
| companyname | string |
None. |
|
| contactperson | string |
None. |
|
| contactnumber | integer |
None. |
|
| customeremail | string |
None. |
|
| fax | string |
None. |
|
| gstno | string |
None. |
|
| statename | string |
None. |
|
| panno | string |
None. |
|
| stateid | integer |
None. |
|
| city | string |
None. |
|
| zipcode | string |
None. |
|
| addressline1 | string |
None. |
|
| shippingaddress | string |
None. |
|
| isactive | boolean |
None. |
|
| createdon | date |
None. |
|
| tdsapplied | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerinfoid": 1,
"financialyearid": 2,
"customercode": "sample string 3",
"companyname": "sample string 4",
"contactperson": "sample string 5",
"contactnumber": 6,
"customeremail": "sample string 7",
"fax": "sample string 8",
"gstno": "sample string 9",
"statename": "sample string 10",
"panno": "sample string 11",
"stateid": 12,
"city": "sample string 13",
"zipcode": "sample string 14",
"addressline1": "sample string 15",
"shippingaddress": "sample string 16",
"isactive": true,
"createdon": "2026-01-29T14:45:20.6404547+05:30",
"tdsapplied": true
}
application/xml, text/xml
Sample:
<CustomerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/polymech_api.Models"> <addressline1>sample string 15</addressline1> <city>sample string 13</city> <companyname>sample string 4</companyname> <contactnumber>6</contactnumber> <contactperson>sample string 5</contactperson> <createdon>2026-01-29T14:45:20.6404547+05:30</createdon> <customercode>sample string 3</customercode> <customeremail>sample string 7</customeremail> <customerinfoid>1</customerinfoid> <fax>sample string 8</fax> <financialyearid>2</financialyearid> <gstno>sample string 9</gstno> <isactive>true</isactive> <panno>sample string 11</panno> <shippingaddress>sample string 16</shippingaddress> <stateid>12</stateid> <statename>sample string 10</statename> <tdsapplied>true</tdsapplied> <zipcode>sample string 14</zipcode> </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/polymech_api.Models"> <data /> <errorCode>4</errorCode> <message>sample string 2</message> <status>true</status> </HttpResultViewModel>