peppol:publicrestapi
Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
| Obě strany předchozí revizePředchozí verzeNásledující verze | Předchozí verze | ||
| peppol:publicrestapi [07.04.2026 06:55] – turych | peppol:publicrestapi [13.04.2026 06:29] (aktuální) – turych | ||
|---|---|---|---|
| Řádek 3: | Řádek 3: | ||
| ===== Test Access Point URL ===== | ===== Test Access Point URL ===== | ||
| - | https:// | + | [[https:// |
| ===== Production Access Point URL ===== | ===== Production Access Point URL ===== | ||
| - | https:// | + | [[https:// |
| ===== Basic communication verification ===== | ===== Basic communication verification ===== | ||
| - | * //URL:// {URL}/ | + | * // |
| * //HTTP method:// GET | * //HTTP method:// GET | ||
| * // | * // | ||
| * // | * // | ||
| - | * Accept: '' | + | * Accept: '' |
| * //Body:// empty | * //Body:// empty | ||
| * // | * // | ||
| Řádek 21: | Řádek 21: | ||
| ===== Authentication ===== | ===== Authentication ===== | ||
| - | * //URL:// {URL}/ | + | * // |
| * //HTTP method:// POST | * //HTTP method:// POST | ||
| * // | * // | ||
| * // | * // | ||
| - | * Accept: '' | + | * Accept: '' |
| * Content-Type: | * Content-Type: | ||
| * //Body:// JSON with user name (VAT NO) and password in structure: | * //Body:// JSON with user name (VAT NO) and password in structure: | ||
| Řádek 46: | Řádek 46: | ||
| </ | </ | ||
| - | * // | + | * // |
| * // | * // | ||
| * // | * // | ||
| Řádek 61: | Řádek 61: | ||
| </ | </ | ||
| - | ===== Sending | + | ===== Sending |
| Validates and sends one document. | Validates and sends one document. | ||
| - | * //URL:// {URL}/ | + | * // |
| * //HTTP method:// POST | * //HTTP method:// POST | ||
| - | * // | + | * // |
| * // | * // | ||
| - | * Accept: '' | + | * Accept: '' |
| * Content-Type: | * Content-Type: | ||
| - | * Authorization: | + | * Authorization: |
| - | * X-PEPPOL-RECEIVER: | + | * X-PEPPOL-RECEIVER: |
| - | * X-PEPPOL-DOC-TYPE: | + | * X-PEPPOL-DOC-TYPE: |
| * //Body:// document in PEPPOL BIS 3.0 format | * //Body:// document in PEPPOL BIS 3.0 format | ||
| * // | * // | ||
| Řádek 85: | Řádek 85: | ||
| </ | </ | ||
| - | * // | + | * // |
| * // | * // | ||
| * // | * // | ||
| Řádek 96: | Řádek 96: | ||
| --header ' | --header ' | ||
| --header ' | --header ' | ||
| - | --header ' | + | --header ' |
| --data-raw '< | --data-raw '< | ||
| </ | </ | ||
| - | ===== Receiving documents | + | ===== Sending document in flat structure |
| - | Receipt of a single | + | Validates and sends one document |
| - | * //URL:// {URL}/ | + | * // |
| + | * //HTTP method:// POST | ||
| + | * // | ||
| + | * // | ||
| + | * Accept: '' | ||
| + | * Content-Type: | ||
| + | * Authorization: | ||
| + | * X-PEPPOL-RECEIVER: | ||
| + | * X-PEPPOL-DOC-TYPE: | ||
| + | * //Body:// document in [[Vstupní-FlatXML|flat format]] | ||
| + | * // | ||
| + | |||
| + | <code json> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | * // | ||
| + | * // | ||
| + | * // | ||
| + | |||
| + | ==== Example ==== | ||
| + | |||
| + | ===== Receiving document in BIS3.0 format ===== | ||
| + | |||
| + | Receipt of a single document in PEPPOL BIS3.0 format. | ||
| + | |||
| + | * //URL:// [[{{URL}}/ | ||
| * //HTTP method:// GET | * //HTTP method:// GET | ||
| - | * // | + | * // |
| * // | * // | ||
| - | * Accept: '' | + | * Accept: '' |
| * Content-Type: | * Content-Type: | ||
| - | * Authorization: | + | * Authorization: |
| - | * X-PEPPOL-DOCUMENT-ID: | + | * X-PEPPOL-DOCUMENT-ID: |
| * //Body:// none | * //Body:// none | ||
| * // | * // | ||
| Řádek 125: | Řádek 155: | ||
| </ | </ | ||
| - | * // | + | * // |
| * // | * // | ||
| * // | * // | ||
| Řádek 134: | Řádek 164: | ||
| curl --location ' | curl --location ' | ||
| --header ' | --header ' | ||
| - | --header ' | + | --header ' |
| </ | </ | ||
| + | |||
| + | ===== Receiving document in flat structure ===== | ||
| + | |||
| + | Receipt of a single document in flat structure. The flat structure XML is described in detail [[Vstupní-FlatXML|here]]. | ||
| + | |||
| + | * //URL:// [[{{URL}}/ | ||
| + | * //HTTP method:// GET | ||
| + | * // | ||
| + | * // | ||
| + | * Accept: '' | ||
| + | * Content-Type: | ||
| + | * Authorization: | ||
| + | * X-PEPPOL-DOCUMENT-ID: | ||
| + | * //Body:// none | ||
| + | * // | ||
| + | |||
| + | <code json> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | * // | ||
| + | * // | ||
| + | * // | ||
| + | |||
| + | ==== Example ==== | ||
| ===== Retrieval of all documents ===== | ===== Retrieval of all documents ===== | ||
| Řádek 141: | Řádek 202: | ||
| Retrieves a list of all documents (sent and received) without including their payload. | Retrieves a list of all documents (sent and received) without including their payload. | ||
| - | * //URL:// {URL}/ | + | * // |
| * //HTTP method:// GET | * //HTTP method:// GET | ||
| * // | * // | ||
| - | * // | + | * // |
| * // | * // | ||
| - | * Accept: '' | + | * Accept: '' |
| * Content-Type: | * Content-Type: | ||
| - | * Authorization: | + | * Authorization: |
| * //Body:// none | * //Body:// none | ||
| * // | * // | ||
| Řádek 180: | Řádek 241: | ||
| </ | </ | ||
| - | * // | + | * // |
| * // | * // | ||
| * // | * // | ||
| Řádek 188: | Řádek 249: | ||
| <code bash> | <code bash> | ||
| curl --location ' | curl --location ' | ||
| - | --header ' | + | --header ' |
| </ | </ | ||
| ===== Retrieval of previously undownloaded documents ===== | ===== Retrieval of previously undownloaded documents ===== | ||
| - | Retrieves a list of documents with the status | + | Retrieves a list of documents with the status |
| - | * //URL:// {URL}/ | + | * // |
| * //HTTP method:// GET | * //HTTP method:// GET | ||
| - | * // | + | * // |
| * // | * // | ||
| - | * Accept: '' | + | * Accept: '' |
| * Content-Type: | * Content-Type: | ||
| - | * Authorization: | + | * Authorization: |
| * //Body:// none | * //Body:// none | ||
| * // | * // | ||
| Řádek 222: | Řádek 283: | ||
| </ | </ | ||
| - | * // | + | * // |
| * // | * // | ||
| * // | * // | ||
| Řádek 230: | Řádek 291: | ||
| <code bash> | <code bash> | ||
| curl --location ' | curl --location ' | ||
| - | --header ' | + | --header ' |
| </ | </ | ||
| - | |||
peppol/publicrestapi.1775544937.txt.gz · Poslední úprava: 07.04.2026 06:55 autor: turych