3_Optifeed API_PublishedRation

Created by Nicola Carnielli, Modified on Fri, 5 Jun at 4:58 PM by Nicola Carnielli

PublishedRation

How to Download the Data

After completing the login steps, you can download the data by following these instructions:

  1. Expand the api/PublishedRation dropdown menu.
  2. Click Try it out to enable the customerid field.
  3. Enter the customer number (found in the first column of your Optifeed screen).


Note: The displayed information will vary based on your search, but the structure remains consistent.

The download interface


Data structure:


[

  {

    "id": 0,

    "customerId": "string",

    "cowFeedRationId": "string",

    "publishDate": "datetime",

    "powerFeedData": "string",

    "powerFeedTotal": "string"

  }

]


The customerId represents the number you find in the first column of your Optifeed screen:


Once the customerid is entered, you can download the ration data for that specific customer.


Field Mapping: Optifeed vs. API

To clarify which API fields correspond to Optifeed data, refer to the following legend: 


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