v1

latestOpenAPI 3.0.02026-08-04880393.1 KB

Document.Copy

post/online/RivhitOnlineAPI.svc/Document.Copy

Request body

api_tokenstring uuid required

Rivhit Merchant API Identifier.

Default: No

document_typeinteger required

The Type of the Document to Copy.

Range: 0 to 999 Default: No

document_numberinteger required

The Number of the Document to Copy.

Range: 0 to 999999
Default: Documents settings

language'he' | 'en' nullable

Set the Document Language.

Options: (he/en) Default: he

force_copyboolean nullable

Return the Document as Copy.

Default: false

thermal_printboolean nullable

Activate Thermal Print.

Default: false

Example request

{
  "api_token": "DECD03E5-E35C-41E8-84F7-FBA2FB483928",
  "document_type": 1,
  "document_number": 1000,
  "language": "he"
}

Response

Success - Document Copy Returned

error_codeinteger

The Response Error/Status Number (0 = Success).

client_messagestring

The Client Error Message.

debug_messagestring

The Response Error Message.