계약서 태그 목록 조회 API

계약서 태그 목록을 조회할 수 있는 API입니다.

GET kit-api/v1/contracts/tags

Method: GET Endpoint: kit-api/v1/contracts/tags

Example

...kit-api/v1/contracts/tags

Response

{
  "ok": true, // api 성공
  "data": [
    {
      "id": 3135,
      "name": "MOU",
      "colorCode": "RED", // RED, ORANGE, YELLOW, GREEN, BLUE, GRAY 존재
      "order": 1
    },
    {
      "id": 1462,
      "name": "근로계약서",
      "colorCode": "ORANGE",
      "order": 2
    },
    {
      "id": 4393,
      "name": "영업계약서",
      "colorCode": "GREEN",
      "order": 3
    }
  ]
}

{
  "ok": false, // api 실패
  "message": "error message", // Error가 존재하면 message(string)로 전달
  "errorCode": "ERROR_CODE"
}

Last updated