---
updatedAt: 2025-06-05T01:07:09.000Z
agentTools:
  projectIndex: https://api.portal.xpertdoc.com/llms.txt
---

# Get

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "odata4-v6",
    "version": "5.0"
  },
  "servers": [
    {
      "url": "https://portal.xpertdoc.com/odata4/v6"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/Batches()": {
      "get": {
        "summary": "Get",
        "description": "",
        "operationId": "get-batches",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\t\"@odata.context\": \"http://portal.xpertdoc.com/odata4/v6/$metadata#Batches\",\n\t\"value\": [{\n\t\t\"BatchId\": \"00000000-0000-0000-0000-000000000000\",\n\t\t\"BatchGroupId\": \"00000000-0000-0000-0000-000000000000\",\n\t\t\"Name\": \"Template execution\",\n\t\t\"Description\": \"00000000-0000-0000-0000-000000000000\",\n\t\t\"Status\": \"Completed\",\n\t\t\"StartTime\": \"2015-01-01T00:00:00.0000000Z\",\n\t\t\"EndTime\": \"2015-01-01T00:00:00.0000000Z\",\n\t\t\"InputMetadata\": \"Input Metadata\",\n\t\t\"OutputMetadata\": null,\n\t\t\"IsArchived\": false,\n\t\t\"WorkerName\": \"Xpertdoc.DocumentServices.AzureService_IN_0\",\n\t\t\"ErrorMessage\": null,\n\t\t\"ExecutedByUserProfileId\": \"00000000-0000-0000-0000-000000000000\",\n\t\t\"CreatedByUserProfileId\": \"00000000-0000-0000-0000-000000000000\",\n\t\t\"CreatedDate\": \"2015-01-01T00:00:00.0000000Z\",\n\t\t\"ModifiedByUserProfileId\": \"00000000-0000-0000-0000-000000000000\",\n\t\t\"ModifiedDate\": \"2015-01-01T00:00:00.0000000Z\",\n\t\t\"Timestamp\": \"AAAAAAAARHg=\"\n\t}]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "@odata.context": {
                      "type": "string",
                      "example": "http://portal.xpertdoc.com/odata4/v6/$metadata#Batches"
                    },
                    "value": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "BatchId": {
                            "type": "string",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "BatchGroupId": {
                            "type": "string",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "Name": {
                            "type": "string",
                            "example": "Template execution"
                          },
                          "Description": {
                            "type": "string",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "Status": {
                            "type": "string",
                            "example": "Completed"
                          },
                          "StartTime": {
                            "type": "string",
                            "example": "2015-01-01T00:00:00.0000000Z"
                          },
                          "EndTime": {
                            "type": "string",
                            "example": "2015-01-01T00:00:00.0000000Z"
                          },
                          "InputMetadata": {
                            "type": "string",
                            "example": "Input Metadata"
                          },
                          "OutputMetadata": {},
                          "IsArchived": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "WorkerName": {
                            "type": "string",
                            "example": "Xpertdoc.DocumentServices.AzureService_IN_0"
                          },
                          "ErrorMessage": {},
                          "ExecutedByUserProfileId": {
                            "type": "string",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "CreatedByUserProfileId": {
                            "type": "string",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "CreatedDate": {
                            "type": "string",
                            "example": "2015-01-01T00:00:00.0000000Z"
                          },
                          "ModifiedByUserProfileId": {
                            "type": "string",
                            "example": "00000000-0000-0000-0000-000000000000"
                          },
                          "ModifiedDate": {
                            "type": "string",
                            "example": "2015-01-01T00:00:00.0000000Z"
                          },
                          "Timestamp": {
                            "type": "string",
                            "example": "AAAAAAAARHg="
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "csharp",
              "code": "var response = portalContext.Batches;"
            }
          ],
          "samples-languages": [
            "csharp"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```