-
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 #2056 from EDI-N/Kolya_ua
Kolya ua
- Loading branch information
Showing
9 changed files
with
238 additions
and
15 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
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
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,9 @@ | ||
**URL** , | ||
Метод запиту , POST | ||
URL запиту ,**/api/ecs/certificates?gln=9864232613879** | ||
URL параметри ,"**gln** (обов'язково) String - GLN власної Компанії" | ||
**Headers** , | ||
Authorization ,"**SID** - токен, отриманий при `авторизації <https://wiki.edin.ua/uk/latest/integration_2_0/APIv2/Methods/Authorization.html>`__" | ||
Content-Type , `multipart/form-data <https://tools.ietf.org/html/rfc7578>`__ | ||
**REQUEST** , | ||
JSON Body ,"В тілі запиту передається zip-файл, що містить файли-вкладення (в форматі PDF, JPG, JPEG, PNG, TIFF) та заповнений xls/xlsx шаблон з зазначеними назвами файлів-вкладень." |
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,16 @@ | ||
######################################################################################################### | ||
**Масово завантажити сертифікати** | ||
######################################################################################################### | ||
|
||
Для роботи з цим методом користувач повинен бути `авторизованим <https://wiki.edin.ua/uk/latest/integration_2_0/APIv2/Methods/Authorization.html>`__. | ||
|
||
.. csv-table:: | ||
:file: Certificates.csv | ||
:widths: 10, 41 | ||
:stub-columns: 0 | ||
|
||
:download:`Приклад передаваємого zip<Certificates.zip>` | ||
|
||
**RESPONSE** | ||
|
||
В тілі **відповіді** передаються `дані завантажених сертифікатів <https://wiki.edin.ua/uk/latest/Certificate/EDIN_2_0/APIv2/Methods/EveryBody/XCertificateList.html>`__ (масив об'єктів XCertificate). |
Binary file not shown.
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
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
137 changes: 137 additions & 0 deletions
137
docs/Certificate/EDIN_2_0/APIv2/Methods/EveryBody/XCertificateList.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,137 @@ | ||
############################################################################################################################ | ||
**Дані про сертифікати (масив об'єктів XCertificate)** | ||
############################################################################################################################ | ||
|
||
**JSON:** | ||
|
||
.. code:: json | ||
[ | ||
{ | ||
"id": 185, | ||
"uuid": "87612047-82ba-43d2-a03e-5c7cc7f904f9", | ||
"number": "UA1.12345678-20", | ||
"createDate": 1689800400, | ||
"updateDate": 0, | ||
"issueDate": 0, | ||
"type": { | ||
"id": 2, | ||
"type": 0 | ||
}, | ||
"view": { | ||
"id": 2 | ||
}, | ||
"access": [], | ||
"startDate": 1693515600, | ||
"endDate": 0, | ||
"isSigned": false, | ||
"accessType": { | ||
"code": 0, | ||
"description": "Неопубликований" | ||
}, | ||
"creator": 0, | ||
"info": "Комментар 2", | ||
"bodies": { | ||
"1": [] | ||
}, | ||
"characteristics": { | ||
"Issuer Article": "2341111", | ||
"VMD Number": "123123123" | ||
}, | ||
"parents": [], | ||
"products": [ | ||
{ | ||
"id": 0, | ||
"certificateId": 0, | ||
"name": "Молоко 15%", | ||
"barcode": "4820000000000", | ||
"article": "321", | ||
"buyerCode": "123", | ||
"uktved": 0 | ||
}, | ||
{ | ||
"id": 0, | ||
"certificateId": 0, | ||
"name": "Молоко 10%", | ||
"barcode": "4820000000001", | ||
"article": "521", | ||
"buyerCode": "125", | ||
"uktved": 0 | ||
}, | ||
{ | ||
"id": 0, | ||
"certificateId": 0, | ||
"name": "Молоко 5%", | ||
"barcode": "4820000000002", | ||
"article": "321221", | ||
"buyerCode": "122123", | ||
"uktved": 0 | ||
} | ||
], | ||
"productsQty": 0, | ||
"autoArchive": false | ||
} | ||
] | ||
Таблиця 1 - Опис параметрів об'єкта **XCertificate** | ||
|
||
.. csv-table:: | ||
:file: for_csv/XCertificate.csv | ||
:widths: 1, 5, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 2 - Опис параметрів об'єкта **XCertificateType** | ||
|
||
.. csv-table:: | ||
:file: for_csv/XCertificateType.csv | ||
:widths: 1, 5, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 3 - Опис параметрів об'єкта **XCertificateView** | ||
|
||
.. csv-table:: | ||
:file: for_csv/XCertificateView.csv | ||
:widths: 1, 5, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 4 - Опис **characteristics** | ||
|
||
.. csv-table:: | ||
:file: for_csv/characteristics.csv | ||
:widths: 1, 5, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 5 - Опис параметрів об'єкта **AccessType** | ||
|
||
.. csv-table:: | ||
:file: for_csv/AccessType.csv | ||
:widths: 20, 20 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 6 - Опис параметрів об'єкта **Level** | ||
|
||
.. csv-table:: | ||
:file: for_csv/Level.csv | ||
:widths: 20, 20 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
Таблиця 7 - Опис параметрів об'єкта **XCertificateProduct** | ||
|
||
.. csv-table:: | ||
:file: for_csv/XCertificateProduct.csv | ||
:widths: 1, 5, 12, 41 | ||
:header-rows: 1 | ||
:stub-columns: 0 | ||
|
||
------------------------- | ||
|
||
.. [#] Під визначенням колонки **Тип поля** мається на увазі скорочене позначення: | ||
* M (mandatory) — обов'язкові до заповнення поля; | ||
* O (optional) — необов'язкові (опціональні) до заповнення поля. |
11 changes: 10 additions & 1 deletion
11
docs/Certificate/EDIN_2_0/APIv2/Methods/EveryBody/for_csv/XQueryCertificates.csv
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