The Batch Element {#batch-results-file-response-xml-batch}
==========================================================

The `&lt;Batch&gt;` element is the root of the response file, and it specifies the top level of the response file syntax.

```
&lt;Batch BatchID=CDATA
       MerchantID=CDATA
       Name=CDATA
       Version=NMTOKEN&gt;
   (ValidationStatus)
   (ValidatedRecords)
   (ValidationTime)
   (ValidationErrors)
&lt;/Batch&gt;
```

The \&lt;Batch\&gt; element has these attributes:

* `&lt;BatchID&gt;`---Batch file identifier that you assigned.
  * Data type: Alphanumeric
  * Data length: 8
* `MerchantID`---Your merchant ID.
  * Data type: Alphanumeric
  * Data length: 30
* `Name`---Name of the report. This value is always `OLP Validation Report`.
  * Data type: Alphanumeric
  * Data length: 25
* `Version`---Version number of the report. The current version number is `1.0`.
  * Data type: Numeric
  * Data length: 10

| Attribute Name | Attribute Value                                                                                               |
|:---------------|:--------------------------------------------------------------------------------------------------------------|
| `BatchID`      | Batch file identifier that you assigned. * Data type: Alphanumeric * Data length: 8                           |
| `MerchantID`   | Your merchant ID. * Data type: Alphanumeric * Data length: 30                                                 |
| `Name`         | Name of the report. This value is always `OLP Validation Report`. * Data type: Alphanumeric * Data length: 25 |
| `Version`      | Version number of the report. The current version number is `1.0`. * Data type: Numeric * Data length: 10     |
[Attributes of the \&lt;Batch\&gt; Element]

| Element Name       | Description                                                                                                                                                                                                                                                                                                                                                 |
|:-------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `ValidationStatus` | Status of the attempted validation. Possible values: * `Failed` * `Success` * `OnHold` * `ToBeResolved` Specifications: <!-- --> * Data type: Alphanumeric * Data length: 10                                                                                                                                                                                |
| `ValidatedRecords` | Number of records validated. This value is present only when the validation is successful. * Data type: Numeric * Data length: 10                                                                                                                                                                                                                           |
| `ValidationTime`   | Timestamp for the validation process. Format: yyyy-MM-ddTHH:mm:ss * Data type: DateTime * Data length: 25                                                                                                                                                                                                                                                   |
| `ValidationErrors` | List of the errors in the batch file. This element is present only if the validation failed. See [The ValidationErrors Element](/docs/cybs/en-us/batch/user/all/so/batch-upload/batch-results-file-response/batch-results-file-response-xml/batch-results-file-response-xml-validationerrors.md ""). * Data type: Element |
[Child Elements of the \&lt;Batch\&gt; Element]

