Response parameters

General

Every response has a general part (see below). The element "data" is individual for each endpoint (see tab "Response" of each end point).

All endpoints

HEAD http://host/*

See Response tab

{
    "success": Was the request successful; true when yes; false if not,
    "code": Response code of the API; 0 when successful; for possible response codes see https://github.com/MarcinOrlowski/laravel-api-response-builder/blob/master/src/BaseApiCodes.php,
    "locale": Language of the response; „en“ for english,
    "message": Message with the result of the request; „OK“ when successful,
    "data": {
        // returned data, individually determined for every endpoint
        // see Response tab of the endpoint for details
    }    
}

Individuell

USt-VA/ZM/UStE

POST http://host/v1/(ustva|zm|uste)

See tab response

Protocol

GET http://host/v1/protocol/:ticket

Get the PDF transfer protocol for the ticket

Path Parameters

Name
Type
Description

ticket

string

Unique ID provided with original request

Status

GET http://host/v1/status/:ticket

Get internal processing for ticket

Path Parameters

Name
Type
Description

ticket

string

Unique ID provided with original request

Ticket

GET http://host/v1/ticket/:ticket

Get metadata for ticket

Path Parameters

Name
Type
Description

ticket

string

Unique ID provided with original request

Version

GET http://host/v1/version

Return versions of utilized software

Hook

For the description of the webhook parameters see Webhook.

Last updated