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:
- Expande the api/PublishedRation drop down menu.
- Click on 'Try it out' in order to make sure you are able to fill in the customerid.
- 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:
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