Pobierz zadania wydruku dla zamówienia
GET
/api/v1/printing/printjobs/byPlatformOrderId/{platformOrderId}
const url = 'https://twoja-instancja-cloudprint-api.enterprise.sellrocket.pl/api/v1/printing/printjobs/byPlatformOrderId/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-cloudprint-api.enterprise.sellrocket.pl/api/v1/printing/printjobs/byPlatformOrderId/example \ --header 'Authorization: Bearer <token>'Zwraca zadania wydruku powiązane z danym zamówieniem.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”platformOrderId
wymagane
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
Array<object>
object
title
string
contentType
string
state
string
lastStateChangeTimestamp
string format: date-time
printAttempt
integer format: int64
printRetries
integer format: int64
cpPrintJobId
integer format: int64
baseUri
string
path
string
connectionId
integer format: int64
printerId
integer format: int64
passThroughCommandData
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive
platformOrderId
string
downloadMethod
string
createdAt
string format: date-time
requestedAtUtc
string format: date-time
printedAtUtc
string format: date-time
Array<object>
object
title
string
contentType
string
state
string
lastStateChangeTimestamp
string format: date-time
printAttempt
integer format: int64
printRetries
integer format: int64
cpPrintJobId
integer format: int64
baseUri
string
path
string
connectionId
integer format: int64
printerId
integer format: int64
passThroughCommandData
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive
platformOrderId
string
downloadMethod
string
createdAt
string format: date-time
requestedAtUtc
string format: date-time
printedAtUtc
string format: date-time
Examplegenerated
[ { "title": "example", "contentType": "example", "state": "example", "lastStateChangeTimestamp": "2026-04-15T12:00:00Z", "printAttempt": 1, "printRetries": 1, "cpPrintJobId": 1, "baseUri": "example", "path": "example", "connectionId": 1, "printerId": 1, "passThroughCommandData": { "additionalProperty": {} }, "platformOrderId": "example", "downloadMethod": "example", "createdAt": "2026-04-15T12:00:00Z", "requestedAtUtc": "2026-04-15T12:00:00Z", "printedAtUtc": "2026-04-15T12:00:00Z" }]Array<object>
object
title
string
contentType
string
state
string
lastStateChangeTimestamp
string format: date-time
printAttempt
integer format: int64
printRetries
integer format: int64
cpPrintJobId
integer format: int64
baseUri
string
path
string
connectionId
integer format: int64
printerId
integer format: int64
passThroughCommandData
object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive
platformOrderId
string
downloadMethod
string
createdAt
string format: date-time
requestedAtUtc
string format: date-time
printedAtUtc
string format: date-time
Examplegenerated
[ { "title": "example", "contentType": "example", "state": "example", "lastStateChangeTimestamp": "2026-04-15T12:00:00Z", "printAttempt": 1, "printRetries": 1, "cpPrintJobId": 1, "baseUri": "example", "path": "example", "connectionId": 1, "printerId": 1, "passThroughCommandData": { "additionalProperty": {} }, "platformOrderId": "example", "downloadMethod": "example", "createdAt": "2026-04-15T12:00:00Z", "requestedAtUtc": "2026-04-15T12:00:00Z", "printedAtUtc": "2026-04-15T12:00:00Z" }]Unauthorized
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
