---
title: "GET /costType"
method: GET
path: "/costType"
tags: ["costType"]
---

# GET /costType

`GET /costType`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/costType`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/costType/get.ts> (a function with typed inputs; its response is checked against the schema)

query costType

## Query parameters

- `page` integer
- `pageSize` integer
- `sort` string

## Response `200`

costType response

- object
  - `result` CostType[]
    - `id` string
    - `version` string
    - `createdDate` integer
    - `lastModifiedDate` integer
    - `name` string, required

## Other responses

- `default`: error response

## Changes

- **2022-06-29** `a926aad6dc0c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/costType/get.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
