Changelog
2024-10-05
-
Expose serial number on printers in the List Printers and Get Printer Properties response.
2024-04-06
-
Expose model, vendor and location fields on printers in the List Printers and Get Printer Properties response.
2023-07-12
-
Added endpoints for guest user administration: Create User, List Users, and Delete User.
2023-05-24
-
Added the
/changeOwner
endpoint which allows users to modify the print job’s owner by providing the email address of the job’s new owner. See Change owner.
2021-07-30
-
Exposed the printer status (whether it is online or not) when querying printers. See Printer List Example and Printer Info Example
2021-03-26
-
Better documented the use for the PDL parameter, see Submit a job
2021-03-22
-
Added an option in the request body of the New Submit method, to allow the user to specify if a job should be scaled.
2021-03-01
-
Added an alternative version of the
/submit
endpoint, that allows users to change print job properties like color and duplex that are defined in the request body.
See New Submit method for more information. -
Added new changelog section to the API documentation.
Introduction
The Printix Cloud Print API is intended for use by applications that wish to push print jobs in PDF or native format into a Printix queue.
Creating and printing a document is a multistage process, consisting of:
-
Fetching a list of printers. (See List Printers)
-
Selecting a printer. (See Get printer properties)
-
Creating a job for that printer. (See Submit a job)
-
Making a PUT request to the cloud storage links returned in the previous step’s response, including the document to print in the request body. (See Upload a file)
-
Using the uploadCompleted link present in the response from step 3 to inform Printix that the document has been submitted and uploaded and is ready to be printed. (See Complete Upload).
Each of these four steps is detailed in their respective sections of this document.
API Conventions
Please be aware that use of the API may be throttled if an application makes too many requests in a short amount of time:
the current threshold is set to 100 request per minute per user, which we estimate would allow a user to submit an average of 20 jobs each minute. See the Rate Limiting section for more information. |
Terminology: The word "Resource" is used to refer to a single entity (printer, job, etc.) in its raw form. The word "Document" is used to describe a complete response, so a resource or multiple resources and whatever container elements they may be returned in. |
This API makes use of the HAL document format. As such, it is intended to be discoverable by only having knowledge of the API entry-point (see root request). All successful responses contain links that allow exploring the rest of the API. As such, consumers of the API are encouraged to not try to manually construct URLs, but instead make use of the ones returned by previous API responses. An example response looks like:
{
"_links" : {
"self" : {
"href" : [the URL of the returned document] ,
"templated" : true
},
"multiples": [{
"href" : [a single link ] ,
"templated" : true
},{
"href" : [another single link] ,
"templated" : true
}
]
},
...object properties in JSON
}
It’s worth noting that, according to the specification, a link relation may be represented as either an object (if there’s only one), or an array (if there are more). This may represent a challenge. |
Resource lists (jobs, printers) are returned in a paginated container format, with information about the current page (page number, page size, total elements, and total page count) and links to next and previous page if these exist.
{
"_links" : {
"self" : {
"href" : [the URL of the returned document],
"templated" : true
},
"next" : {
"href" : [link to next page of element],
}
},
"success" : true,
"message" : "OK",
"printers" : [ ],
"page" : {
"size" : 100,
"totalElements" : 101,
"totalPages" : 2,
"number" : 1
}
}
See the individual resource descriptions below for a more detailed view of resource structures.
Authentication
The service interacting with Printix must first acquire a set of service tokens. This is done using the Client Credentials flow of OAuth 2
The service is provided, out of band, with a credential set consisting of a client ID and a client secret. These are posted to the Printix token endpoint.
There can only be one set of Cloud Print API credentials in use at one time: if you create new ones later on as described below, your previous ones will be invalidated. |
Be aware that, because the API credentials are tied to an API "user" in our system, the Cloud Print API will not work if the Secure Print configuration on your tenant is set to "All users must print securely". If you wish to use the Cloud Print API, please use Groups to set what users must print securely. Refer to this section of the Printix Administrator manual for more information |
The client ID and secret necessary to authenticate with the API can be obtained through the Printix Administrator dashboard, please refer to the Printix Administrator manual for instruction on how to generate a set of API credentials.
A client ID and secret can be used to get an access token, by sending a POST request to the Printix token endpoint:
$ curl 'https://auth.printix.net/oauth/token' -X POST \
-H 'Content-Type: application/x-www-form-urlencoded'\
-d 'grant_type=client_credentials&client_id={clientId}&client_secret={clientSecret}
In case of success the response will be:
Content-Type: application/json;charset=UTF-8
{
"access_token": "5a8c4ec4-ff70-4f4c-b088-29a8cae38062",
"refresh_token": "e6f05338-9d27-466b-afa8-0ce72945da7d",
"expires_in": 3599
}
Each access token is valid for one hour, after which it will need to be refreshed by getting a new one.
To refresh a token, send a POST request to the Printix token endpoint:
curl 'https://auth.printix.net/oauth/token' -X POST \
-H 'Content-Type: application/x-www-form-urlencoded'\
-d 'grant_type=refresh_token&client_id={clientId}&refresh_token={refreshToken}'
In case of success the response will be:
Content-Type: application/json;charset=UTF-8
{
"access_token": "5a8c4ec4-ff70-4f4c-b088-29a8cae38062",
"refresh_token": "e6f05338-9d27-466b-afa8-0ce72945da7d",
"expires_in": 3599
}
Store the refresh token returned in the response and use that for the next token refresh. The refresh token will not be updated on every request, but you still make sure, you’re using the latest.
Rate Limiting
Rate limiting is implemented using a Token Bucket Algorithm: in short, the server allocates a "bucket" containing a certain amount of tokens (100 in our case), and every time a request is made to the API a token is consumed. The tokens are refilled at a fixed time interval (60 seconds), and if a request comes in but the token bucket is empty, the incoming request is throttled.
Upon a successful request, the response will contain the header X-Rate-Limit-Remaining
which indicates the remaining number of tokens for a given time interval.
If on the other hand, a request is throttled and returns HTTP status code 429, the response will contain the custom header
X-Rate-Limit-Retry-After-Seconds
indicating how many seconds to wait for before retrying.
Throttling applies equally to all endpoints, with the same rate of 100 requests per minute per user. Given these values, users should expect to be able to process around 20 print jobs per minute.
Root request
The API entry point is located at https://api.printix.net/cloudprint
This endpoint takes no request parameters and returns a list of links to accessible tenants.
Code Example Root Example
Submit a job
The /submit
endpoint is used to submit a document for printing.
This endpoint creates a new Printix job using a title parameter and various values specified in the request body:
It creates a new job with the title and properties specified in the body, and
returns the job’s metadata, alongside two sets of links:
-
A link to upload the file to be printed to Printix cloud storage (using either an Azure or Google Cloud Platform backend)
-
An uploadCompleted link used to notify Printix that upload was completed, and the job is ready for printing.
These links will be used after the document has been submitted, to upload the file to cloud storage and finally start the printing process with a request to the /completeUpload
endpoint.
This endpoint takes three parameters:
-
The
title
parameter is a string representing the title of the print job inside the Printix system. It is not mandatory for this parameter to be equal to the title of the document to print (it may be beneficial for consistency, however it is possible to use an arbitrary name for this parameter). -
The
user
parameter is an optional parameter that specifies which user is going to print the current job being submitted. This parameter should be used for scenarios where it is necessary to use the Printix Redirector software, such as USB Printing or integration with third-party print solutions.
The Printix Administrator Manual contains further information on both USB printing, and Integration with third-party Print solutions.
In the case of USB printing, it is not necessary to provide the Printix Redirector with a specific username, so the parameter may set to an arbitrary name.
In the case of integration with third-party solutions however, the user
parameter should be set to the same username used in the third-party software.
It is important to use the exact same formatting in the user
parameter for the Printix Redirector to work.
-
The
PDL
parameter is an optional parameter describing the Page Description Language that the document is in: Examples include PostScript or PCL5. This parameter is used to specify the document to be printed is not a PDF and should be handled accordingly by the print queue driver. It is thus not necessary to have this parameter when printing native PDF documents.
The PDL
parameter can accept one of the following values:
-
PCL5
-
PCLXL
-
POSTSCRIPT
-
UFRII
-
TEXT
-
XPS
Please be aware that setting custom paper sizes is not supported, changing fields inside the request body will not change the document output. Users who wish to change color, duplex, paper size and other such print job properties should use the New Submit method instead. To use non-standard document dimensions outside of the supported paper sizes, for example for use with label printers, please submit a document in native print format instead of PDF. |
Request parameters
Parameter | Description |
---|---|
|
Title of the print job. |
|
Name of the user that is printing. This parameter is used for integration with third-party print solutions. |
|
Optional. Printer Document Language to use for the document to be printed, if it is not PDF. |
Response
This API call returns the following:
-
A boolean success indicator.
-
A description of the print job that was created, with its metadata,
-
Upload links to the tenant’s preferred cloud storage service, to which the document to be printed should be uploaded.
-
A
uploadCompleted
link to be used with the/completeUpload
endpoint.
Below is a breakdown of the fields returned in the response.
Path | Type | Description |
---|---|---|
|
|
ID of the generated print job. |
|
|
Unix timestamp for when the job was created. |
|
|
Unix timestamp of when the job was last updated (for new jobs, this is the same as |
|
|
Current state of the job. |
|
|
ID of the Printix user who is the owner of the job. |
|
|
Content type of the uploaded document. |
|
|
Title of the print job that was specified in the parameter of the |
|
|
Link to be used for changing the job’s owner. |
|
|
Link to be used once a job has completed uploading, to initiate the print process. |
|
|
Document upload link. |
|
|
The actual URL to upload the document data (using HTTP PUT). |
|
|
Any additional headers to add to the HTTP PUT request. |
Error handling
This endpoint returns a false boolean success indicator in all failure scenarios, as well as a 404 error if the supplied printer specified in the request could not be found. A 500 error is thrown if other errors occur. In both cases, the response body contains an error description and an internal error ID for troubleshooting.
Code example: Submit Example
New Submit method
An alternative version of the /submit
endpoint exist, allowing users to specify the following properties for the print job they are submitting:
-
Color
-
Duplex
-
Page orientation
-
Copies
-
Paper size
-
Scaling
-
Job releasing mode (immediately, later)
For more details on these, see the Request body fields table below, as well as the example.
This newer version of the endpoint is on the same URL as the original version of the /submit endpoint. To use this new version, simply follow these two steps:- Add a version header to your request and set it to the value 1.1 .- Change the body of an existing request, or create a new request body; In both cases, the request body should have the same fields and formatting shown in Submit Example (version 1.1). |
The Request body fields table further below shows what values can be set for each field.
Request parameters
Parameter | Description |
---|---|
|
The title of the print job |
|
The name of the user that is printing, for integration with third-party print solutions |
|
Optional. The Printer Document Language to use for the document to be printed, if it is not PDF |
|
Optional. A boolean parameter indicating whether the print job should be released on the printer immediately after the |
Refer to the Submit a job section for more information on request parameters.
Request body fields
Parameter | Description |
---|---|
|
Sets whether the document should be printed in color. |
|
Sets what kind of duplex to use to print the document, if any. |
|
Sets the page orientation. |
|
A positive integer, representing the number of copies to print. |
|
Sets the page dimensions for the document to be printed. |
|
Determines how the job should be scaled if at all; if set the document will be scaled to the paper size |
Paper size values
-
A0
,A1
,A2
,A3
,A4
,A5
,B4
,B5
-
ISOA0
,ISOA1
,ISOA2
,ISOA3
,ISOA4
,ISOA5
,ISOB4
,ISOB5
-
LETTER
-
LEGAL
-
EXECUTIVE
-
EXEC
-
COM10
-
MONARCH
-
DL
-
ANSIC
,ANSID
,ANSIE
,ARCHC
,ARCHD
,ARCHE
-
TABLOID
, -
JISB5
, -
JISB4
, -
STATEMENT
,
Error handling
This endpoint returns a false boolean success indicator in all failure scenarios, as well as a 404 error if the supplied printer specified in the request could not be found. A 500 error is thrown if other errors occur. In both cases, the response body contains an error description and an internal error ID for troubleshooting.
Code example: Submit Example (version 1.1)
Upload a file
After a /submit
request has completed successfully, it is up to the user or application to upload the
document to cloud storage, so that it may be printed.
Please note that in order for uploading to work, the Cloud Storage of jobs should be enabled for the tenant. Both Azure and Google back-ends are supported. Instructions on how to enable cloud storage can be found in the Printix Administrator Manual |
To upload a document to cloud storage, send a PUT request to the cloud storage URL returned in the /submit
response, using the
document to be uploaded as a body.
The /submit
response also contains an additional field after the generated cloud storage URL, that should be added as a
custom header in the PUT request. This header varies depending on what storage provider is chosen.
Below is an example of how to upload a document to Azure blob storage using CURL: in this example we assume that we need to print a file called test.pdf located in the current working directory, and we use the URL and headers returned in the Submit Example
1) We submit the document, setting the title
parameter to a title of our choice.
2) We send a PUT request to the appropriate URL based on our storage provider of choice, taking care to add the custom header.
The submit example uses Azure, and thus we will also add the custom header x-ms-blob-type
with the appropriate value.
Be aware that this is just an example, the actual request URL and headers will vary based on which
provider is used, the document to be uploaded and the time.
Use the URL and headers provided in the submit response for your own request, and use the appropriate
file path for your document in the --binary-data filed.
|
$ curl 'https://printixjobs.blob.core.windows.net/9aab9505-c84f-4dba-814f-d710b7c6d089/printix-jobs-file-upload/c5d97124-4e31-4a83-887b-b52b6d53249e?sig=3FlDWWBnr7704VgZjjApglkioBcUkS9F%2FZXJAVbBmAY%3D&st=2020-09-17T12%3A11%3A14Z&se=2020-09-17T13%3A26%3A14Z&sv=2017-04-17&sp=cw&sr=b' -i \
-X POST \
-H 'Content-Type: application/pdf' \
-H 'x-ms-blob-type: BlockBlob' \
--data-binary '@./test.pdf'
Error handling
If the upload is performed successfully, it will return a 201 or 200 status code.
Please be aware that uploading a file to cloud storage does not require the same authentication as Cloud Print API endpoints: Azure and/or Google will handle the authentication for this particular request.
GCP and Azure will not recognize Cloud Print API tokens and will return a 403 error if the user tries to send such token along with the request.
In practice, users should use no explicit authentication for this step.
Other failure scenarios will return a 500 error.
Complete Upload
The /completeUpload
endpoint is the final step in the workflow necessary to submit a document for printing
using this API. It informs Printix that the job submission and subsequent upload has completed successfully.
Once the Printix system has been notified that the user has submitted and uploaded a document, it will take care of
converting the document if necessary, and queue it for printing on the appropriate printer.
The job will be printed on the printer and printer queue that were specified during a previous /submit
request. Printing starts automatically only if the releaseImmediately
=true parameter was specified in the earlier /submit
request.
This endpoint takes no request parameters; it returns a boolean success indicator, alongside metadata for the job indicating that it is being processed.
Error handling
This endpoint returns a false boolean success indicator in all failure scenarios, as well as a 404 error if the specified printer or job could not be found. A 500 error is thrown if other errors occur. In both cases, the response body contains an error description and an internal error ID for troubleshooting.
Code Example: Complete Upload Example
Retrieve Jobs
The /jobs
endpoint (plural) is used to retrieve a list of jobs for the authenticated user.
There are two ways to call the /jobs
endpoint, as a request can be made with or without specifying
printer ID and queue ID.
If a request is made without specifying a printer ID and queue ID, this endpoint will return a list of all jobs associated with the authenticated user, irrespective of what printer they are associated with.
If, on the other hand, the user specifies the printer ID and queue ID, this request will return a list of jobs on that queue.
To illustrate the difference, note the difference between the request URLs in the examples: sending a request to
/cloudprint/tenants/b54aed12-c905-4dd1-a69f-5b34aec43533/jobs
will retrieve all jobs for that tenant, while a request sent to
/cloudprint/tenants/2b137cb3-8cd3-4dd6-9983-64b1ee2c8b23/printers/581cd264-ccda-4407-b0c5-fb87bd42e95f/queues/498eb501-ae20-40b5-9779-be8d20dbdfa7/jobs
will retrieve jobs for that same tenant, but only for the specified queue.
Request parameters
- Both versions of this endpoint take the optional parameters outlined below, except for the
sortOrder
parameter
Parameter | Description |
---|---|
|
A parameter used to look for printers whose name contains a specific sequence of characters |
|
An integer value that indicates which page of the results to display if the list of printers is split over multiple pages |
|
An integer value that indicates how many printers can fit on a page |
|
An optional parameter that indicates how the returned jobs should be sorted |
The sortOrder
parameter is only available when listing all jobs on a tenant (i.e., the first example endpoint given above) and can be used to set what propriety is used to sort the returned jobs.
The sortOrder
parameter can be set to one of the following values:
Value |
Description |
|
Sort jobs in ascending order of submission. |
|
Sort jobs in descending order of submission. (this is the default if the parameter is not set explicitly) |
|
Sort jobs in ascending order of status. |
|
Sort jobs in descending order of status. |
|
Sort jobs in ascending alphabetical order of title |
|
Sort jobs in descending alphabetical order of title. |
Response
Both versions of the endpoint return a boolean success indicator and a paged list of jobs.
Below is a breakdown of the fields returned in the response.
Path | Type | Description |
---|---|---|
|
|
ID of the tenant. |
|
|
If set as a request parameter, it describes on what field the returned jobs should be sorted. |
|
|
A JSON Object containing API links to a specific job, as well as the printer that it was sent to. |
|
|
ID of the generated print job. |
|
|
Unix timestamp for when the job was created. |
|
|
Unix timestamp for when the job was last updated (for new jobs, this is the same as |
|
|
Current state of the job. |
|
|
ID of the Printix user who is the owner of the job. |
|
|
Content type of the uploaded document. |
|
|
Title of the print job that was specified in the parameter of the |
Error handling
This endpoint returns a false boolean success indicator in all failure scenarios, as well as a 404 error if the jobs or specified printer could not be found. A 500 error is thrown if other errors occur. In both cases, the response body contains an error description and an internal error ID for troubleshooting.
General Code Example: Job List Example
Code Example with a printer specified: Printer Job List Example
Retrieve a single Job
The /job
endpoint (singular) is used to retrieve a single job, for example to check its status after it has been submitted.
This endpoint takes no parameters, it returns a boolean success indicator and information for the job that was queried.
Error handling
This endpoint returns a false boolean success indicator in all failure scenarios, as well as a 404 error if the specified job could not be found. A 500 error is thrown if other errors occur.
Code Example: Job Example
Delete a single Job
The /delete
endpoint is used to delete a single job. For example, to clean out jobs were submitted but not printed, or jobs that failed to print.
This endpoint takes no parameters, it returns a boolean success indicator and a message confirming that the job has been deleted.
Error handling
This endpoint returns a false boolean success indicator in all failure scenarios, as well as a 404 error if the job to delete could not be found. A 500 error is thrown if other errors occur.
Code Example: Delete Example
Get printer properties
The /printer
endpoint (singular) can be used to receive all fields of a specified printer, including its capabilities.
It takes no request parameters and returns a boolean success indicator with a paged singleton list containing the requested printer.
As a printer resource contains a lot of different fields whose meaning could be unclear, the table below is provided for the user’s convenience:
Path | Type | Description |
---|---|---|
|
|
ID of the returned printer. |
|
|
Name of the returned printer. |
|
|
Connection status of the returned printer: can be either |
|
|
Type of the returned printer. |
|
|
Sign ID of the associated printer. Note that this is associated with a single printer, not a queue, so the value of the field may not be unique if multiple queues exist for a single printer. |
|
|
The serial number of the printer. Note that this is associated with a single printer, not a queue, so the value of the field may not be unique if multiple queues exist for a single printer. |
|
|
The location of the printer (if set). This is reflected, and can be modified, in the Printix Administrator |
|
|
The Printer model, as detected by Printix |
|
|
The Printer vendor, as detected by Printix |
|
|
A list of supported paper formats on the printer. |
|
|
A list of content types/print formats supported by the printer. This is always PDF by default. |
|
|
(DEPRECATED) Describes the default and maximum number of copies supported by the printer. |
|
|
A list of color options supported by the printer. |
|
|
A list of objects describing whether the printer supports releasing print jobs from the cloud, and various localization options. |
|
|
A JSON object containing API links for this printer, which the user can use to query information about this specific printer, submit a job on this printer, or see the jobs on it. |
Error handling
This endpoint returns a false boolean success indicator in all failure scenarios, as well as a 404 error if the specified printer could not be found. A 500 error is thrown if other errors occur. In both cases, the response body contains an error description and an internal error ID for troubleshooting.
Code Example: Printer Info Example
List Printers
The /printers
endpoint (plural) can be used to retrieve a list of printers for the authenticated user, alongside their capabilities.
Request parameters
This request can take the following optional parameters:
Parameter | Description |
---|---|
|
A parameter used to look for printers whose name contains a specific sequence of characters |
|
An integer value that indicates which page of the results to display if the list of printers is split over multiple pages |
|
An integer value that indicates how many printers can fit on a page |
Response
This request returns a boolean success indicator and a paged list of printers with their capabilities.
Below is a breakdown of the fields returned in the response.
Path | Type | Description |
---|---|---|
|
|
ID of the returned printer. |
|
|
Name of the returned printer. |
|
|
Connection Status of the returned printer: can be either |
|
|
Sign ID of the associated printer. Note that this is associated with a single printer, not a queue, so the value of the field may not be unique if multiple queues exist for a single printer. |
|
|
The serial number of the printer. Note that this is associated with a single printer, not a queue, so the value of the field may not be unique if multiple queues exist for a single printer. |
|
|
The location of the printer (if set). This is reflected, and can be modified, in the Printix Administrator |
|
|
The Printer model, as detected by Printix |
|
|
The Printer vendor, as detected by Printix |
|
|
A list of supported paper formats on the printer. |
|
|
A list of content types/print formats supported by the printer. This is always PDF by default. |
|
|
(DEPRECATED) Describes the default and maximum number of copies supported by the printer. |
|
|
A list of color options supported by the printer. |
|
|
A list of objects describing whether the printer supports releasing print jobs from the cloud, and various localization options. |
|
|
A JSON object containing API links for this printer, which the user can use to query information about this specific printer, submit a job on this printer, or see the jobs on it. |
Error handling
This endpoint returns a false boolean success indicator in case of errors, as well as a description of the error.
The response body also contains an internal error ID for troubleshooting.
Code Example: Printer List Example
Change owner
The /changeOwner
endpoint can be used to modify which user is the owner of the print job. By default, all jobs created through the
Cloud Print API have a hidden Cloud Print API user assigned. These hidden user accounts cannot log in to the devices.
They are authorized only to access the Cloud Print API using the client ID and client secret pairs. Using this endpoint, API users can
create print jobs for "real" users who have their own Azure/Google/etc. identity.
These end-users can release their own print jobs at the devices later using secure print if the job was submitted with
the releaseImmediately
=false setting.
After the job’s owner changed, the job will disappear from the list returned by the Retrieve Jobs operation since the job no longer belongs to the original Cloud Print API user.
Due to security reasons, it’s possible to change the owner only for those jobs which were created through the Cloud Print API. |
Request parameters
This request can take the following parameter:
Parameter | Description |
---|---|
|
The email address of the job’s new owner. This user must be registered and validated in the same tenant as the job was created. |
This parameter can be passed through query string parameter or in the request body if the Content-Type HTTP header is "application/x-www-form-urlencoded". |
Response
This request returns a boolean success indicator and information for the job that was modified.
Error handling
This endpoint returns a false boolean success indicator in case of errors, as well as a description of the error.
The response body also contains an internal error ID for troubleshooting.
Code Example: Change Owner Example
Create User
The /users/create
endpoint can be used to create a new guest user.
Request parameters
This endpoint does not take any request parameters. Properties for the user can be specified in the request body. For further details, see the Request body fields table below, as well as Create User Example.
Request body fields
Parameter | Description |
---|---|
|
Email address of the user. |
|
Full name of the user. |
|
Role of the user. Currently, only the |
|
An optional, 4-digit PIN code for the user, which can be used to sign in at the printer. |
|
An optional password for the user. If not specified, the system generates a random password. |
|
An optional timestamp, which sets the end of the validity period of the user. When it expires, the user is scheduled for automatic deletion in the next 24 hours. |
|
Sets whether a welcome email should be sent to the user. Currently, only the default welcome email can be sent regardless of the selected value. |
|
Sets whether an expiration email should be sent to the user. |
Response
This request returns a boolean success indicator, alongside the created user with its metadata.
Below is a breakdown of the fields returned in the response.
Path | Type | Description |
---|---|---|
|
|
ID of the created user. |
|
|
Email address of the user. |
|
|
Full name of the user. |
|
|
Role of the user. Currently, only the GUEST_USER role is supported in this request. |
|
|
6-digit ID code of the user, which can be used to sign in at the printer. |
|
|
4-digit PIN code of the user, which can be used to sign in at the printer. |
|
|
Password of the user. If the user already existed in Printix with the specified email address and now only a new access has been granted to this tenant, the existing password is not changed and not returned. |
|
|
End of the validity period of the user. When it expires, the user is scheduled for automatic deletion in the next 24 hours. |
|
|
Indicates whether a welcome email is sent to the user. |
|
|
Indicates whether an expiration email is sent to the user. |
|
|
The content of the welcome email if it was specified in the request. |
Error handling
This endpoint returns a false boolean success indicator in case of errors, as well as a description of the error.
The response body also contains an internal error ID for troubleshooting.
Code Example: Create User Example
List Users
The /users
endpoint (plural) can be used to retrieve a list of guest users.
Request parameters
This request can take the following optional parameters:
Parameter | Description |
---|---|
|
A parameter used to look for users whose name or email address contains a specific sequence of characters |
|
An integer value that indicates which page of the results to display if the list of users is split over multiple pages |
|
An integer value that indicates how many users can fit on a page |
Response
This request returns a boolean success indicator and a paged list of users.
Below is a breakdown of the fields returned in the response.
Path | Type | Description |
---|---|---|
|
|
ID of the user. |
|
|
Full name of the user. |
|
|
Email address of the user |
|
|
Role of the user in Printix. Currently, only the |
|
|
End of the validity period of the user. When it expires, the user is scheduled for automatic deletion. |
|
|
Link to the current user object. |
|
|
Link to the list of the user’s cards. |
Error handling
This endpoint returns a false boolean success indicator in case of errors, as well as a description of the error.
The response body also contains an internal error ID for troubleshooting.
Code Example: User List Example
Delete User
The /users/{userId}/delete
endpoint is used to delete a guest user.
This endpoint takes only the userId parameter in the URI path. It returns a boolean success indicator and a message confirming that the user has been deleted.
Error handling
This endpoint returns a false boolean success indicator in all failure scenarios, as well as a 404 error if the user to delete could not be found. A 500 error is returned if other errors occur. In both cases, the response body contains an error description and an internal error ID for troubleshooting.
Code Example: Delete User Example
Code Examples
Root Example
Request:
GET /cloudprint HTTP/1.1
Authorization: Bearer 8317f155-a179-4b15-b4ac-79de0b891b65
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: XpLW7yP2
Content-Type: application/json
Content-Length: 227
{
"_links" : {
"acme.printix.net" : {
"href" : "https://api.printix.net/cloudprint/tenants/41ffa389-e44d-4442-ac5f-263e813e996c/printers?page=0&pageSize=10{&query,network,site}",
"templated" : true
}
}
}
Submit Example
Request:
POST /cloudprint/tenants/6bc05018-f43b-4867-a5f2-a18c2c54e06d/printers/84e3e071-ff14-4806-a7eb-fbc5075c4898/queues/48998fd3-c6ec-4c63-85d9-32b5fa0efb83/submit?title=a+title&user=John+Doe HTTP/1.1
Content-Type: application/json
Authorization: Bearer 4a2987e4-5bda-4cda-8023-0eef6881e8ca
Accept: application/json
Content-Length: 195
Host: api.printix.net
{"vendor_ticket_item":[],"color":{"vendor_id":null,"type":"STANDARD_COLOR"},"duplex":{"type":"NO_DUPLEX"},"page_orientation":{"type":"AUTO"},"copies":{"copies":1},"media_size":{"mediaSize":"A4"}}
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: 82jGXI1S
Content-Type: application/json
Content-Length: 1807
{
"job" : {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/6bc05018-f43b-4867-a5f2-a18c2c54e06d/jobs/c7cce734-1a4b-4c6c-b794-2ee4ba954376"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/6bc05018-f43b-4867-a5f2-a18c2c54e06d/printers/84e3e071-ff14-4806-a7eb-fbc5075c4898/queues/48998fd3-c6ec-4c63-85d9-32b5fa0efb83"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/6bc05018-f43b-4867-a5f2-a18c2c54e06d/jobs/c7cce734-1a4b-4c6c-b794-2ee4ba954376/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "c7cce734-1a4b-4c6c-b794-2ee4ba954376",
"createTime" : 1.7315000012444174E9,
"updateTime" : 1.7315000012475727E9,
"status" : "AWAIT_PRINT",
"ownerId" : "49b6a279-8aff-4fd6-832e-6630a0741a39",
"contentType" : "PDF",
"title" : "a title"
},
"_links" : {
"uploadCompleted" : {
"href" : "https://api.printix.net/cloudprint/tenants/6bc05018-f43b-4867-a5f2-a18c2c54e06d/jobs/c7cce734-1a4b-4c6c-b794-2ee4ba954376/completeUpload"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/6bc05018-f43b-4867-a5f2-a18c2c54e06d/jobs/c7cce734-1a4b-4c6c-b794-2ee4ba954376/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"success" : true,
"message" : "OK",
"uploadLinks" : [ {
"url" : "https://printixjobs.blob.core.windows.net/9aab9505-c84f-4dba-814f-d710b7c6d089/printix-jobs-file-upload/c7cce734-1a4b-4c6c-b794-2ee4ba954376?sig=3FlDWWBnr7704VgZjjApglkioBcUkS9F%2FZXJAVbBmAY%3D&st=2020-09-17T12%3A11%3A14Z&se=2020-09-17T13%3A26%3A14Z&sv=2017-04-17&sp=cw&sr=b",
"headers" : {
"x-ms-blob-type" : "BlockBlob"
}
} ]
}
Submit Example (version 1.1)
Request:
POST /cloudprint/tenants/8bf86d29-07d0-49d6-bed4-453bbba72741/printers/e611117e-fc91-4884-896f-876f0c0e2b48/queues/2934cb29-a20b-438e-bfb4-1a9e8feb76dc/submit?title=a+title&user=John+Doe HTTP/1.1
Content-Type: application/json
Authorization: Bearer 77816f6c-ba0d-4a34-9805-98554f08644d
version: 1.1
Accept: application/json
Content-Length: 137
Host: api.printix.net
{
"color" : false,
"duplex" : "NONE",
"page_orientation" : "AUTO",
"copies" : 1,
"media_size" : "A4",
"scaling" : "NOSCALE"
}
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: AeFvfwPF
Content-Type: application/json
Content-Length: 1805
{
"job" : {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/8bf86d29-07d0-49d6-bed4-453bbba72741/jobs/a0fd34ff-b0a9-48ec-bae3-5e7767855a98"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/8bf86d29-07d0-49d6-bed4-453bbba72741/printers/e611117e-fc91-4884-896f-876f0c0e2b48/queues/2934cb29-a20b-438e-bfb4-1a9e8feb76dc"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/8bf86d29-07d0-49d6-bed4-453bbba72741/jobs/a0fd34ff-b0a9-48ec-bae3-5e7767855a98/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "a0fd34ff-b0a9-48ec-bae3-5e7767855a98",
"createTime" : 1.731500002011228E9,
"updateTime" : 1.731500002013865E9,
"status" : "AWAIT_PRINT",
"ownerId" : "bc85158b-4f2e-4d09-8bd4-820de955d4e1",
"contentType" : "PDF",
"title" : "a title"
},
"_links" : {
"uploadCompleted" : {
"href" : "https://api.printix.net/cloudprint/tenants/8bf86d29-07d0-49d6-bed4-453bbba72741/jobs/a0fd34ff-b0a9-48ec-bae3-5e7767855a98/completeUpload"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/8bf86d29-07d0-49d6-bed4-453bbba72741/jobs/a0fd34ff-b0a9-48ec-bae3-5e7767855a98/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"success" : true,
"message" : "OK",
"uploadLinks" : [ {
"url" : "https://printixjobs.blob.core.windows.net/9aab9505-c84f-4dba-814f-d710b7c6d089/printix-jobs-file-upload/a0fd34ff-b0a9-48ec-bae3-5e7767855a98?sig=3FlDWWBnr7704VgZjjApglkioBcUkS9F%2FZXJAVbBmAY%3D&st=2020-09-17T12%3A11%3A14Z&se=2020-09-17T13%3A26%3A14Z&sv=2017-04-17&sp=cw&sr=b",
"headers" : {
"x-ms-blob-type" : "BlockBlob"
}
} ]
}
Complete Upload Example
Request:
POST /cloudprint/tenants/bddffe04-b727-4df7-9018-1682052d8288/jobs/13a939d4-33e4-4dc7-9355-08a60dd7c8ad/completeUpload HTTP/1.1
Authorization: Bearer b488480a-5c40-40ec-8cc5-d098b6f617d4
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: g2A7CSVT
Content-Type: application/json
Content-Length: 1152
{
"tenantId" : "bddffe04-b727-4df7-9018-1682052d8288",
"sortOrder" : null,
"success" : true,
"message" : "OK",
"jobs" : [ {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/bddffe04-b727-4df7-9018-1682052d8288/jobs/13a939d4-33e4-4dc7-9355-08a60dd7c8ad"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/bddffe04-b727-4df7-9018-1682052d8288/printers/876421ff-e9d1-43fc-8ded-43ab7ddb60ea/queues/c0d6b75d-4655-4e9d-9d3b-9801264673fc"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/bddffe04-b727-4df7-9018-1682052d8288/jobs/13a939d4-33e4-4dc7-9355-08a60dd7c8ad/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "13a939d4-33e4-4dc7-9355-08a60dd7c8ad",
"createTime" : 1.731499986191828E9,
"updateTime" : 1.7315000011918046E9,
"status" : "CONVERTING",
"ownerId" : "b55b6b94-76d5-4337-bcf2-38ed25bf9b50",
"contentType" : "PDF",
"title" : "job name"
} ],
"page" : {
"size" : 1,
"totalElements" : 1,
"totalPages" : 1,
"number" : 0
}
}
Job List Example
Request:
GET /cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs?page=0&pageSize=10 HTTP/1.1
Authorization: Bearer 846adf83-66ac-4a3e-831f-2ba83cc01c2d
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: rIFM3Lxl
Content-Type: application/json
Content-Length: 12545
{
"tenantId" : "b9003314-e058-4390-8444-7598424bfc34",
"sortOrder" : null,
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs?page=0&pageSize=10{&sortorder}",
"templated" : true
},
"next" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs?page=1&pageSize=10{&sortorder}",
"templated" : true
}
},
"success" : true,
"message" : "OK",
"jobs" : [ {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/e033de32-bb1b-4a30-b94d-852fd0aaeb4c"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/e033de32-bb1b-4a30-b94d-852fd0aaeb4c/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "e033de32-bb1b-4a30-b94d-852fd0aaeb4c",
"createTime" : 1.7314999866013758E9,
"updateTime" : 1.7315000016013494E9,
"status" : "CONVERTING",
"ownerId" : "009d7d25-ba9d-4998-af84-96f1761b4ec1",
"contentType" : "PDF",
"title" : "job 0"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/adaefdbe-4838-46ba-9484-0d9de0fab613"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/adaefdbe-4838-46ba-9484-0d9de0fab613/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "adaefdbe-4838-46ba-9484-0d9de0fab613",
"createTime" : 1.731499986601398E9,
"updateTime" : 1.7315000016013918E9,
"status" : "CONVERTING",
"ownerId" : "51ccb29a-f6c0-4acc-82c1-b4ead5a2c4e6",
"contentType" : "PDF",
"title" : "job 1"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/1f943cb9-13fd-4520-9dfb-b507eae0f948"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/1f943cb9-13fd-4520-9dfb-b507eae0f948/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "1f943cb9-13fd-4520-9dfb-b507eae0f948",
"createTime" : 1.7314999866014073E9,
"updateTime" : 1.7315000016014042E9,
"status" : "CONVERTING",
"ownerId" : "1b69342f-51ba-4992-b273-a6e456a2dbfc",
"contentType" : "PDF",
"title" : "job 2"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/7f920148-520e-4c36-8159-abc460443df3"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/7f920148-520e-4c36-8159-abc460443df3/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "7f920148-520e-4c36-8159-abc460443df3",
"createTime" : 1.7314999866014178E9,
"updateTime" : 1.731500001601413E9,
"status" : "CONVERTING",
"ownerId" : "59d98ddc-c5d9-4e76-a6c3-fad86f9bffa0",
"contentType" : "PDF",
"title" : "job 3"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/368e1a47-7a72-40de-89dc-8946ebd531d6"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/368e1a47-7a72-40de-89dc-8946ebd531d6/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "368e1a47-7a72-40de-89dc-8946ebd531d6",
"createTime" : 1.7314999866014276E9,
"updateTime" : 1.7315000016014228E9,
"status" : "CONVERTING",
"ownerId" : "03ba7141-0b6a-49e7-ab69-45e45b026269",
"contentType" : "PDF",
"title" : "job 4"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/cff4429f-d18d-4bfe-b27d-3e0bf09bbe17"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/cff4429f-d18d-4bfe-b27d-3e0bf09bbe17/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "cff4429f-d18d-4bfe-b27d-3e0bf09bbe17",
"createTime" : 1.7314999866014352E9,
"updateTime" : 1.7315000016014304E9,
"status" : "CONVERTING",
"ownerId" : "3a489a59-0fec-4b9d-b902-f4b580f16470",
"contentType" : "PDF",
"title" : "job 5"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/a90de935-ce91-4dae-9d04-0ad17bbe2f55"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/a90de935-ce91-4dae-9d04-0ad17bbe2f55/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "a90de935-ce91-4dae-9d04-0ad17bbe2f55",
"createTime" : 1.731499986601445E9,
"updateTime" : 1.7315000016014402E9,
"status" : "CONVERTING",
"ownerId" : "bea5adc3-8714-4bc9-8252-730b58cbe388",
"contentType" : "PDF",
"title" : "job 6"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/281fcc22-0764-4686-91b1-5b5e5dec01ff"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/281fcc22-0764-4686-91b1-5b5e5dec01ff/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "281fcc22-0764-4686-91b1-5b5e5dec01ff",
"createTime" : 1.7314999866014996E9,
"updateTime" : 1.7315000016014922E9,
"status" : "CONVERTING",
"ownerId" : "1956c5cf-4fb7-4eea-b43a-f2f5d715af94",
"contentType" : "PDF",
"title" : "job 7"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/975815e0-47e6-4d0e-8b12-7688875aaffb"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/975815e0-47e6-4d0e-8b12-7688875aaffb/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "975815e0-47e6-4d0e-8b12-7688875aaffb",
"createTime" : 1.7314999866015189E9,
"updateTime" : 1.731500001601513E9,
"status" : "CONVERTING",
"ownerId" : "bb0c09a5-a43d-4969-be54-90cd1c0dc844",
"contentType" : "PDF",
"title" : "job 8"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/8d1b998a-bb85-4a45-8f74-5c3481ca11f9"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/8d1b998a-bb85-4a45-8f74-5c3481ca11f9/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "8d1b998a-bb85-4a45-8f74-5c3481ca11f9",
"createTime" : 1.7314999866015298E9,
"updateTime" : 1.7315000016015246E9,
"status" : "CONVERTING",
"ownerId" : "cf56b0b9-c5de-47b3-aca8-8e1f8cb327da",
"contentType" : "PDF",
"title" : "job 9"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/3a2ad500-0780-4683-a845-e5e0e66ef9c6"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/3a2ad500-0780-4683-a845-e5e0e66ef9c6/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "3a2ad500-0780-4683-a845-e5e0e66ef9c6",
"createTime" : 1.731499986601538E9,
"updateTime" : 1.7315000016015327E9,
"status" : "CONVERTING",
"ownerId" : "0ebf04a0-7368-4fea-a3c9-1bff01e56d89",
"contentType" : "PDF",
"title" : "job 10"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/23f374cd-006f-4887-8279-b4501ac697a5"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/23f374cd-006f-4887-8279-b4501ac697a5/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "23f374cd-006f-4887-8279-b4501ac697a5",
"createTime" : 1.731499986601548E9,
"updateTime" : 1.7315000016015434E9,
"status" : "CONVERTING",
"ownerId" : "df67d05d-1ff0-4b67-ace7-c8024efc17a0",
"contentType" : "PDF",
"title" : "job 11"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/5835259a-5e6e-4517-a1a5-e0f8610bff95"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/printers/b4c15f4f-63d5-40ed-971f-f76e182e63b1/queues/907382b1-fb5b-4f1f-8e25-871c962e1892"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/b9003314-e058-4390-8444-7598424bfc34/jobs/5835259a-5e6e-4517-a1a5-e0f8610bff95/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "5835259a-5e6e-4517-a1a5-e0f8610bff95",
"createTime" : 1.7314999866015556E9,
"updateTime" : 1.731500001601553E9,
"status" : "CONVERTING",
"ownerId" : "c923480f-c21c-4408-b932-c6224a132539",
"contentType" : "PDF",
"title" : "job 12"
} ],
"page" : {
"size" : 10,
"totalElements" : 13,
"totalPages" : 2,
"number" : 0
}
}
Printer Job List Example
Request:
GET /cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe/jobs?page=0&pageSize=10 HTTP/1.1
Authorization: Bearer b5114842-4a11-47da-958f-bef70fbbf195
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: 6rIjKdV8
Content-Type: application/json
Content-Length: 12648
{
"tenantId" : "e728e48e-1ac2-4b12-bb31-9d05e5b58dc8",
"sortOrder" : null,
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe/jobs?page=0&pageSize=10"
},
"next" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe/jobs?page=1&pageSize=10"
}
},
"success" : true,
"message" : "OK",
"jobs" : [ {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/f675dfa0-bc1b-4932-b768-d1a4e10a655b"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/f675dfa0-bc1b-4932-b768-d1a4e10a655b/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "f675dfa0-bc1b-4932-b768-d1a4e10a655b",
"createTime" : 1.7314999857974186E9,
"updateTime" : 1.7315000007964442E9,
"status" : "CONVERTING",
"ownerId" : "797c6e06-1dbc-451c-bb14-f6bd6c3e8037",
"contentType" : "PDF",
"title" : "job 0"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/b8c0059b-635f-45be-8eed-91854e250451"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/b8c0059b-635f-45be-8eed-91854e250451/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "b8c0059b-635f-45be-8eed-91854e250451",
"createTime" : 1.7314999857981608E9,
"updateTime" : 1.731500000798139E9,
"status" : "CONVERTING",
"ownerId" : "25f88967-ba04-48a0-8b34-72881d5a7049",
"contentType" : "PDF",
"title" : "job 1"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/dfd9d20f-4de6-43c2-90c5-0d36800ae9c0"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/dfd9d20f-4de6-43c2-90c5-0d36800ae9c0/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "dfd9d20f-4de6-43c2-90c5-0d36800ae9c0",
"createTime" : 1.7314999857981927E9,
"updateTime" : 1.7315000007981777E9,
"status" : "CONVERTING",
"ownerId" : "773cbf7a-c4cd-436a-b58c-8f269d538fcb",
"contentType" : "PDF",
"title" : "job 2"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/0e9b2aa7-cc06-45dd-a9df-8adbe02cf2ef"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/0e9b2aa7-cc06-45dd-a9df-8adbe02cf2ef/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "0e9b2aa7-cc06-45dd-a9df-8adbe02cf2ef",
"createTime" : 1.731499985798213E9,
"updateTime" : 1.7315000007982001E9,
"status" : "CONVERTING",
"ownerId" : "9dc1de9d-deeb-48bb-9613-580884ba0fe5",
"contentType" : "PDF",
"title" : "job 3"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/ee888eca-fe64-44fd-bf54-72bff5f658a4"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/ee888eca-fe64-44fd-bf54-72bff5f658a4/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "ee888eca-fe64-44fd-bf54-72bff5f658a4",
"createTime" : 1.731499985798238E9,
"updateTime" : 1.731500000798226E9,
"status" : "CONVERTING",
"ownerId" : "de199986-a5f2-4c6c-acfe-a4d3da697322",
"contentType" : "PDF",
"title" : "job 4"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/0344e98e-bc22-4124-93e0-db20cf7cb680"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/0344e98e-bc22-4124-93e0-db20cf7cb680/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "0344e98e-bc22-4124-93e0-db20cf7cb680",
"createTime" : 1.7314999857982566E9,
"updateTime" : 1.7315000007982507E9,
"status" : "CONVERTING",
"ownerId" : "dcd618f4-63dd-47fe-bf9f-9bcc6cc8a9d1",
"contentType" : "PDF",
"title" : "job 5"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/69efec3a-4894-4e6e-98ce-62b8a1c0eadb"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/69efec3a-4894-4e6e-98ce-62b8a1c0eadb/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "69efec3a-4894-4e6e-98ce-62b8a1c0eadb",
"createTime" : 1.7314999857982802E9,
"updateTime" : 1.731500000798269E9,
"status" : "CONVERTING",
"ownerId" : "55beade0-4a1f-4f82-b229-ecb0920c6ea0",
"contentType" : "PDF",
"title" : "job 6"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/c40173e0-1e2f-44c4-b5bd-8b9d5f8426b6"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/c40173e0-1e2f-44c4-b5bd-8b9d5f8426b6/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "c40173e0-1e2f-44c4-b5bd-8b9d5f8426b6",
"createTime" : 1.7314999857983418E9,
"updateTime" : 1.7315000007983053E9,
"status" : "CONVERTING",
"ownerId" : "30771cb8-739f-4a72-9c9d-c8561741e184",
"contentType" : "PDF",
"title" : "job 7"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/98c61e2c-707a-4627-83dc-cd09d9c51911"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/98c61e2c-707a-4627-83dc-cd09d9c51911/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "98c61e2c-707a-4627-83dc-cd09d9c51911",
"createTime" : 1.7314999857983623E9,
"updateTime" : 1.7315000007983499E9,
"status" : "CONVERTING",
"ownerId" : "2eeae9ee-9f45-4ae7-899b-9a920c727a3f",
"contentType" : "PDF",
"title" : "job 8"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/dd2de3a4-cec2-4b6e-9b52-ed6cb95467a3"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/dd2de3a4-cec2-4b6e-9b52-ed6cb95467a3/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "dd2de3a4-cec2-4b6e-9b52-ed6cb95467a3",
"createTime" : 1.7314999857983866E9,
"updateTime" : 1.7315000007983747E9,
"status" : "CONVERTING",
"ownerId" : "04bfacb9-859b-47f0-9388-a445406516a9",
"contentType" : "PDF",
"title" : "job 9"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/2a534da3-592f-4af8-8e06-9986f71afa5b"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/2a534da3-592f-4af8-8e06-9986f71afa5b/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "2a534da3-592f-4af8-8e06-9986f71afa5b",
"createTime" : 1.731499985798405E9,
"updateTime" : 1.731500000798399E9,
"status" : "CONVERTING",
"ownerId" : "436e996e-d0d9-46ef-ab7c-0aad99108ce6",
"contentType" : "PDF",
"title" : "job 10"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/d9601bdd-cd76-4269-a8ed-63491075cb20"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/d9601bdd-cd76-4269-a8ed-63491075cb20/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "d9601bdd-cd76-4269-a8ed-63491075cb20",
"createTime" : 1.7314999857984288E9,
"updateTime" : 1.7315000007984176E9,
"status" : "CONVERTING",
"ownerId" : "c1a2f1db-f600-47ee-bbe1-19d58af9c4cf",
"contentType" : "PDF",
"title" : "job 11"
}, {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/b8bcac77-b220-49c3-b01e-746ff57b35dc"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/printers/5379b4ee-2a48-4b9a-b6d6-bf650651023c/queues/b4c344e6-1dae-48f8-b1ae-0fde5ca95afe"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/e728e48e-1ac2-4b12-bb31-9d05e5b58dc8/jobs/b8bcac77-b220-49c3-b01e-746ff57b35dc/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "b8bcac77-b220-49c3-b01e-746ff57b35dc",
"createTime" : 1.731499985798453E9,
"updateTime" : 1.7315000007984414E9,
"status" : "CONVERTING",
"ownerId" : "123a918c-9a25-4bb7-8d77-fa9f6e3b1572",
"contentType" : "PDF",
"title" : "job 12"
} ],
"page" : {
"size" : 10,
"totalElements" : 13,
"totalPages" : 2,
"number" : 0
}
}
Job Example
Request:
GET /cloudprint/tenants/5e3a22db-a93b-4724-bc70-5d057277d4ba/jobs/195a6e63-8232-49e1-8c44-1f49cd389488 HTTP/1.1
Authorization: Bearer 3bc3df54-e38b-450c-a01a-058ca8717457
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: EHlMZW0v
Content-Type: application/json
Content-Length: 1151
{
"tenantId" : "5e3a22db-a93b-4724-bc70-5d057277d4ba",
"sortOrder" : null,
"success" : true,
"message" : "OK",
"jobs" : [ {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/5e3a22db-a93b-4724-bc70-5d057277d4ba/jobs/195a6e63-8232-49e1-8c44-1f49cd389488"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/5e3a22db-a93b-4724-bc70-5d057277d4ba/printers/63b56dd1-eae8-4b68-b76b-0d23c59b3080/queues/16d6db60-54c2-4b4c-b3dd-c94d7e592df6"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/5e3a22db-a93b-4724-bc70-5d057277d4ba/jobs/195a6e63-8232-49e1-8c44-1f49cd389488/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "195a6e63-8232-49e1-8c44-1f49cd389488",
"createTime" : 1.7314999871378033E9,
"updateTime" : 1.731500002137795E9,
"status" : "CONVERTED",
"ownerId" : "76e400ee-b7d8-4806-9ce8-cc4d21be0357",
"contentType" : "PDF",
"title" : "job name"
} ],
"page" : {
"size" : 1,
"totalElements" : 1,
"totalPages" : 1,
"number" : 0
}
}
Delete Example
Request:
POST /cloudprint/tenants/99669188-8ef1-460f-b8d9-6998f69a1fc2/jobs/e364b8a1-88da-4d5f-964a-4cb9432bfddd/delete HTTP/1.1
Authorization: Bearer f473e7c4-4164-4d95-93de-24ce4e810541
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: auZIaj3d
Content-Type: application/json
Content-Length: 124
{
"success" : true,
"message" : "The print job with id e364b8a1-88da-4d5f-964a-4cb9432bfddd was deleted successfully."
}
Printer List Example
Request:
GET /cloudprint/tenants/96e1bb8d-5321-45bd-878d-c237cf00bbfd/printers?page=0&pageSize=100 HTTP/1.1
Authorization: Bearer a7c24ba5-89b4-47c4-8599-e0e81201be5a
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: 4OfiYMyT
Content-Type: application/json
Content-Length: 3357
{
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/96e1bb8d-5321-45bd-878d-c237cf00bbfd/printers?page=1&pageSize=100{&query,network,site}",
"templated" : true
},
"prev" : {
"href" : "https://api.printix.net/cloudprint/tenants/96e1bb8d-5321-45bd-878d-c237cf00bbfd/printers?page=0&pageSize=100{&query,network,site}",
"templated" : true
}
},
"success" : true,
"message" : "OK",
"printers" : [ {
"id" : "0500240c-36f6-47d3-beb1-645330810118",
"name" : "Queue",
"connectionStatus" : "ONLINE",
"printerSignId" : "ABC",
"capabilities" : {
"printer" : {
"media_size" : {
"option" : [ {
"heightMicrons" : 297000,
"widthMicrons" : 210000,
"name" : "ISO_A4",
"isContinuousFeed" : false,
"isDefault" : false
}, {
"heightMicrons" : 420000,
"widthMicrons" : 297000,
"name" : "ISO_A3",
"isContinuousFeed" : false,
"isDefault" : false
}, {
"heightMicrons" : 279400,
"widthMicrons" : 215900,
"name" : "NA_LETTER",
"isContinuousFeed" : false,
"isDefault" : false
}, {
"heightMicrons" : 355600,
"widthMicrons" : 215900,
"name" : "NA_LEGAL",
"isContinuousFeed" : false,
"isDefault" : false
} ]
},
"supported_content_type" : [ {
"content_type" : "application/pdf",
"min_version" : "1.0"
} ],
"copies" : {
"defaultz" : 1,
"max" : 100
},
"color" : {
"option" : [ {
"type" : "STANDARD_COLOR",
"default" : true
}, {
"type" : "STANDARD_MONOCHROME",
"default" : false
} ]
},
"vendor_capability" : [ {
"id" : "printLater",
"display_name" : "Print Later",
"type" : "TYPED_VALUE",
"display_name_localized" : [ {
"locale" : "EN",
"value" : "Print Later"
} ],
"typed_value_cap" : {
"value_type" : "BOOLEAN",
"default" : "false"
}
} ]
}
},
"location" : "Office",
"model" : "Anywhere Printer",
"vendor" : "Printix",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/96e1bb8d-5321-45bd-878d-c237cf00bbfd/printers/47719cb0-dbd1-4c2c-bf87-66953b4406a6/queues/0500240c-36f6-47d3-beb1-645330810118"
},
"submit" : {
"href" : "https://api.printix.net/cloudprint/tenants/96e1bb8d-5321-45bd-878d-c237cf00bbfd/printers/47719cb0-dbd1-4c2c-bf87-66953b4406a6/queues/0500240c-36f6-47d3-beb1-645330810118/submit?title={title}&releaseImmediately=true{&user,PDL}",
"templated" : true
},
"jobs" : {
"href" : "https://api.printix.net/cloudprint/tenants/96e1bb8d-5321-45bd-878d-c237cf00bbfd/printers/47719cb0-dbd1-4c2c-bf87-66953b4406a6/queues/0500240c-36f6-47d3-beb1-645330810118/jobs{?page,pageSize}",
"templated" : true
}
},
"serialNo" : "422#12552.983"
} ],
"page" : {
"size" : 100,
"totalElements" : 1,
"totalPages" : 1,
"number" : 1
}
}
Printer Info Example
Request:
GET /cloudprint/tenants/01392870-10bf-415d-b7a3-4a98bb6b499b/printers/2627b015-3fbf-49ea-9d3b-45150d3e1b3d/queues/d3bf492d-3245-48bf-82ec-e2568a5f09e8?page=0 HTTP/1.1
Authorization: Bearer 2e949b0f-d1e5-4827-8c0e-6c9a4a06b837
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: cLwYoqC7
Content-Type: application/json
Content-Length: 2924
{
"success" : true,
"message" : "OK",
"printers" : [ {
"id" : "d3bf492d-3245-48bf-82ec-e2568a5f09e8",
"connectionStatus" : "ONLINE",
"printerSignId" : "ABC",
"capabilities" : {
"printer" : {
"media_size" : {
"option" : [ {
"heightMicrons" : 297000,
"widthMicrons" : 210000,
"name" : "ISO_A4",
"isContinuousFeed" : false,
"isDefault" : false
}, {
"heightMicrons" : 420000,
"widthMicrons" : 297000,
"name" : "ISO_A3",
"isContinuousFeed" : false,
"isDefault" : false
}, {
"heightMicrons" : 279400,
"widthMicrons" : 215900,
"name" : "NA_LETTER",
"isContinuousFeed" : false,
"isDefault" : false
}, {
"heightMicrons" : 355600,
"widthMicrons" : 215900,
"name" : "NA_LEGAL",
"isContinuousFeed" : false,
"isDefault" : false
} ]
},
"supported_content_type" : [ {
"content_type" : "application/pdf",
"min_version" : "1.0"
} ],
"copies" : {
"defaultz" : 1,
"max" : 100
},
"color" : {
"option" : [ {
"type" : "STANDARD_COLOR",
"default" : true
}, {
"type" : "STANDARD_MONOCHROME",
"default" : false
} ]
},
"vendor_capability" : [ {
"id" : "printLater",
"display_name" : "Print Later",
"type" : "TYPED_VALUE",
"display_name_localized" : [ {
"locale" : "EN",
"value" : "Print Later"
} ],
"typed_value_cap" : {
"value_type" : "BOOLEAN",
"default" : "false"
}
} ]
}
},
"location" : "Office",
"model" : "Anywhere Printer",
"vendor" : "Printix",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/01392870-10bf-415d-b7a3-4a98bb6b499b/printers/2627b015-3fbf-49ea-9d3b-45150d3e1b3d/queues/d3bf492d-3245-48bf-82ec-e2568a5f09e8"
},
"submit" : {
"href" : "https://api.printix.net/cloudprint/tenants/01392870-10bf-415d-b7a3-4a98bb6b499b/printers/2627b015-3fbf-49ea-9d3b-45150d3e1b3d/queues/d3bf492d-3245-48bf-82ec-e2568a5f09e8/submit?title={title}&releaseImmediately=true{&user,PDL}",
"templated" : true
},
"jobs" : {
"href" : "https://api.printix.net/cloudprint/tenants/01392870-10bf-415d-b7a3-4a98bb6b499b/printers/2627b015-3fbf-49ea-9d3b-45150d3e1b3d/queues/d3bf492d-3245-48bf-82ec-e2568a5f09e8/jobs{?page,pageSize}",
"templated" : true
}
},
"serialNo" : "422#12552.983"
} ],
"page" : {
"size" : 1,
"totalElements" : 1,
"totalPages" : 1,
"number" : 0
}
}
Change Owner Example
Request:
POST /cloudprint/tenants/4fcca025-9247-4559-a367-9f51659ccaa4/jobs/95b9fa97-21b1-4410-8385-695699dc1910/changeOwner HTTP/1.1
Authorization: Bearer a16a9c0b-5a7e-4709-82fd-320b77f8ba8d
Accept: application/json
Host: api.printix.net
Content-Type: application/x-www-form-urlencoded
userEmail=john.doe%40test.com
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: 4A6SuG6o
Content-Type: application/json
Content-Length: 1151
{
"tenantId" : "4fcca025-9247-4559-a367-9f51659ccaa4",
"sortOrder" : null,
"success" : true,
"message" : "OK",
"jobs" : [ {
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/4fcca025-9247-4559-a367-9f51659ccaa4/jobs/95b9fa97-21b1-4410-8385-695699dc1910"
},
"printer" : {
"href" : "https://api.printix.net/cloudprint/tenants/4fcca025-9247-4559-a367-9f51659ccaa4/printers/75e34278-a12d-49ee-b3dd-6c05c9d1869d/queues/09ac3676-6aa7-4996-be52-c95bed3666a5"
},
"changeOwner" : {
"href" : "https://api.printix.net/cloudprint/tenants/4fcca025-9247-4559-a367-9f51659ccaa4/jobs/95b9fa97-21b1-4410-8385-695699dc1910/changeOwner?userEmail={userEmail}",
"templated" : true
}
},
"id" : "95b9fa97-21b1-4410-8385-695699dc1910",
"createTime" : 1.7314999871147194E9,
"updateTime" : 1.731500002114715E9,
"status" : "UPLOADING",
"ownerId" : "74484a75-d8d0-4247-8e10-b96ddb3c5d4f",
"contentType" : "PDF",
"title" : "job name"
} ],
"page" : {
"size" : 1,
"totalElements" : 1,
"totalPages" : 1,
"number" : 0
}
}
Create User Example
Request:
POST /cloudprint/tenants/71629a95-da63-4231-97e4-82af85d4a253/users/create HTTP/1.1
Content-Type: application/json
Authorization: Bearer 062eb3d7-c3f3-447a-873c-8be201ec06ca
Accept: application/json
Content-Length: 237
Host: api.printix.net
{"email":"user1@sampledomain.com","fullName":"Sample User 1","role":"GUEST_USER","pin":"0258","password":"EeGahqu7","expirationTimestamp":"2024.11.27 12:13","sendWelcomeEmail":false,"sendExpirationEmail":false,"welcomeEmailContent":null}
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: RZDiPRSK
Content-Type: application/json
Content-Length: 580
{
"tenantId" : "71629a95-da63-4231-97e4-82af85d4a253",
"sortOrder" : null,
"success" : true,
"message" : "OK",
"users" : [ {
"id" : "abb39125-b918-4fb6-b50f-c6b4d5a70134",
"fullName" : "Sample User 1",
"email" : "user1@sampledomain.com",
"role" : "GUEST_USER",
"pin" : "0258",
"idCode" : "263797",
"password" : "EeGahqu7",
"expirationTimestamp" : "2024.11.27 12:13",
"sendWelcomeEmail" : false,
"sendExpirationEmail" : false
} ],
"page" : {
"size" : 1,
"totalElements" : 1,
"totalPages" : 1,
"number" : 0
}
}
User List Example
Request:
GET /cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users?page=0&pageSize=10 HTTP/1.1
Authorization: Bearer 1e2dcf43-7a3c-4bea-9524-7b78d3aa0887
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: SQnEKkY7
Content-Type: application/json
Content-Length: 6255
{
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users?page=0&pageSize=10{&query}",
"templated" : true
},
"next" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users?page=1&pageSize=10{&query}",
"templated" : true
}
},
"success" : true,
"message" : "OK",
"users" : [ {
"id" : "a22d2bc5-eef2-427e-a6a2-183c1726b19f",
"fullName" : "Sample User 1",
"email" : "user1@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.12.05 12:50",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/a22d2bc5-eef2-427e-a6a2-183c1726b19f"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/a22d2bc5-eef2-427e-a6a2-183c1726b19f/cards"
}
}
}, {
"id" : "2ea1f931-776d-4389-8010-690ac492745a",
"fullName" : "Sample User 2",
"email" : "user2@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.12.04 13:03",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/2ea1f931-776d-4389-8010-690ac492745a"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/2ea1f931-776d-4389-8010-690ac492745a/cards"
}
}
}, {
"id" : "3e0439f5-5feb-42a6-91d4-e75b00ddcad8",
"fullName" : "Sample User 3",
"email" : "user3@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.11.23 12:58",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/3e0439f5-5feb-42a6-91d4-e75b00ddcad8"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/3e0439f5-5feb-42a6-91d4-e75b00ddcad8/cards"
}
}
}, {
"id" : "7c1171cd-58c0-46cd-83b5-36c91a277fc0",
"fullName" : "Sample User 4",
"email" : "user4@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.12.02 12:59",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/7c1171cd-58c0-46cd-83b5-36c91a277fc0"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/7c1171cd-58c0-46cd-83b5-36c91a277fc0/cards"
}
}
}, {
"id" : "04128110-6d9b-4eb6-886f-238708ce4d48",
"fullName" : "Sample User 5",
"email" : "user5@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.11.29 12:29",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/04128110-6d9b-4eb6-886f-238708ce4d48"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/04128110-6d9b-4eb6-886f-238708ce4d48/cards"
}
}
}, {
"id" : "55ef99ad-9796-4f07-9d2d-5bbfc6d80a39",
"fullName" : "Sample User 6",
"email" : "user6@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.12.02 12:26",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/55ef99ad-9796-4f07-9d2d-5bbfc6d80a39"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/55ef99ad-9796-4f07-9d2d-5bbfc6d80a39/cards"
}
}
}, {
"id" : "5a9a526a-b166-4ad0-82ce-34951ee0c838",
"fullName" : "Sample User 7",
"email" : "user7@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.11.30 12:44",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/5a9a526a-b166-4ad0-82ce-34951ee0c838"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/5a9a526a-b166-4ad0-82ce-34951ee0c838/cards"
}
}
}, {
"id" : "c4021d9e-b84a-41d5-9697-06332bfd4509",
"fullName" : "Sample User 8",
"email" : "user8@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.11.24 13:10",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/c4021d9e-b84a-41d5-9697-06332bfd4509"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/c4021d9e-b84a-41d5-9697-06332bfd4509/cards"
}
}
}, {
"id" : "5d63a3f7-bb1b-4515-b6bf-f70bab4d177b",
"fullName" : "Sample User 9",
"email" : "user9@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.11.22 12:34",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/5d63a3f7-bb1b-4515-b6bf-f70bab4d177b"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/5d63a3f7-bb1b-4515-b6bf-f70bab4d177b/cards"
}
}
}, {
"id" : "e448a755-6966-4b4b-93dd-8641cc739e0d",
"fullName" : "Sample User 10",
"email" : "user10@sampledomain.com",
"role" : "GUEST_USER",
"expirationTimestamp" : "2024.11.23 12:35",
"_links" : {
"self" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/e448a755-6966-4b4b-93dd-8641cc739e0d"
},
"cards" : {
"href" : "https://api.printix.net/cloudprint/tenants/9a7c4ec7-8afa-4c8c-b5ae-fc1ed9b1bd47/users/e448a755-6966-4b4b-93dd-8641cc739e0d/cards"
}
}
} ],
"page" : {
"size" : 10,
"totalElements" : 10,
"totalPages" : 1,
"number" : 0
}
}
Delete User Example
Request:
POST /cloudprint/tenants/da85bbfd-4d2a-4fd3-95c7-4837851cd5a7/users/edaf6de8-2a1e-4433-a179-74151afcac44/delete HTTP/1.1
Authorization: Bearer fe79cbac-c542-493d-8002-98983bf78db7
Accept: application/json
Host: api.printix.net
Response:
HTTP/1.1 200 OK
X-Printix-Request-ID: unmatched
X-Printix-Trace-ID: 3N8yOxU5
Content-Type: application/json
Content-Length: 119
{
"success" : true,
"message" : "The user with id edaf6de8-2a1e-4433-a179-74151afcac44 was deleted successfully."
}