POST api/agronetmobile/setPhenophasesField
Request Information
URI Parameters
None.
Body Parameters
PhenophaseSetModel| Name | Description | Type | Additional information |
|---|---|---|---|
| phenoItem | PhenophaseItem |
None. |
|
| fieldId | integer |
None. |
|
| ripeningTimeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"phenoItem": {
"Name": "sample string 1",
"Description": "sample string 2",
"PhenophaseId": 3,
"ripeningTimeId": 1,
"PhenophaseDate": "2026-10-30T14:39:00.9491878+00:00"
},
"fieldId": 1,
"ripeningTimeId": 2
}
text/html
Sample:
{"phenoItem":{"Name":"sample string 1","Description":"sample string 2","PhenophaseId":3,"ripeningTimeId":1,"PhenophaseDate":"2026-10-30T14:39:00.9491878+00:00"},"fieldId":1,"ripeningTimeId":2}
application/xml, text/xml
Sample:
<PhenophaseSetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkoNET.WebAPI.Models">
<fieldId>1</fieldId>
<phenoItem>
<Description>sample string 2</Description>
<Name>sample string 1</Name>
<PhenophaseDate>2026-10-30T14:39:00.9491878+00:00</PhenophaseDate>
<PhenophaseId>3</PhenophaseId>
<ripeningTimeId>1</ripeningTimeId>
</phenoItem>
<ripeningTimeId>2</ripeningTimeId>
</PhenophaseSetModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.