---
title: "POST /device/strategy/tables/strings/{tableName}"
method: POST
path: "/device/strategy/tables/strings/{tableName}"
tags: ["all", "tables"]
---

# POST /device/strategy/tables/strings/{tableName}

`POST /device/strategy/tables/strings/{tableName}`

"Write a range of table elements"
#### Examples ####
* Write the values ("first", "second", "third") to 3 consecutive elements in a table named strTable starting with the element at index 10:POST to https://1.2.3.4/api/v1/device/strategy/tables/strings/strtable?startIndex=10  with body of the POST request set to [ "first", "second", "third" ]

## Path parameters

- `tableName` string, required

## Query parameters

- `startIndex` integer

## Request body

- string[]

## Response `200`

OK - but check details for any error messages

- ErrorResponse200OKish
  - `errorCode` integer, required — Details: ** -23 ** The string you passed is longer than the width of PAC Control string variable or table element you are writing to.
  - `message` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/opto22/apis/pac.md) · [All operations](https://skmtc.net/opto22/apis/pac/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opto22/pac/versions/2288d966c8f4/schema)
