Receipt
Ozan avatar
Written by Ozan
Updated over a week ago

This app command enable Oliver to print predefined data from an external source (URL) on a document. User can define the number of copies to print.

POST

Description:
Fetch data from a URL and print the data on a customized receipt with the defined number of copies.

Request Body:

JSON

{ 
command: 'Receipt',
method: 'post',
version: '1.0',
url: 'https://www.thaimeup.com',
quantity: 5
}

Response Body:

JSON

{ 
command: 'Receipt',
method: 'post',
version: '1.0',
status: 200,
error: null
}

Parameters:

Attribute Name

Attribute Type

Description

Enum

Required (binary)

command

string

High level command name to interact with Oliver

null

1

method

string

These correspond to create, read, update, and delete (or CRUD) operations

null

1

version

string

The version of the command used

null

1

url

string

Source of the data

null

1

quantity

integer

Number of copies to print

null

1

Did this answer your question?