Versions
Here you will find documentation relative to the Xerox Public Print API. You can view additional information by clicking the method below.
Security
It is required, for all secure calls, that the xrxauth, user-email, and appid headers be provided with the appropriate values.
If user-email is not provided, the API will treat the request as an "application" request.
Failure to do so will result in a "BadRequest" response.
Response Headers
When creating a new resource, the response header Resource-ID will be populated with the new resource id.
In some cases, the API will return specific response headers with helpful URI's.
v1
-
[PUT] api/v1/Job/
Description
Creates a new job. This method returns the following response headers:
- Resource-Id - the new job id.
- Details-Uri - the uri to obtain details on the new job.
- Status-Uri - the uri to obtain the status of the new job.
Parameter(s)
The job to be created.
Sample
Returns
Response will not contain content.
-
[GET] api/v1/Job?id={id}
Description
Gets the details of a job.
Parameter(s)
(FromUri) Guid id - The job id.
Sample: "2f4cbe3b-65eb-44ec-9b3c-c2a24e2a938a"
Returns
JobDetailsRepresentation
- Boolean Completed
- String ConfirmationCode
- String CreatedBy
- DateTime CreatedDate
- String Destination
- Nullable<Guid> DeviceId
- String DocumentId
- String DocumentName
- Nullable<DateTime> ExpirationDate
- Boolean Failed
- String Href
- Guid ID
- Boolean IsDeleted
- Boolean IsPickupReady
- String LinkName
- IList<Link> Links
- String ModifiedBy
- DateTime ModifiedDate
- IEnumerable<IJobOptionDetails> Options
- Nullable<DateTime> PickupDate
- String ProviderInformation
- String Rel
- Nullable<Guid> SiteId
- String SpecialInstructions
- String Status
- IJobResourceUris SubResourceUris
- Guid UserId
Sample
-
[GET] api/v1/Job/History?$skip={$skip}&$take={$take}
Description
Gets the public print history for the current user.
Parameter(s)
(FromUri) Int32 $skip - The number of records to skip. (Page)
Sample: 1
(FromUri) Int32 $take - The number of records to take. (Page Size)
Sample: 1
Returns
JobHistoryListRepresentation
- String Href
- JobHistoryRepresentation Item
- JobHistoryRepresentation Item
- String LinkName
- IList<Link> Links
- String Rel
Element Type: JobHistoryRepresentation
- Boolean Completed
- String Destination
- Nullable<Guid> DeviceId
- String DocumentId
- String DocumentName
- DateTime ExpirationDate
- Boolean HasConfirmationCode
- String Href
- Guid ID
- String LinkName
- IList<Link> Links
- Double Progress
- Guid ProviderTypeId
- String Rel
- Guid SiteId
- String Status
- DateTime SubmissionDate
- IJobHistoryResourceUris SubResourceUris
Sample
-
[DELETE] api/v1/Job/History
Description
Clears the job history for the current user
Returns
Response will not contain content.
-
[GET] api/v1/Job/Status?jobId={jobId}
Description
Gets the status of a job.
Parameter(s)
(FromUri) Guid jobId - The job id.
Sample: "7029192d-5be2-4dba-96fe-515803816e4c"
Returns
JobStatusRepresentation
- Boolean Completed
- String ConfirmationCode
- DateTime CreatedDate
- String DocumentId
- Nullable<DateTime> ExpirationDate
- Boolean Failed
- String Href
- Boolean IsDeleted
- Guid JobId
- String LinkName
- IList<Link> Links
- DateTime ModifiedDate
- Double Progress
- Guid ProviderTypeId
- String Rel
- String Status
Sample
-
[POST] api/v1/Job/Status
Description
Updates the status of a job.
Parameter(s)
The new job status.
Sample
Returns
Response will not contain content.
-
[GET] api/v1/Job/Options
Description
Gets the entire list of options supported by the system. These are the supported values for use when creating a job.
Returns
IEnumerable<Option>
Sample
-
[GET] api/v1/EULA?providerId={providerId}
Description
Gets the EULA for the specified Provider. This method returns the following response headers:
- Agree-Uri - the uri to agree to the EULA.
Parameter(s)
(FromUri) Guid providerId - The provider id.
Sample: "828a62f9-9dd2-468f-84a8-7b6453f41895"
Returns
Response will not contain content.
-
[POST] api/v1/EULA/
Description
Inserts or Updates a EULA for the specified provider.
Parameter(s)
The EULA.
Sample
Returns
Response will not contain content.
-
[PUT] api/v1/EULA/Agree?providerId={providerId}
Description
Agrees to the EULA for the specified Provider
Parameter(s)
(FromUri) Guid providerId - The provider id.
Sample: "d24e5020-4384-4023-97ab-3cd2ead3b22b"
Returns
Response will not contain content.
-
[GET] api/v1/Status/
Description
Gets the status. This is used for monitoring purposes.
Returns
Response will not contain content.
-
[GET] api/v1/ProviderTypes?$skip={$skip}&$take={$take}
Description
Gets all of the provider types supported by the system.
Parameter(s)
(FromUri) Int32 $skip - No Documentation Found.
Sample: 1
(FromUri) Int32 $take - No Documentation Found.
Sample: 1
Returns
ProviderTypeListRepresentation
- String Href
- ProviderTypeRepresentation Item
- ProviderTypeRepresentation Item
- String LinkName
- IList<Link> Links
- String Rel
Element Type: ProviderTypeRepresentation
- String DisplayName
- String Href
- Guid ID
- String LinkName
- IList<Link> Links
- String Name
- String Rel
Sample
-
[PUT] api/v1/ProviderTypes/
Description
Creates the specified provider type.
Parameter(s)
The provider type to create.
Sample
Returns
Response will not contain content.
-
[GET] api/v1/Sites?id={id}&filterDeleted={filterDeleted}
Description
Gets the details of a site based on the id specified.
Parameter(s)
(FromUri) Guid id - The site id.
Sample: "9beef826-6160-48b7-a919-4bb377394072"
(FromUri) Boolean filterDeleted - true if not interested in deleted sites.
Sample: true
Returns
SiteDetailsRepresentation
- String Address
- String Address2
- String Address3
- ICollection<IOption> Capabilities
- String City
- String Country
- String CurrencySymbol
- SqlGeography GeoLocation
- ICollection<IBusinessHours> Hours
- String Href
- Guid ID
- Boolean IsDeleted
- Boolean IsFavorite
- Double Latitude
- String LinkName
- IList<Link> Links
- Double Longitude
- DateTime ModifiedDate
- String Name
- String PhoneNumber
- String PostalCode
- ICollection<IOptionPrice> Pricing
- Guid ProviderId
- String ProviderLogoUrl
- String ProviderName
- String Rel
- String RemoteId
- String SiteType
- String StateProvince
- SiteSubResourceUri SubResourceUris
Sample
-
[PUT] api/v1/Sites/
Description
Creates a new site.
Parameter(s)
The site to create.
Sample
Returns
Response will not contain content.
-
[POST] api/v1/Sites/
Description
Updates an existing site.
Parameter(s)
The site to update.
Sample
Returns
Response will not contain content.
-
[DELETE] api/v1/Sites/
Description
Deletes the specified site.
Parameter(s)
The id of the site to delete.
Sample
Returns
Response will not contain content.
-
[GET] api/v1/Sites/Search?longitude={longitude}&latitude={latitude}&range={range}&providerId={providerId}&$skip={$skip}&$take={$take}
Description
Searches for sites matching the specified criteria.
Parameter(s)
(FromUri) Double longitude - The longitude.
Sample: 1.1
(FromUri) Double latitude - The latitude.
Sample: 1.1
(FromUri) Double range - The range.
Sample: 1.1
(FromUri) DistanceUnit distanceUnit - The distance unit.
Sample: Miles
(FromUri) Nullable<Guid>
- Boolean HasValue
- Guid Value
Sample: "a5a82166-b246-4092-b6b2-d872b604ba4a"
(FromUri) Int32 $skip - The skip.
Sample: 1
(FromUri) Int32 $take - The take.
Sample: 1
Returns
SiteSearchResultListRepresentation
- String Href
- SiteSearchResultRepresentation Item
- SiteSearchResultRepresentation Item
- String LinkName
- IList<Link> Links
- String Rel
Element Type: SiteSearchResultRepresentation
- String Address
- String City
- String Href
- Guid ID
- Boolean IsFavorite
- Double Latitude
- String LinkName
- IList<Link> Links
- Double Longitude
- String PostalCode
- Guid ProviderId
- String ProviderLogoUrl
- String ProviderName
- String Rel
- String RemoteId
- String SiteName
- String SiteType
- String StateProvince
Sample
-
[GET] api/v1/Sites/SearchByName?filter={filter}&longitude={longitude}&latitude={latitude}&$skip={$skip}&$take={$take}
Description
Searches for sites matching the specified name criteria.
Parameter(s)
(FromUri) String
- Char Chars
- Int32 Length
Element Type: Char
filter - The filter that sites name should match.Sample: "sample string 1"
(FromUri) Double longitude - The longitude.
Sample: 1.1
(FromUri) Double latitude - The latitude.
Sample: 1.1
(FromUri) Int32 $skip - The skip.
Sample: 1
(FromUri) Int32 $take - The take.
Sample: 1
Returns
SiteSearchResultListRepresentation
- String Href
- SiteSearchResultRepresentation Item
- SiteSearchResultRepresentation Item
- String LinkName
- IList<Link> Links
- String Rel
Element Type: SiteSearchResultRepresentation
- String Address
- String City
- String Href
- Guid ID
- Boolean IsFavorite
- Double Latitude
- String LinkName
- IList<Link> Links
- Double Longitude
- String PostalCode
- Guid ProviderId
- String ProviderLogoUrl
- String ProviderName
- String Rel
- String RemoteId
- String SiteName
- String SiteType
- String StateProvince
Sample
-
[GET] api/v1/Sites/SearchByRemoteId?remoteId={remoteId}
Description
Searches for the site matching the given remote id.
Parameter(s)
(FromUri) String
- Char Chars
- Int32 Length
Element Type: Char
remoteId - The id of the site in its remote system (CP,EFI)Sample: "sample string 1"
Returns
SiteDetailsRepresentation
- String Address
- String Address2
- String Address3
- ICollection<IOption> Capabilities
- String City
- String Country
- String CurrencySymbol
- SqlGeography GeoLocation
- ICollection<IBusinessHours> Hours
- String Href
- Guid ID
- Boolean IsDeleted
- Boolean IsFavorite
- Double Latitude
- String LinkName
- IList<Link> Links
- Double Longitude
- DateTime ModifiedDate
- String Name
- String PhoneNumber
- String PostalCode
- ICollection<IOptionPrice> Pricing
- Guid ProviderId
- String ProviderLogoUrl
- String ProviderName
- String Rel
- String RemoteId
- String SiteType
- String StateProvince
- SiteSubResourceUri SubResourceUris
Sample
-
[PUT] api/v1/Sites/Favorite?id={id}
Description
Adds the site as a favorite for the current user.
Parameter(s)
(FromUri) Guid id - The id of the site.
Sample: "d93d66ef-3e4b-4d4e-9519-faeebfedd056"
Returns
Response will not contain content.
-
[DELETE] api/v1/Sites/Favorite?id={id}
Description
Removes the site as a favorite for the current user.
Parameter(s)
(FromUri) Guid id - The site id.
Sample: "407e2303-ea62-4446-94a3-d05bfd2c60c6"
Returns
Response will not contain content.
-
[GET] api/v1/Sites/Favorites?$skip={$skip}&$take={$take}
Description
Gets the favorite sites for the current logged in user.
Parameter(s)
(FromUri) Int32 $skip - The skip.
Sample: 1
(FromUri) Int32 $take - The take.
Sample: 1
Returns
SiteSearchResultListRepresentation
- String Href
- SiteSearchResultRepresentation Item
- SiteSearchResultRepresentation Item
- String LinkName
- IList<Link> Links
- String Rel
Element Type: SiteSearchResultRepresentation
- String Address
- String City
- String Href
- Guid ID
- Boolean IsFavorite
- Double Latitude
- String LinkName
- IList<Link> Links
- Double Longitude
- String PostalCode
- Guid ProviderId
- String ProviderLogoUrl
- String ProviderName
- String Rel
- String RemoteId
- String SiteName
- String SiteType
- String StateProvince
Sample
-
[POST] api/v1/Sites/Sync
Description
Syncs a collection of site data with the system for a provider type. This action will "merge" the result set with what is in the system. Sites that are not found will be created; sites that are found but were not supplied in the "sites" collection will be deleted; and sites that are found in both collections will be updated.
Parameter(s)
The sites to sync.
Sample
Returns
Response will not contain content.
-
[GET] api/v1/Sites/UpdateSites?providerId={providerId}
Description
Updates the sites from the originated provider.
Parameter(s)
(FromUri) String
- Char Chars
- Int32 Length
Element Type: Char
providerId - No Documentation Found.Sample: "sample string 1"
Returns
Response will not contain content.
-
[PUT] api/v1/Provider/
Description
Creates the specified provider.
Parameter(s)
The provider.
Sample
Returns
Response will not contain content.
-
[POST] api/v1/Provider/
Description
Updates the specified provider.
Parameter(s)
The provider.
Sample
Returns
Response will not contain content.
-
[GET] api/v1/Provider?id={id}
Description
Gets the provider matching the specified id.
Parameter(s)
(FromUri) Guid id - The id.
Sample: "527cf35f-f71d-49ee-ae90-a7d3a261cb80"
Returns
ProviderRepresentation
- String Href
- Guid ID
- String LinkName
- IList<Link> Links
- String LogoUrl
- String Name
- Nullable<Guid> ProviderTypeId
- String Rel
Sample
-
[DELETE] api/v1/Provider/Delete?id={id}
Description
Deletes the provider matching the specified id.
Parameter(s)
(FromUri) Guid id - The id.
Sample: "b35dc2a1-8b3c-4232-bed7-8b447eb955ad"
Returns
Response will not contain content.
-
[GET] api/v1/Provider/Search?query={query}&$skip={$skip}&$take={$take}&providerTypeId={providerTypeId}
Description
Returns a list of all providers
Parameter(s)
(FromUri) String
- Char Chars
- Int32 Length
Element Type: Char
query - An open text value to search on.Sample: "sample string 1"
(FromUri) Int32 $skip - The skip.
Sample: 1
(FromUri) Int32 $take - The take.
Sample: 1
(FromUri) String
- Char Chars
- Int32 Length
Element Type: Char
providerTypeId - The type of provider we are interested inSample: "sample string 1"
Returns
ProviderListRepresentation
- String Href
- ProviderRepresentation Item
- ProviderRepresentation Item
- String LinkName
- IList<Link> Links
- String Rel
Element Type: ProviderRepresentation
- String Href
- Guid ID
- String LinkName
- IList<Link> Links
- String LogoUrl
- String Name
- Nullable<Guid> ProviderTypeId
- String Rel
Sample