GET api/PublicSessions

Gets a list of all recent conversion jobs. The current session is determined by the IP address of the invoking HTTP request.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

list of

Collection of SessionModel
NameDescriptionTypeAdditional information
Ticket

Job ticket

globally unique identifier

None.

FileName

Uploaded file name

string

None.

DateCreated

Date created timestamp

date

None.

ExpiresInMinutes

Download link expiration in minutes

decimal number

None.

ConversionStatus

Conversion status

ConversionStatus

None.

StatusText

Conversion status text

string

None.

IpAddress

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Ticket": "d6aff0af-1602-46ee-b1f6-7ccc23656244",
    "FileName": "sample string 2",
    "DateCreated": "2018-09-02T12:18:38.6679994+02:00",
    "ExpiresInMinutes": 4.1,
    "ConversionStatus": 0,
    "StatusText": "sample string 5",
    "IpAddress": "sample string 6"
  },
  {
    "Ticket": "d6aff0af-1602-46ee-b1f6-7ccc23656244",
    "FileName": "sample string 2",
    "DateCreated": "2018-09-02T12:18:38.6679994+02:00",
    "ExpiresInMinutes": 4.1,
    "ConversionStatus": 0,
    "StatusText": "sample string 5",
    "IpAddress": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSessionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xps2Pdf.Site.Models">
  <SessionModel>
    <ConversionStatus>Pending</ConversionStatus>
    <DateCreated>2018-09-02T12:18:38.6679994+02:00</DateCreated>
    <ExpiresInMinutes>4.1</ExpiresInMinutes>
    <FileName>sample string 2</FileName>
    <IpAddress>sample string 6</IpAddress>
    <StatusText>sample string 5</StatusText>
    <Ticket>d6aff0af-1602-46ee-b1f6-7ccc23656244</Ticket>
  </SessionModel>
  <SessionModel>
    <ConversionStatus>Pending</ConversionStatus>
    <DateCreated>2018-09-02T12:18:38.6679994+02:00</DateCreated>
    <ExpiresInMinutes>4.1</ExpiresInMinutes>
    <FileName>sample string 2</FileName>
    <IpAddress>sample string 6</IpAddress>
    <StatusText>sample string 5</StatusText>
    <Ticket>d6aff0af-1602-46ee-b1f6-7ccc23656244</Ticket>
  </SessionModel>
</ArrayOfSessionModel>