POST Formula/GetByCropId/{cropId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cropId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FormulaName | Description | Type | Additional information |
---|---|---|---|
FormulaId | integer |
None. |
|
CropId | integer |
None. |
|
Formula1 | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
LastMaintenanceName | string |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
{ "FormulaId": 1, "CropId": 2, "Formula1": "sample string 3", "LastMaintenanceDate": "2024-12-10T15:22:44.5691028+00:00", "LastMaintenanceName": "sample string 5", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }
application/xml, text/xml
Sample:
<Formula xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <CropId>2</CropId> <Formula1>sample string 3</Formula1> <FormulaId>1</FormulaId> <LastMaintenanceDate>2024-12-10T15:22:44.5691028+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 5</LastMaintenanceName> </Formula>