GET api/Job/GetUpdatesById

Request Information

URI Parameters

None.

Body Parameters

GetUpdatesByIdParams
NameDescriptionTypeAdditional information
companyid

integer

None.

jaid

integer

None.

startdate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "companyid": 1,
  "jaid": 2,
  "startdate": "2025-01-22T18:21:08.1800799+00:00"
}

application/xml, text/xml

Sample:
<GetUpdatesByIdParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RMPAPI.Models">
  <CompanyId>1</CompanyId>
  <JobAssId>2</JobAssId>
  <StartDate>2025-01-22T18:21:08.1800799+00:00</StartDate>
</GetUpdatesByIdParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetUpdatesByIdResponse
NameDescriptionTypeAdditional information
Updates

Collection of JobUpdate

None.

Result

boolean

None.

StatusCode

integer

None.

Status

string

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Updates": [
    {
      "Id": 1,
      "JobAssId": 2,
      "JobId": 3,
      "StatusId": 4,
      "Status": "sample string 5",
      "UpdateType": 1501,
      "UpdateTime": "2025-01-22T18:21:08.1800799+00:00",
      "UpdateTimeRaw": "2025-01-22T18:21:08.1800799+00:00",
      "UpdateText": "sample string 8",
      "AgentId": 9,
      "IsValid": true
    },
    {
      "Id": 1,
      "JobAssId": 2,
      "JobId": 3,
      "StatusId": 4,
      "Status": "sample string 5",
      "UpdateType": 1501,
      "UpdateTime": "2025-01-22T18:21:08.1800799+00:00",
      "UpdateTimeRaw": "2025-01-22T18:21:08.1800799+00:00",
      "UpdateText": "sample string 8",
      "AgentId": 9,
      "IsValid": true
    }
  ],
  "Result": true,
  "StatusCode": 2,
  "Status": "sample string 3",
  "Messages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<GetUpdatesByIdResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RMPAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Messages>
  <Result>true</Result>
  <Status>sample string 3</Status>
  <StatusCode>2</StatusCode>
  <Updates xmlns:d2p1="http://schemas.datacontract.org/2004/07/RMPLIB.Models">
    <d2p1:JobUpdate>
      <d2p1:AgentId>9</d2p1:AgentId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:JobAssId>2</d2p1:JobAssId>
      <d2p1:JobId>3</d2p1:JobId>
      <d2p1:Status>sample string 5</d2p1:Status>
      <d2p1:StatusId>4</d2p1:StatusId>
      <d2p1:UpdateText>sample string 8</d2p1:UpdateText>
      <d2p1:UpdateTime>2025-01-22T18:21:08.1800799+00:00</d2p1:UpdateTime>
      <d2p1:UpdateTimeRaw>2025-01-22T18:21:08.1800799+00:00</d2p1:UpdateTimeRaw>
      <d2p1:UpdateType>Private</d2p1:UpdateType>
    </d2p1:JobUpdate>
    <d2p1:JobUpdate>
      <d2p1:AgentId>9</d2p1:AgentId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:JobAssId>2</d2p1:JobAssId>
      <d2p1:JobId>3</d2p1:JobId>
      <d2p1:Status>sample string 5</d2p1:Status>
      <d2p1:StatusId>4</d2p1:StatusId>
      <d2p1:UpdateText>sample string 8</d2p1:UpdateText>
      <d2p1:UpdateTime>2025-01-22T18:21:08.1800799+00:00</d2p1:UpdateTime>
      <d2p1:UpdateTimeRaw>2025-01-22T18:21:08.1800799+00:00</d2p1:UpdateTimeRaw>
      <d2p1:UpdateType>Private</d2p1:UpdateType>
    </d2p1:JobUpdate>
  </Updates>
</GetUpdatesByIdResponse>