POST api/services/v1/queue/jobinformation

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ImportInformationViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

ImportType

string

None.

ImportState

string

None.

JobStartTime

date

None.

JobEndTime

date

None.

UserEmail

string

None.

NumberOfErrors

integer

None.

ErrorMessages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Title": "sample string 2",
    "ImportType": "sample string 3",
    "ImportState": "sample string 4",
    "JobStartTime": "2024-12-21T09:27:44.4584346+01:00",
    "JobEndTime": "2024-12-21T09:27:44.4584346+01:00",
    "UserEmail": "sample string 5",
    "NumberOfErrors": 1,
    "ErrorMessages": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "ImportType": "sample string 3",
    "ImportState": "sample string 4",
    "JobStartTime": "2024-12-21T09:27:44.4584346+01:00",
    "JobEndTime": "2024-12-21T09:27:44.4584346+01:00",
    "UserEmail": "sample string 5",
    "NumberOfErrors": 1,
    "ErrorMessages": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfImportInformationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels.WebApi.ViewModels">
  <ImportInformationViewModel>
    <ErrorMessages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </ErrorMessages>
    <Id>1</Id>
    <ImportState>sample string 4</ImportState>
    <ImportType>sample string 3</ImportType>
    <JobEndTime>2024-12-21T09:27:44.4584346+01:00</JobEndTime>
    <JobStartTime>2024-12-21T09:27:44.4584346+01:00</JobStartTime>
    <NumberOfErrors>1</NumberOfErrors>
    <Title>sample string 2</Title>
    <UserEmail>sample string 5</UserEmail>
  </ImportInformationViewModel>
  <ImportInformationViewModel>
    <ErrorMessages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </ErrorMessages>
    <Id>1</Id>
    <ImportState>sample string 4</ImportState>
    <ImportType>sample string 3</ImportType>
    <JobEndTime>2024-12-21T09:27:44.4584346+01:00</JobEndTime>
    <JobStartTime>2024-12-21T09:27:44.4584346+01:00</JobStartTime>
    <NumberOfErrors>1</NumberOfErrors>
    <Title>sample string 2</Title>
    <UserEmail>sample string 5</UserEmail>
  </ImportInformationViewModel>
</ArrayOfImportInformationViewModel>