---
title: "WriteBatches (Invantive Waypoint)"
description: "Write Batches"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/waypoint/Waypoint.Session.WriteBatches
original: https://documentation.invantive.eu/en/datamodels/waypoint/Waypoint.Session.WriteBatches
updated: 2026-12-01T19:59:17Z
license: https://documentation.invantive.eu/en/
---

# WriteBatches: Invantive Waypoint Write Batches

`read only`

- Catalog: `Waypoint`
- Schema: `Session`
- Label: Write Batches

Can only retrieve data.

## Table Columns

The columns of the table `WriteBatches` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `Accepted` | `int32` |  | [x] | fetched only when named |  |
| `BatchNumber` | `int64` |  | [x] | fetched only when named |  |
| `DurationMs` | `int64` |  | [x] | fetched only when named |  |
| `MessageCode` | `varchar2` |  | [ ] | fetched only when named |  |
| `MessageText` | `varchar2` |  | [ ] | fetched only when named |  |
| `Method` | `varchar2` |  | [x] | fetched only when named |  |
| `Path` | `varchar2` |  | [x] | fetched only when named |  |
| `Refused` | `int32` |  | [x] | fetched only when named |  |
| `RowsSent` | `int32` |  | [x] | fetched only when named |  |
| `Started` | `datetime` |  | [x] | fetched only when named |  |
| `TableName` | `varchar2` |  | [x] | fetched only when named |  |

## Sample Queries

```sql
select bch.BatchNumber
,      bch.RowsSent
,      bch.Accepted
,      bch.Refused
,      bch.MessageCode
from   Waypoint.Session.WriteBatches bch
```

