-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2036 from EDI-N/Kolya_ua
schedules
- Loading branch information
Showing
20 changed files
with
610 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
...ribution/EDIN_2_0/API_2_0/Methods/EveryBody/GetDistributorSchedulesResponse.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
################################################################################# | ||
**Список графіків замовлень за списком Виробників/Продавців (Response)** | ||
################################################################################# | ||
|
||
**JSON:** | ||
|
||
.. code:: json | ||
{ | ||
"13200757": | ||
{ | ||
"id": 17, | ||
"producerId": 13200757, | ||
"name": "Test6", | ||
"dateCreated": 1700668481, | ||
"dateChanged": 1700672623, | ||
"dateStart": 1761516000, | ||
"dateEnd": 1768860000, | ||
"timeFrom": "09:00:00", | ||
"timeTo": "21:00:00", | ||
"block": false, | ||
"type": 1, | ||
"recurrenceRule": | ||
{ | ||
"frequency": "WEEKLY", | ||
"interval": 1, | ||
"count": 50, | ||
"dateUntil": 0, | ||
"byDay": | ||
[ | ||
1, | ||
2, | ||
4, | ||
6 | ||
] | ||
}, | ||
"dateClosest": 1761516000 | ||
} | ||
} | ||
Таблиця 1 - Опис параметрів об'єкта Schedule | ||
|
||
.. csv-table:: | ||
:file: for_csv/Schedule.csv | ||
:widths: 1, 2, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 2 - Опис параметрів об'єкта RecurrenceRule | ||
|
||
.. csv-table:: | ||
:file: for_csv/RecurrenceRule.csv | ||
:widths: 1, 2, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
------------------------- | ||
|
||
.. [#] Під визначенням колонки **Тип поля** мається на увазі скорочене позначення: | ||
* M (mandatory) — обов'язкові до заповнення поля; | ||
* O (optional) — необов'язкові (опціональні) до заповнення поля. | ||
97 changes: 97 additions & 0 deletions
97
docs/Distribution/EDIN_2_0/API_2_0/Methods/EveryBody/ScheduleListResponse.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
############################################################# | ||
**Список графіків замовлень (Response)** | ||
############################################################# | ||
|
||
**JSON:** | ||
|
||
.. code:: json | ||
[ | ||
{ | ||
"id": 9, | ||
"producerId": 13200757, | ||
"name": "Test3", | ||
"dateCreated": 1700659795, | ||
"dateChanged": 1700659795, | ||
"dateStart": 1701381600, | ||
"dateEnd": 1702159200, | ||
"timeFrom": "09:00:00", | ||
"timeTo": "21:00:00", | ||
"block": false, | ||
"type": 2, | ||
"recurrenceRule": | ||
{ | ||
"frequency": "DAILY", | ||
"interval": 1, | ||
"count": 10, | ||
"dateUntil": 0, | ||
"byDay": | ||
[ | ||
1, | ||
2, | ||
4, | ||
6 | ||
] | ||
}, | ||
"dateClosest": 0 | ||
}, | ||
{ | ||
"id": 1, | ||
"producerId": 13200757, | ||
"name": "Test2", | ||
"dateCreated": 1700656825, | ||
"dateChanged": 1700658476, | ||
"dateStart": 1704060000, | ||
"dateEnd": 0, | ||
"timeFrom": "09:00:00", | ||
"timeTo": "21:00:00", | ||
"block": false, | ||
"type": 2, | ||
"recurrenceRule": | ||
{ | ||
"frequency": "WEEKLY", | ||
"interval": 1, | ||
"count": 0, | ||
"dateUntil": 0, | ||
"byDay": | ||
[ | ||
1, | ||
2, | ||
4, | ||
6 | ||
] | ||
}, | ||
"dateClosest": 0 | ||
} | ||
] | ||
Таблиця 1 - Опис параметрів об'єкта Schedule | ||
|
||
.. csv-table:: | ||
:file: for_csv/Schedule.csv | ||
:widths: 1, 2, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 2 - Опис параметрів об'єкта RecurrenceRule | ||
|
||
.. csv-table:: | ||
:file: for_csv/RecurrenceRule.csv | ||
:widths: 1, 2, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
------------------------- | ||
|
||
.. [#] Під визначенням колонки **Тип поля** мається на увазі скорочене позначення: | ||
* M (mandatory) — обов'язкові до заповнення поля; | ||
* O (optional) — необов'язкові (опціональні) до заповнення поля. | ||
70 changes: 70 additions & 0 deletions
70
docs/Distribution/EDIN_2_0/API_2_0/Methods/EveryBody/SchedulePatchRequest.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
############################################################# | ||
**Оновлення даних графіка замовлень (Request)** | ||
############################################################# | ||
|
||
**JSON:** | ||
|
||
.. code:: json | ||
{ | ||
"id": 17, | ||
"name": "Test6", | ||
"dateCreated": 0, | ||
"dateChanged": 0, | ||
"dateStart": 1761516000, | ||
"timeFrom": "09:00:00", | ||
"timeTo": "21:00:00", | ||
"block": false, | ||
"type": 1, | ||
"recurrenceRule": | ||
{ | ||
"frequency": "WEEKLY", | ||
"interval": 1, | ||
"count": 50, | ||
"dateUntil": 0, | ||
"byDay": | ||
[ | ||
1, | ||
2, | ||
4, | ||
6 | ||
] | ||
}, | ||
"distributors": | ||
[ | ||
13200791, | ||
13202863 | ||
], | ||
"dateClosest": 0 | ||
} | ||
Таблиця 1 - Опис параметрів об'єкта Schedule | ||
|
||
.. csv-table:: | ||
:file: for_csv/Schedule.csv | ||
:widths: 1, 2, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 2 - Опис параметрів об'єкта RecurrenceRule | ||
|
||
.. csv-table:: | ||
:file: for_csv/RecurrenceRule.csv | ||
:widths: 1, 2, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
------------------------- | ||
|
||
.. [#] Під визначенням колонки **Тип поля** мається на увазі скорочене позначення: | ||
* M (mandatory) — обов'язкові до заповнення поля; | ||
* O (optional) — необов'язкові (опціональні) до заповнення поля. | ||
66 changes: 66 additions & 0 deletions
66
docs/Distribution/EDIN_2_0/API_2_0/Methods/EveryBody/ScheduleRequest.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
############################################################# | ||
**Дані графіка замовлень (Request)** | ||
############################################################# | ||
|
||
**JSON:** | ||
|
||
.. code:: json | ||
{ | ||
"name": "Test5", | ||
"dateStart": 1761516000, | ||
"timeFrom": "09:00:00", | ||
"timeTo": "21:00:00", | ||
"block": false, | ||
"type": 1, | ||
"recurrenceRule": | ||
{ | ||
"frequency": "WEEKLY", | ||
"interval": 1, | ||
"count": 50, | ||
"dateUntil": 0, | ||
"byDay": | ||
[ | ||
1, | ||
2, | ||
4, | ||
6 | ||
] | ||
}, | ||
"distributors": | ||
[ | ||
13200791, | ||
13202863 | ||
] | ||
} | ||
Таблиця 1 - Опис параметрів об'єкта Schedule | ||
|
||
.. csv-table:: | ||
:file: for_csv/Schedule.csv | ||
:widths: 1, 2, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 2 - Опис параметрів об'єкта RecurrenceRule | ||
|
||
.. csv-table:: | ||
:file: for_csv/RecurrenceRule.csv | ||
:widths: 1, 2, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
------------------------- | ||
|
||
.. [#] Під визначенням колонки **Тип поля** мається на увазі скорочене позначення: | ||
* M (mandatory) — обов'язкові до заповнення поля; | ||
* O (optional) — необов'язкові (опціональні) до заповнення поля. | ||
Oops, something went wrong.