PublishedRation
How to Download the Data
After completing the login steps, you can download the data by following these instructions:
- Expand the api/PublishedRation dropdown menu.
- Click Try it out to enable the customerid field.
- 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:
| Colouring | Optifeed | API |
| Red box | Base ration | PublishedBaseFeedRation |
| Light blue box | Concentrate | PublishedPowerFeedRation |
| Orange box | Total ration | PublishedTotal |
| Blue box | Info and settings | PublishedRationSettings |
| Purple arrow | Group analysis | PublishedCowData |
| Brown arrow | Single animal information | PublishedCowAnalysis |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article