POST api/ImportCust
Request Information
URI Parameters
None.
Body Parameters
Collection of Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| Cust_id | integer |
None. |
|
| Cust_name | string |
None. |
|
| Village | string |
None. |
|
| Taluka_id | integer |
None. |
|
| Dist_id | integer |
None. |
|
| Product_id | integer |
None. |
|
| Contact_no | string |
None. |
|
| Contact_person | string |
None. |
|
| Date_of_joining | date |
None. |
|
| Date_of_installation | date |
None. |
|
| Mac_id | string |
None. |
|
| Remark | string |
None. |
|
| User_name | string |
None. |
|
| Password | string |
None. |
|
| User | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Cust_id": 1,
"Cust_name": "sample string 2",
"Village": "sample string 3",
"Taluka_id": 4,
"Dist_id": 5,
"Product_id": 6,
"Contact_no": "sample string 7",
"Contact_person": "sample string 8",
"Date_of_joining": "2026-08-17T18:50:22.7573112+05:30",
"Date_of_installation": "2026-08-17T18:50:22.7573112+05:30",
"Mac_id": "sample string 11",
"Remark": "sample string 12",
"User_name": "sample string 13",
"Password": "sample string 14",
"User": "sample string 15"
},
{
"Cust_id": 1,
"Cust_name": "sample string 2",
"Village": "sample string 3",
"Taluka_id": 4,
"Dist_id": 5,
"Product_id": 6,
"Contact_no": "sample string 7",
"Contact_person": "sample string 8",
"Date_of_joining": "2026-08-17T18:50:22.7573112+05:30",
"Date_of_installation": "2026-08-17T18:50:22.7573112+05:30",
"Mac_id": "sample string 11",
"Remark": "sample string 12",
"User_name": "sample string 13",
"Password": "sample string 14",
"User": "sample string 15"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Task_API.Models">
<Customer>
<Contact_no>sample string 7</Contact_no>
<Contact_person>sample string 8</Contact_person>
<Cust_id>1</Cust_id>
<Cust_name>sample string 2</Cust_name>
<Date_of_installation>2026-08-17T18:50:22.7573112+05:30</Date_of_installation>
<Date_of_joining>2026-08-17T18:50:22.7573112+05:30</Date_of_joining>
<Dist_id>5</Dist_id>
<Mac_id>sample string 11</Mac_id>
<Password>sample string 14</Password>
<Product_id>6</Product_id>
<Remark>sample string 12</Remark>
<Taluka_id>4</Taluka_id>
<User>sample string 15</User>
<User_name>sample string 13</User_name>
<Village>sample string 3</Village>
</Customer>
<Customer>
<Contact_no>sample string 7</Contact_no>
<Contact_person>sample string 8</Contact_person>
<Cust_id>1</Cust_id>
<Cust_name>sample string 2</Cust_name>
<Date_of_installation>2026-08-17T18:50:22.7573112+05:30</Date_of_installation>
<Date_of_joining>2026-08-17T18:50:22.7573112+05:30</Date_of_joining>
<Dist_id>5</Dist_id>
<Mac_id>sample string 11</Mac_id>
<Password>sample string 14</Password>
<Product_id>6</Product_id>
<Remark>sample string 12</Remark>
<Taluka_id>4</Taluka_id>
<User>sample string 15</User>
<User_name>sample string 13</User_name>
<Village>sample string 3</Village>
</Customer>
</ArrayOfCustomer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |