POST api/SoilSamplePoint/UpdateSoilSamplePoint
Request Information
URI Parameters
None.
Body Parameters
SoilSamplePointDetialEnity| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| FarmerName | string |
None. |
|
| PlotNumber | string |
None. |
|
| PointAddDate | date |
None. |
|
| SampleDate | date |
None. |
|
| SampleUpdate | date |
None. |
|
| PointStatus | integer |
None. |
|
| PointRadius | decimal number |
None. |
|
| PLat | decimal number |
None. |
|
| Plong | decimal number |
None. |
|
| AgentId | integer |
None. |
|
| CollectionAgent | integer |
None. |
|
| LocationId | integer |
None. |
|
| GirdID | integer |
None. |
|
| LID | integer |
None. |
|
| LName | string |
None. |
|
| LLat | decimal number |
None. |
|
| LLong | decimal number |
None. |
|
| CityID | integer |
None. |
|
| CityName | string |
None. |
|
| StateId | integer |
None. |
|
| SName | string |
None. |
|
| DID | integer |
None. |
|
| DName | string |
None. |
|
| CID | integer |
None. |
|
| CName | string |
None. |
|
| SoilcategoryEnity | Collection of SoilcategoryEnity |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"FarmerName": "sample string 2",
"PlotNumber": "sample string 3",
"PointAddDate": "2025-10-30T11:39:00.651097+05:30",
"SampleDate": "2025-10-30T11:39:00.651097+05:30",
"SampleUpdate": "2025-10-30T11:39:00.651097+05:30",
"PointStatus": 7,
"PointRadius": 8.0,
"PLat": 9.0,
"Plong": 10.0,
"AgentId": 11,
"CollectionAgent": 12,
"LocationId": 13,
"GirdID": 14,
"LID": 15,
"LName": "sample string 16",
"LLat": 17.0,
"LLong": 18.0,
"CityID": 19,
"CityName": "sample string 20",
"StateId": 21,
"SName": "sample string 22",
"DID": 23,
"DName": "sample string 24",
"CID": 25,
"CName": "sample string 26",
"SoilcategoryEnity": [
{
"PDetailID": 1,
"PDetailName": "sample string 2",
"SampleReport": "sample string 3"
},
{
"PDetailID": 1,
"PDetailName": "sample string 2",
"SampleReport": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<SoilSamplePointDetialEnity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities">
<AgentId>11</AgentId>
<CID>25</CID>
<CName>sample string 26</CName>
<CityID>19</CityID>
<CityName>sample string 20</CityName>
<CollectionAgent>12</CollectionAgent>
<DID>23</DID>
<DName>sample string 24</DName>
<FarmerName>sample string 2</FarmerName>
<GirdID>14</GirdID>
<ID>1</ID>
<LID>15</LID>
<LLat>17</LLat>
<LLong>18</LLong>
<LName>sample string 16</LName>
<LocationId>13</LocationId>
<PLat>9</PLat>
<Plong>10</Plong>
<PlotNumber>sample string 3</PlotNumber>
<PointAddDate>2025-10-30T11:39:00.651097+05:30</PointAddDate>
<PointRadius>8</PointRadius>
<PointStatus>7</PointStatus>
<SName>sample string 22</SName>
<SampleDate>2025-10-30T11:39:00.651097+05:30</SampleDate>
<SampleUpdate>2025-10-30T11:39:00.651097+05:30</SampleUpdate>
<SoilcategoryEnity>
<SoilcategoryEnity>
<PDetailID>1</PDetailID>
<PDetailName>sample string 2</PDetailName>
<SampleReport>sample string 3</SampleReport>
</SoilcategoryEnity>
<SoilcategoryEnity>
<PDetailID>1</PDetailID>
<PDetailName>sample string 2</PDetailName>
<SampleReport>sample string 3</SampleReport>
</SoilcategoryEnity>
</SoilcategoryEnity>
<StateId>21</StateId>
</SoilSamplePointDetialEnity>
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. |