Przejdź do głównej zawartości

Pobierz drukarki połączenia

GET
/api/v2/printing/printers/{connectionId}
curl --request GET \
--url https://twoja-instancja-cloudprint-api.enterprise.sellrocket.pl/api/v2/printing/printers/1 \
--header 'Authorization: Bearer <token>'

Zwraca drukarki dostępne w danym połączeniu.

connectionId
wymagane
integer format: int64

Success

Array<object>
object
id
integer format: int64
connectionId
integer format: int64
cpPrinterId
integer format: int64
cpUserId
integer format: int64
printerName
string
nullable
computerName
string
nullable
isEnabled
boolean
visibility
string
Dozwolone wartości: Listed Unlisted

Unauthorized

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

Not Found

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties