GET v2/ranches/{ranchGuid}/fertilizers/available.{ext}
Returns a list of fertilizers that are not associated with the ranch but is available for use.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ranchGuid | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FertilizerJSONModelName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
|
FormulationType | FormulationTypeJSONModel |
None. |
|
LbsPerGallon | decimal number |
None. |
|
OwnerRanchId | integer |
None. |
|
IsPrivate | boolean |
None. |
|
Id | integer |
None. |
|
Name | string |
None. |
|
Editable | boolean |
None. |
|
PercentageN | decimal number |
None. |
|
PoundsPerGallons | decimal number |
None. |
|
Usage | integer |
None. |
|
Nutrients | Collection of NutrientJSONModel |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "Editable": true, "PercentageN": 2.0, "PoundsPerGallons": 1.0, "Usage": 3, "Nutrients": [ { "Id": 1, "Name": "sample string 2", "Name_Alt": "sample string 3", "NutrientTypeId": 4, "MeasureUnitTypeId": 5, "Symbol": "sample string 6", "MeasurementUnit": { "Id": 1, "Name": "sample string 2" }, "value": 1.0, "Percentage": 7.0 }, { "Id": 1, "Name": "sample string 2", "Name_Alt": "sample string 3", "NutrientTypeId": 4, "MeasureUnitTypeId": 5, "Symbol": "sample string 6", "MeasurementUnit": { "Id": 1, "Name": "sample string 2" }, "value": 1.0, "Percentage": 7.0 } ], "Description": "sample string 1", "FormulationType": { "Id": 1, "Name": "sample string 2" }, "LbsPerGallon": 1.0, "OwnerRanchId": 1, "IsPrivate": true, "Id": 3, "Name": "sample string 4" }, { "Editable": true, "PercentageN": 2.0, "PoundsPerGallons": 1.0, "Usage": 3, "Nutrients": [ { "Id": 1, "Name": "sample string 2", "Name_Alt": "sample string 3", "NutrientTypeId": 4, "MeasureUnitTypeId": 5, "Symbol": "sample string 6", "MeasurementUnit": { "Id": 1, "Name": "sample string 2" }, "value": 1.0, "Percentage": 7.0 }, { "Id": 1, "Name": "sample string 2", "Name_Alt": "sample string 3", "NutrientTypeId": 4, "MeasureUnitTypeId": 5, "Symbol": "sample string 6", "MeasurementUnit": { "Id": 1, "Name": "sample string 2" }, "value": 1.0, "Percentage": 7.0 } ], "Description": "sample string 1", "FormulationType": { "Id": 1, "Name": "sample string 2" }, "LbsPerGallon": 1.0, "OwnerRanchId": 1, "IsPrivate": true, "Id": 3, "Name": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfFertilizerJSONModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FertilizerJSONModel> <Id>3</Id> <Name>sample string 4</Name> <Editable>true</Editable> <PercentageN>2</PercentageN> <PoundsPerGallons>1</PoundsPerGallons> <Usage>3</Usage> <Nutrients> <NutrientJSONModel> <Id>1</Id> <Name>sample string 2</Name> <Name_Alt>sample string 3</Name_Alt> <NutrientTypeId>4</NutrientTypeId> <MeasureUnitTypeId>5</MeasureUnitTypeId> <Symbol>sample string 6</Symbol> <MeasurementUnit> <Id>1</Id> <Name>sample string 2</Name> </MeasurementUnit> <value>1</value> <Percentage>7</Percentage> </NutrientJSONModel> <NutrientJSONModel> <Id>1</Id> <Name>sample string 2</Name> <Name_Alt>sample string 3</Name_Alt> <NutrientTypeId>4</NutrientTypeId> <MeasureUnitTypeId>5</MeasureUnitTypeId> <Symbol>sample string 6</Symbol> <MeasurementUnit> <Id>1</Id> <Name>sample string 2</Name> </MeasurementUnit> <value>1</value> <Percentage>7</Percentage> </NutrientJSONModel> </Nutrients> <Description>sample string 1</Description> <FormulationType> <Id>1</Id> <Name>sample string 2</Name> </FormulationType> <LbsPerGallon>1</LbsPerGallon> <OwnerRanchId>1</OwnerRanchId> <IsPrivate>true</IsPrivate> </FertilizerJSONModel> <FertilizerJSONModel> <Id>3</Id> <Name>sample string 4</Name> <Editable>true</Editable> <PercentageN>2</PercentageN> <PoundsPerGallons>1</PoundsPerGallons> <Usage>3</Usage> <Nutrients> <NutrientJSONModel> <Id>1</Id> <Name>sample string 2</Name> <Name_Alt>sample string 3</Name_Alt> <NutrientTypeId>4</NutrientTypeId> <MeasureUnitTypeId>5</MeasureUnitTypeId> <Symbol>sample string 6</Symbol> <MeasurementUnit> <Id>1</Id> <Name>sample string 2</Name> </MeasurementUnit> <value>1</value> <Percentage>7</Percentage> </NutrientJSONModel> <NutrientJSONModel> <Id>1</Id> <Name>sample string 2</Name> <Name_Alt>sample string 3</Name_Alt> <NutrientTypeId>4</NutrientTypeId> <MeasureUnitTypeId>5</MeasureUnitTypeId> <Symbol>sample string 6</Symbol> <MeasurementUnit> <Id>1</Id> <Name>sample string 2</Name> </MeasurementUnit> <value>1</value> <Percentage>7</Percentage> </NutrientJSONModel> </Nutrients> <Description>sample string 1</Description> <FormulationType> <Id>1</Id> <Name>sample string 2</Name> </FormulationType> <LbsPerGallon>1</LbsPerGallon> <OwnerRanchId>1</OwnerRanchId> <IsPrivate>true</IsPrivate> </FertilizerJSONModel> </ArrayOfFertilizerJSONModel>