Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "code": 200,
- "response": {
- "data": [
- {
- "version_id": 1,
- "total_duration": 23,
- "phases": [
- {
- "phase_id": 4,
- "phase_title": "Сбор",
- "phase_type_id": 4,
- "duration": 8,
- "planting_date": "2019-11-17 00:00:00",
- "harvesting_date": "2019-11-25 00:00:00",
- "farms": [
- {
- "farm_id": 1,
- "farm_title": "На Николаева",
- "city_id": 10,
- "amount": 100,
- "amount_weight": 250,
- "enough": true
- },
- {
- "farm_id": 1,
- "farm_title": "На Николаева",
- "city_id": 10,
- "amount": 0,
- "amount_weight": 0,
- "enough": false
- }
- ],
- "harvesting_count": 3,
- "harvesting_type": "pot"
- },
- {
- "phase_id": 2,
- "phase_title": "Рассада",
- "phase_type_id": 2,
- "duration": 5,
- "planting_date": "2019-11-25 00:00:00",
- "harvesting_date": "2019-11-30 00:00:00",
- "farms": [
- {
- "farm_id": 1,
- "farm_title": "На Николаева",
- "city_id": 10,
- "amount": 100,
- "amount_weight": 250,
- "enough": true
- },
- {
- "farm_id": 1,
- "farm_title": "На Николаева",
- "city_id": 10,
- "amount": 0,
- "amount_weight": 0,
- "enough": false
- }
- ],
- "harvesting_count": 0,
- "harvesting_type": null
- },
- {
- "phase_id": 1,
- "phase_title": "Проращивание",
- "phase_type_id": 1,
- "duration": 10,
- "planting_date": "2019-11-30 00:00:00",
- "harvesting_date": "2019-12-10 00:00:00",
- "farms": [
- {
- "farm_id": 1,
- "farm_title": "На Николаева",
- "city_id": 10,
- "amount": 100,
- "amount_weight": 250,
- "enough": true
- },
- {
- "farm_id": 1,
- "farm_title": "На Николаева",
- "city_id": 10,
- "amount": 100,
- "amount_weight": 250,
- "enough": true
- }
- ],
- "harvesting_count": 0,
- "harvesting_type": null
- }
- ]
- }
- ],
- "permissions": [
- "scheduler_view",
- "scheduler_update",
- "scheduler_create",
- "scheduler_delete",
- "scheduler_approving",
- "scheduler_harvesting"
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement