3_Optifeed API_PublishedRation

Created by Nicola Carnielli, Modified on Wed, 10 Sep at 4:32 PM by Nicola Carnielli

PublishedRation

How to download the information?

 

Once the steps above are completed, then it’s time to download some data; to do that follow the steps below:

  1. Expande the api/PublishedRation drop down menu.
  2. Click on 'Try it out' in order to make sure you are able to fill in the customerid.
  3. Fill in the customer number.

 

The download interface


Note: the info reported will change according to the info you are looking, but the structure will be pretty much the same for every voice.


The structure (.JSON) will be something like the following:


[

  {

    "id": 0,

    "customerId": "string",

    "cowFeedRationId": "string",

    "publishDate": "datetime",

    "powerFeedData": "string",

    "powerFeedTotal": "string"

  }

]


Once the customerid is filled in, you'll be able to download the information for the ration for that specific customer.


What is what?

When you check the data in the API, you wounder what correspond to what in Optifeed; the following picture will provide you the answer:


The colour legenda in Optifeed


Legenda:


ColouringOptifeedAPI
Red boxBase ration
PublishedBaseFeedRation
Light blue boxConcentratePublishedPowerFeedRation
Orange boxTotal rationPublishedTotal
Blue boxInfo and settings
PublishedRationSettings
Purple arrowGroup analysisPublishedCowData
Brown arrowSingle animal informationPublishedCowAnalysis


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article