GET api-v1/results/job?pageNumber={pageNumber}&pageSize={pageSize}

Return all Jobs, paginated by and

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNumber

integer

Default value is 1

pageSize

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

All jobs, paginated by and

Collection of JobMessage
NameDescriptionTypeAdditional information
Id

The Job's Id (inherited into 's Id field from )

integer

None.

Filter

The Job's Filter (inherited into 's Filter field from )

string

None.

LimsId

The Job's LIMS Id ()

string

None.

OrderId

The Job's Order Id ()

integer

None.

Status

The Job's Status ()

string

None.

Attachment

if the Job has an attachment, otherwise ()

boolean

None.

Data

A set of extra fields on the job (name to data) taken from the

Dictionary of string [key] and Object [value]

None.

Response Formats

application/json,text/json

Sample:
[
  {
    "Id": 1,
    "Filter": "sample string 2",
    "LimsId": "sample string 3",
    "OrderId": 4,
    "Status": "sample string 5",
    "Attachment": true,
    "Data": {
      "sample string 1": {},
      "sample string 3": {}
    }
  },
  {
    "Id": 1,
    "Filter": "sample string 2",
    "LimsId": "sample string 3",
    "OrderId": 4,
    "Status": "sample string 5",
    "Attachment": true,
    "Data": {
      "sample string 1": {},
      "sample string 3": {}
    }
  }
]

application/xml,text/xml

Sample:
<ArrayOfJobMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/labPortal2.Web.Api.v1.Results.Messages">
  <JobMessage>
    <Attachment>true</Attachment>
    <Data xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </Data>
    <Filter>sample string 2</Filter>
    <Id>1</Id>
    <LimsId>sample string 3</LimsId>
    <OrderId>4</OrderId>
    <Status>sample string 5</Status>
  </JobMessage>
  <JobMessage>
    <Attachment>true</Attachment>
    <Data xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
      <d3p1:KeyValueOfstringanyType>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value />
      </d3p1:KeyValueOfstringanyType>
    </Data>
    <Filter>sample string 2</Filter>
    <Id>1</Id>
    <LimsId>sample string 3</LimsId>
    <OrderId>4</OrderId>
    <Status>sample string 5</Status>
  </JobMessage>
</ArrayOfJobMessage>