PUT api/Plant/Edit/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PlantEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| PlantName | string |
None. |
|
| PAddressLine1 | string |
None. |
|
| PAddressLine2 | string |
None. |
|
| Pincode | string |
None. |
|
| PhoneNo | string |
None. |
|
| MobileNo | string |
None. |
|
| EmailID | string |
None. |
|
| Status | string |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedDate | date |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| CompanyID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"PlantName": "sample string 2",
"PAddressLine1": "sample string 3",
"PAddressLine2": "sample string 4",
"Pincode": "sample string 5",
"PhoneNo": "sample string 6",
"MobileNo": "sample string 7",
"EmailID": "sample string 8",
"Status": "sample string 9",
"CreatedDate": "2026-06-04T15:25:41.9319301+05:30",
"UpdatedDate": "2026-06-04T15:25:41.9319301+05:30",
"City": "sample string 10",
"State": "sample string 11",
"CompanyID": 12
}
application/xml, text/xml
Sample:
<PlantEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities"> <City>sample string 10</City> <CompanyID>12</CompanyID> <CreatedDate>2026-06-04T15:25:41.9319301+05:30</CreatedDate> <EmailID>sample string 8</EmailID> <MobileNo>sample string 7</MobileNo> <PAddressLine1>sample string 3</PAddressLine1> <PAddressLine2>sample string 4</PAddressLine2> <PhoneNo>sample string 6</PhoneNo> <Pincode>sample string 5</Pincode> <PlantName>sample string 2</PlantName> <State>sample string 11</State> <Status>sample string 9</Status> <UpdatedDate>2026-06-04T15:25:41.9319301+05:30</UpdatedDate> <id>1</id> </PlantEntity>
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. |