Xerox Public Print API

Version 5.4.102

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

    {
      "Options": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4",
        "sample string 5": "sample string 6"
      },
      "SiteId": "cf795a95-51c6-4b5f-9acc-d0507fd32955",
      "DocumentId": "sample string 2",
      "SpecialInstructions": "sample string 3",
      "IsPickupReady": true,
      "PickupDateTime": "2024-05-16T18:12:09.7622588+00:00",
      "DocumentName": "sample string 5"
    }

    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: "5deb6775-7ef6-46ed-9ee3-a356a54add51"
    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

    {
      "Completed": true,
      "ConfirmationCode": "sample string 2",
      "Destination": "sample string 3",
      "ExpirationDate": "2024-05-16T18:12:09.7622588+00:00",
      "Failed": true,
      "Options": null,
      "Status": "sample string 5",
      "SubResourceUris": null,
      "CreatedBy": "sample string 6",
      "CreatedDate": "2024-05-16T18:12:09.7622588+00:00",
      "DeviceId": "b85e83f0-21bb-46a2-a88e-26cff8d84d9c",
      "DocumentId": "sample string 8",
      "DocumentName": "sample string 9",
      "ID": "1266ac02-da46-459f-a00c-1b42e07ae34b",
      "IsDeleted": true,
      "IsPickupReady": true,
      "ModifiedBy": "sample string 13",
      "ModifiedDate": "2024-05-16T18:12:09.7622588+00:00",
      "PickupDate": "2024-05-16T18:12:09.7622588+00:00",
      "SiteId": "c967954c-6953-48b2-91e7-b12c4f6e744a",
      "SpecialInstructions": "sample string 15",
      "ProviderInformation": "sample string 16",
      "UserId": "3da946f7-9c9a-4c9c-a1e0-e451f1344572",
      "_links": [
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        }
      ]
    }

  • [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

    [
      {
        "Completed": true,
        "Destination": "sample string 2",
        "DeviceId": "fc2da83c-e84b-4276-876e-bff4c44b6926",
        "DocumentId": "sample string 3",
        "DocumentName": "sample string 4",
        "ExpirationDate": "2024-05-16T18:12:09.7622588+00:00",
        "HasConfirmationCode": true,
        "ID": "833b2eb9-61cc-470d-bc22-a46d627dee91",
        "JobStatus": "sample string 8",
        "ProviderTypeId": "2581a3a2-5934-4645-9acf-22cb9c5e73e9",
        "SiteId": "3d6a773b-c59a-400b-b459-867ba1c5d7dd",
        "SubResourceUris": null,
        "SubmissionDate": "2024-05-16T18:12:09.7622588+00:00",
        "Progress": 12.1,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "Completed": true,
        "Destination": "sample string 2",
        "DeviceId": "71c82cb7-2e15-460e-acaf-d04fcdaa1a5e",
        "DocumentId": "sample string 3",
        "DocumentName": "sample string 4",
        "ExpirationDate": "2024-05-16T18:12:09.7622588+00:00",
        "HasConfirmationCode": true,
        "ID": "495e7daa-dee1-4062-bc23-bf3b1e9d22cd",
        "JobStatus": "sample string 8",
        "ProviderTypeId": "6a85535c-27ce-4071-a9bd-06b4a645a7a2",
        "SiteId": "1c6b961a-c2b9-40ba-ab7e-43c83fc42744",
        "SubResourceUris": null,
        "SubmissionDate": "2024-05-16T18:12:09.7622588+00:00",
        "Progress": 12.1,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "Completed": true,
        "Destination": "sample string 2",
        "DeviceId": "9d6e39c9-c02e-45c9-8ec8-c95c32fa1dcc",
        "DocumentId": "sample string 3",
        "DocumentName": "sample string 4",
        "ExpirationDate": "2024-05-16T18:12:09.7622588+00:00",
        "HasConfirmationCode": true,
        "ID": "a705863f-516f-487b-bb02-fa6b9e8dfcc1",
        "JobStatus": "sample string 8",
        "ProviderTypeId": "d234996b-d4d5-4f8c-908f-fed143b4d2e5",
        "SiteId": "dd63b5cb-5d31-484f-b3b5-7fa1c610aa0a",
        "SubResourceUris": null,
        "SubmissionDate": "2024-05-16T18:12:09.7622588+00:00",
        "Progress": 12.1,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      }
    ]

  • [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: "f5c0275b-50c1-4b80-836d-9e377004f6d2"
    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

    {
      "Completed": true,
      "ConfirmationCode": "sample string 2",
      "CreatedDate": "2024-05-16T18:12:09.7622588+00:00",
      "Failed": true,
      "IsDeleted": true,
      "JobId": "1439a6d9-89e0-4e03-9b54-ef89d7d57ed8",
      "ModifiedDate": "2024-05-16T18:12:09.7622588+00:00",
      "Status": "sample string 8",
      "ExpirationDate": "2024-05-16T18:12:09.7622588+00:00",
      "Progress": 9.1,
      "DocumentId": "sample string 10",
      "ProviderTypeId": "1a70f08d-b717-41f1-abaa-f5db3b5fe109",
      "_links": [
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        }
      ]
    }

  • [POST] api/v1/Job/Status

    Description

    Updates the status of a job.

    Parameter(s)

    The new job status.

    Sample

    {
      "JobId": "358e688c-09a5-46fc-a9c8-b8f4dc118e94",
      "ConfirmationCode": "sample string 2",
      "Status": "sample string 3",
      "Completed": true,
      "Failed": true,
      "CreatedDate": "2024-05-16T18:12:09.7622588+00:00",
      "ModifiedDate": "2024-05-16T18:12:09.7622588+00:00",
      "IsDeleted": true,
      "ExpirationDate": "2024-05-16T18:12:09.7622588+00:00"
    }

    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

    [
      {
        "Name": "sample string 1",
        "DisplayName": "sample string 2",
        "ID": "1cac6c7a-adce-4f83-9525-a951d8c0ee55"
      },
      {
        "Name": "sample string 1",
        "DisplayName": "sample string 2",
        "ID": "1cac6c7a-adce-4f83-9525-a951d8c0ee55"
      },
      {
        "Name": "sample string 1",
        "DisplayName": "sample string 2",
        "ID": "1cac6c7a-adce-4f83-9525-a951d8c0ee55"
      }
    ]

  • [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: "f11d3973-02f8-4e3e-8bd4-37cd2d21be1c"
    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

    {
      "ProviderId": "f400ffbe-31c5-4f11-949f-3e8c17a49473",
      "BlobContainerName": "sample string 2",
      "Version": "sample string 3",
      "CulturedTextMap": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4",
        "sample string 5": "sample string 6"
      }
    }

    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: "dd80b361-6bea-43ef-9156-c22cfa24ab47"
    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

    [
      {
        "DisplayName": "sample string 1",
        "ID": "07d43b21-41cc-4e3d-9bd4-226002cfe21c",
        "Name": "sample string 3",
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "DisplayName": "sample string 1",
        "ID": "2fe85887-c320-4f8b-b2fb-56bf09c8010e",
        "Name": "sample string 3",
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "DisplayName": "sample string 1",
        "ID": "ddad0928-d2d9-40bb-9dce-6d3822d2bbad",
        "Name": "sample string 3",
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      }
    ]

  • [PUT] api/v1/ProviderTypes/

    Description

    Creates the specified provider type.

    Parameter(s)

    The provider type to create.

    Sample

    {
      "ID": "9cabb3ee-97fe-408b-a235-a2122b6563c1",
      "Name": "sample string 2",
      "DisplayName": "sample string 3",
      "AllowGPSSearch": true
    }

    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: "d28b4bce-eb35-4415-9c13-0307f1d76c45"

    (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

    {
      "Capabilities": null,
      "Hours": null,
      "Latitude": 0.0,
      "Longitude": 0.0,
      "Pricing": null,
      "ProviderLogoUrl": "sample string 1",
      "ProviderName": "sample string 2",
      "Address": "sample string 3",
      "Address2": "sample string 4",
      "Address3": "sample string 5",
      "City": "sample string 6",
      "Country": "sample string 7",
      "CurrencySymbol": "sample string 8",
      "ID": "73425951-4370-4f65-8864-256fc644bd44",
      "IsDeleted": true,
      "Name": "sample string 12",
      "PhoneNumber": "sample string 13",
      "PostalCode": "sample string 14",
      "ProviderId": "e28d46a0-14df-4d14-b0d0-23a809522859",
      "RemoteId": "sample string 16",
      "SiteType": "sample string 17",
      "StateProvince": "sample string 18",
      "IsFavorite": true,
      "SubResourceUris": {
        "EULA": "sample string 1"
      },
      "ModifiedDate": "2024-05-16T18:12:09.7622588+00:00",
      "_links": [
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        }
      ]
    }

  • [PUT] api/v1/Sites/

    Description

    Creates a new site.

    Parameter(s)

    The site to create.

    Sample

    {
      "GeoLocation": {
        "Latitude": 0.0,
        "Longitude": 0.0
      },
      "Options": [
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "ID": "ba2384f2-d157-4663-b97a-5b17218e6873"
        },
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "ID": "ba2384f2-d157-4663-b97a-5b17218e6873"
        },
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "ID": "ba2384f2-d157-4663-b97a-5b17218e6873"
        }
      ],
      "ID": "f77a8df7-f01c-4540-b7fa-5450f6420ecb",
      "ProviderId": "f5dc9a98-a2a9-49e1-9a6b-9324a4c7e3e6",
      "Address": "sample string 4",
      "Address2": "sample string 5",
      "Address3": "sample string 6",
      "City": "sample string 7",
      "StateProvince": "sample string 8",
      "PostalCode": "sample string 9",
      "Country": "sample string 10",
      "PhoneNumber": "sample string 11",
      "CurrencySymbol": "sample string 12",
      "SiteType": "sample string 13",
      "Name": "sample string 14",
      "RemoteId": "sample string 15",
      "IsDeleted": true,
      "ModifiedDate": "2024-05-16T18:12:09.7622588+00:00"
    }

    Returns

    Response will not contain content.

  • [POST] api/v1/Sites/

    Description

    Updates an existing site.

    Parameter(s)

    The site to update.

    Sample

    {
      "GeoLocation": {
        "Latitude": 0.0,
        "Longitude": 0.0
      },
      "Options": [
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "ID": "36f39452-53ac-42df-879d-a97f5a2a22a4"
        },
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "ID": "36f39452-53ac-42df-879d-a97f5a2a22a4"
        },
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "ID": "36f39452-53ac-42df-879d-a97f5a2a22a4"
        }
      ],
      "ID": "97f7b367-74d5-412a-85fa-35bf506d8ba2",
      "ProviderId": "a9f0260a-5e17-4142-97fa-3f0f6b2bf3f4",
      "Address": "sample string 4",
      "Address2": "sample string 5",
      "Address3": "sample string 6",
      "City": "sample string 7",
      "StateProvince": "sample string 8",
      "PostalCode": "sample string 9",
      "Country": "sample string 10",
      "PhoneNumber": "sample string 11",
      "CurrencySymbol": "sample string 12",
      "SiteType": "sample string 13",
      "Name": "sample string 14",
      "RemoteId": "sample string 15",
      "IsDeleted": true,
      "ModifiedDate": "2024-05-16T18:12:09.7622588+00:00"
    }

    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

    "49369529-e9c8-475d-a7f5-5c8c63087164"

    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
    providerId - The provider id.

    Sample: "e270a407-faff-4c41-af42-8e9827c87859"

    (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

    [
      {
        "Address": "sample string 1",
        "City": "sample string 2",
        "ID": "4edf0aec-8685-4615-a147-865caeb9a096",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "PostalCode": "sample string 6",
        "ProviderId": "f919fb0a-b5bc-4048-b800-98a2283d80c5",
        "ProviderLogoUrl": "sample string 8",
        "ProviderName": "sample string 9",
        "RemoteId": "sample string 10",
        "SiteName": "sample string 11",
        "SiteType": "sample string 12",
        "StateProvince": "sample string 13",
        "IsFavorite": true,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "Address": "sample string 1",
        "City": "sample string 2",
        "ID": "aeee7a17-4e80-4ff6-9fdd-1cf41ea77413",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "PostalCode": "sample string 6",
        "ProviderId": "c5c63262-ee5b-4807-a579-a97df0fdfb01",
        "ProviderLogoUrl": "sample string 8",
        "ProviderName": "sample string 9",
        "RemoteId": "sample string 10",
        "SiteName": "sample string 11",
        "SiteType": "sample string 12",
        "StateProvince": "sample string 13",
        "IsFavorite": true,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "Address": "sample string 1",
        "City": "sample string 2",
        "ID": "a27b1877-8f5c-47b0-bb2d-277ad8738f18",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "PostalCode": "sample string 6",
        "ProviderId": "dc7b626b-9f8f-4efe-9fed-4fb1936ee69d",
        "ProviderLogoUrl": "sample string 8",
        "ProviderName": "sample string 9",
        "RemoteId": "sample string 10",
        "SiteName": "sample string 11",
        "SiteType": "sample string 12",
        "StateProvince": "sample string 13",
        "IsFavorite": true,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      }
    ]

  • [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

    [
      {
        "Address": "sample string 1",
        "City": "sample string 2",
        "ID": "3f712883-60bd-4736-9beb-9b684b43b69a",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "PostalCode": "sample string 6",
        "ProviderId": "668bf723-017f-41d3-9e8c-b79cebdcfa13",
        "ProviderLogoUrl": "sample string 8",
        "ProviderName": "sample string 9",
        "RemoteId": "sample string 10",
        "SiteName": "sample string 11",
        "SiteType": "sample string 12",
        "StateProvince": "sample string 13",
        "IsFavorite": true,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "Address": "sample string 1",
        "City": "sample string 2",
        "ID": "99920273-4e1b-428a-98b8-7a8fa06eae6d",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "PostalCode": "sample string 6",
        "ProviderId": "036fddf2-578a-4838-8341-67bc853df09e",
        "ProviderLogoUrl": "sample string 8",
        "ProviderName": "sample string 9",
        "RemoteId": "sample string 10",
        "SiteName": "sample string 11",
        "SiteType": "sample string 12",
        "StateProvince": "sample string 13",
        "IsFavorite": true,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "Address": "sample string 1",
        "City": "sample string 2",
        "ID": "e991ba17-4285-479b-a417-59ccedb73223",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "PostalCode": "sample string 6",
        "ProviderId": "6461bb7f-9c7f-4483-8b48-859ad1a240d2",
        "ProviderLogoUrl": "sample string 8",
        "ProviderName": "sample string 9",
        "RemoteId": "sample string 10",
        "SiteName": "sample string 11",
        "SiteType": "sample string 12",
        "StateProvince": "sample string 13",
        "IsFavorite": true,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      }
    ]

  • [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

    {
      "Capabilities": null,
      "Hours": null,
      "Latitude": 0.0,
      "Longitude": 0.0,
      "Pricing": null,
      "ProviderLogoUrl": "sample string 1",
      "ProviderName": "sample string 2",
      "Address": "sample string 3",
      "Address2": "sample string 4",
      "Address3": "sample string 5",
      "City": "sample string 6",
      "Country": "sample string 7",
      "CurrencySymbol": "sample string 8",
      "ID": "08787d00-84b6-482f-8488-c9d0408c7ec7",
      "IsDeleted": true,
      "Name": "sample string 12",
      "PhoneNumber": "sample string 13",
      "PostalCode": "sample string 14",
      "ProviderId": "c1ce9a1c-d13b-43fc-bc7c-1eab61ce9616",
      "RemoteId": "sample string 16",
      "SiteType": "sample string 17",
      "StateProvince": "sample string 18",
      "IsFavorite": true,
      "SubResourceUris": {
        "EULA": "sample string 1"
      },
      "ModifiedDate": "2024-05-16T18:12:09.7823953+00:00",
      "_links": [
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        }
      ]
    }

  • [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: "89306da9-28b3-4757-86ca-67d935016dce"
    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: "2408ec6f-ca2a-4b83-9331-36f5cf24f57c"
    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

    [
      {
        "Address": "sample string 1",
        "City": "sample string 2",
        "ID": "5d75d392-b741-4253-bdd1-1af10ad6aa12",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "PostalCode": "sample string 6",
        "ProviderId": "69e66617-8125-411f-a2a5-6afa01763934",
        "ProviderLogoUrl": "sample string 8",
        "ProviderName": "sample string 9",
        "RemoteId": "sample string 10",
        "SiteName": "sample string 11",
        "SiteType": "sample string 12",
        "StateProvince": "sample string 13",
        "IsFavorite": true,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "Address": "sample string 1",
        "City": "sample string 2",
        "ID": "a570766b-89b2-4d76-ae5e-923388fa701e",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "PostalCode": "sample string 6",
        "ProviderId": "03baf7d6-e44d-45e7-a6e1-2428c65e14f7",
        "ProviderLogoUrl": "sample string 8",
        "ProviderName": "sample string 9",
        "RemoteId": "sample string 10",
        "SiteName": "sample string 11",
        "SiteType": "sample string 12",
        "StateProvince": "sample string 13",
        "IsFavorite": true,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "Address": "sample string 1",
        "City": "sample string 2",
        "ID": "50b67dbf-7621-4f93-8be3-d4206bdc94f3",
        "Latitude": 4.1,
        "Longitude": 5.1,
        "PostalCode": "sample string 6",
        "ProviderId": "c987f2e3-0f20-45cf-8524-47d5db5c5324",
        "ProviderLogoUrl": "sample string 8",
        "ProviderName": "sample string 9",
        "RemoteId": "sample string 10",
        "SiteName": "sample string 11",
        "SiteType": "sample string 12",
        "StateProvince": "sample string 13",
        "IsFavorite": true,
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      }
    ]

  • [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

    {
      "Longitude": 1.1,
      "Latitude": 2.1,
      "Range": 3.1,
      "DistanceUnit": 0,
      "ProviderId": "f785ff06-b1d3-4b97-b8f4-5b06a2acce6b",
      "Sites": [
        {
          "GeoLocation": {
            "Latitude": 0.0,
            "Longitude": 0.0
          },
          "Options": [
            {
              "Name": "sample string 1",
              "DisplayName": "sample string 2",
              "ID": "9e362f80-106e-4e5b-ba89-91a5b3275d6a"
            },
            {
              "Name": "sample string 1",
              "DisplayName": "sample string 2",
              "ID": "9e362f80-106e-4e5b-ba89-91a5b3275d6a"
            },
            {
              "Name": "sample string 1",
              "DisplayName": "sample string 2",
              "ID": "9e362f80-106e-4e5b-ba89-91a5b3275d6a"
            }
          ],
          "ID": "21f82d4b-fb5f-49d5-a5c9-b2e8eb066e8f",
          "ProviderId": "36cce241-4976-43f3-8a45-5926448684a1",
          "Address": "sample string 4",
          "Address2": "sample string 5",
          "Address3": "sample string 6",
          "City": "sample string 7",
          "StateProvince": "sample string 8",
          "PostalCode": "sample string 9",
          "Country": "sample string 10",
          "PhoneNumber": "sample string 11",
          "CurrencySymbol": "sample string 12",
          "SiteType": "sample string 13",
          "Name": "sample string 14",
          "RemoteId": "sample string 15",
          "IsDeleted": true,
          "ModifiedDate": "2024-05-16T18:12:09.7823953+00:00"
        },
        {
          "GeoLocation": {
            "Latitude": 0.0,
            "Longitude": 0.0
          },
          "Options": [
            {
              "Name": "sample string 1",
              "DisplayName": "sample string 2",
              "ID": "9e362f80-106e-4e5b-ba89-91a5b3275d6a"
            },
            {
              "Name": "sample string 1",
              "DisplayName": "sample string 2",
              "ID": "9e362f80-106e-4e5b-ba89-91a5b3275d6a"
            },
            {
              "Name": "sample string 1",
              "DisplayName": "sample string 2",
              "ID": "9e362f80-106e-4e5b-ba89-91a5b3275d6a"
            }
          ],
          "ID": "21f82d4b-fb5f-49d5-a5c9-b2e8eb066e8f",
          "ProviderId": "36cce241-4976-43f3-8a45-5926448684a1",
          "Address": "sample string 4",
          "Address2": "sample string 5",
          "Address3": "sample string 6",
          "City": "sample string 7",
          "StateProvince": "sample string 8",
          "PostalCode": "sample string 9",
          "Country": "sample string 10",
          "PhoneNumber": "sample string 11",
          "CurrencySymbol": "sample string 12",
          "SiteType": "sample string 13",
          "Name": "sample string 14",
          "RemoteId": "sample string 15",
          "IsDeleted": true,
          "ModifiedDate": "2024-05-16T18:12:09.7823953+00:00"
        },
        {
          "GeoLocation": {
            "Latitude": 0.0,
            "Longitude": 0.0
          },
          "Options": [
            {
              "Name": "sample string 1",
              "DisplayName": "sample string 2",
              "ID": "9e362f80-106e-4e5b-ba89-91a5b3275d6a"
            },
            {
              "Name": "sample string 1",
              "DisplayName": "sample string 2",
              "ID": "9e362f80-106e-4e5b-ba89-91a5b3275d6a"
            },
            {
              "Name": "sample string 1",
              "DisplayName": "sample string 2",
              "ID": "9e362f80-106e-4e5b-ba89-91a5b3275d6a"
            }
          ],
          "ID": "21f82d4b-fb5f-49d5-a5c9-b2e8eb066e8f",
          "ProviderId": "36cce241-4976-43f3-8a45-5926448684a1",
          "Address": "sample string 4",
          "Address2": "sample string 5",
          "Address3": "sample string 6",
          "City": "sample string 7",
          "StateProvince": "sample string 8",
          "PostalCode": "sample string 9",
          "Country": "sample string 10",
          "PhoneNumber": "sample string 11",
          "CurrencySymbol": "sample string 12",
          "SiteType": "sample string 13",
          "Name": "sample string 14",
          "RemoteId": "sample string 15",
          "IsDeleted": true,
          "ModifiedDate": "2024-05-16T18:12:09.7823953+00:00"
        }
      ]
    }

    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

    {
      "ID": "352e1665-40ac-4091-8149-8cb2a03a146d",
      "Name": "sample string 2",
      "LogoUrl": "sample string 3",
      "ProviderTypeId": "302c5b9b-0bb9-4ae3-a3fb-3c1e2e20a416"
    }

    Returns

    Response will not contain content.

  • [POST] api/v1/Provider/

    Description

    Updates the specified provider.

    Parameter(s)

    The provider.

    Sample

    {
      "ID": "a101c1a8-5f37-41bf-b68d-26dad907144d",
      "Name": "sample string 2",
      "LogoUrl": "sample string 3",
      "ProviderTypeId": "392c57de-2e06-40aa-9e44-65de4e674667"
    }

    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: "3ca72fa0-95ed-4c87-bfba-12a1e7be35c0"
    Returns

    ProviderRepresentation

    • String Href
    • Guid ID
    • String LinkName
    • IList<Link> Links
    • String LogoUrl
    • String Name
    • Nullable<Guid> ProviderTypeId
    • String Rel

    Sample

    {
      "ID": "61c8fc5d-e3bb-4ec6-9127-bec8bd75f0e5",
      "LogoUrl": "sample string 2",
      "Name": "sample string 3",
      "ProviderTypeId": "36a7f926-3ea9-48f5-952a-f85835018cde",
      "_links": [
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        },
        {
          "Rel": "sample string 1",
          "Href": "sample string 2",
          "IsTemplated": true
        }
      ]
    }

  • [DELETE] api/v1/Provider/Delete?id={id}

    Description

    Deletes the provider matching the specified id.

    Parameter(s)

    (FromUri) Guid id - The id.

    Sample: "918d1570-a330-401c-95f8-6bf260cb42f2"
    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 in

    Sample: "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

    [
      {
        "ID": "ddbf46e4-70c0-4cf1-9ca9-d8d7cf6d04df",
        "LogoUrl": "sample string 2",
        "Name": "sample string 3",
        "ProviderTypeId": "8f220895-ea6e-4336-9ff0-4761ba710c29",
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "ID": "3ecefa76-ab81-4173-ad5b-e62075536be1",
        "LogoUrl": "sample string 2",
        "Name": "sample string 3",
        "ProviderTypeId": "b7e869f3-e855-445b-b419-baa96109e8a2",
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      },
      {
        "ID": "1218dcad-2482-41ca-a996-776d8684d011",
        "LogoUrl": "sample string 2",
        "Name": "sample string 3",
        "ProviderTypeId": "4a6659a6-67fd-4c8c-a28d-64ecc3c0fb52",
        "_links": [
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          },
          {
            "Rel": "sample string 1",
            "Href": "sample string 2",
            "IsTemplated": true
          }
        ]
      }
    ]