# TestData

Methods for modifying test data. Only available in test environment.

Salaxy API v03, **Finland only**. 2 operations. Interactive version: [REST API reference](https://code.salaxy.com/reference/rest-api.md). Machine-readable: [OpenAPI document](https://code.salaxy.com/openapi/salaxy-03.json).

**The reference wins:**
These pages are generated from the OpenAPI document. If a guide and this reference disagree about a field, follow the reference. Error responses are not in the document — see [Errors](https://code.salaxy.com/reference/errors.md).

## `POST /v03/api/test-data/taxcard-api`

**Sets the data for taxcards API for a personal Id.**

Response: `TaxcardInput`

Try it: [interactive reference](https://code.salaxy.com/reference/rest-api.md#tag/testdata/POST/v03/api/test-data/taxcard-api)

## `GET /v03/api/test-data/taxcard-api/{personalId}`

**Gets taxcard information for a personal Id.**

| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| `personalId` | path | string | yes | Personal ID for which the data is fetched. |

Response: `TaxcardInput`

Try it: [interactive reference](https://code.salaxy.com/reference/rest-api.md#tag/testdata/GET/v03/api/test-data/taxcard-api/{personalId})
