FetchBatches

Full path FetchBatches?ClientID={ClientID}&HiddenStatusses={HiddenStatusses}
HTTP Verb GET
Description This endpoint expects an HTTP GET request with a ClientID.
Requires authentication with an OAuth2 token

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ClientID

The unique client id

string

Required

HiddenStatusses

string

None.

Body Parameters

None.

Response Information

Resource Description

a list of batches available for this ClientID

Collection of Batch
NameDescriptionTypeAdditional information
Id

The unique identifier for a batch

integer

None.

Name

The name of the batch

string

None.

Amount

The number of records in a batch

integer

None.

Date

The creationdate of a batch

date

None.

StatusId

The status id of a batch

integer

None.

StatusDescription

The status description of a batch

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Amount": 1,
    "Date": "2026-03-24T22:51:18.3137826+01:00",
    "StatusId": 1,
    "StatusDescription": "sample string 4"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Amount": 1,
    "Date": "2026-03-24T22:51:18.3137826+01:00",
    "StatusId": 1,
    "StatusDescription": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DocFlowImportServiceInportal.Models">
  <Batch>
    <Amount>1</Amount>
    <Date>2026-03-24T22:51:18.3137826+01:00</Date>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <StatusDescription>sample string 4</StatusDescription>
    <StatusId>1</StatusId>
  </Batch>
  <Batch>
    <Amount>1</Amount>
    <Date>2026-03-24T22:51:18.3137826+01:00</Date>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <StatusDescription>sample string 4</StatusDescription>
    <StatusId>1</StatusId>
  </Batch>
</ArrayOfBatch>