본문으로 건너뛰기

구역 전체 조회

POST 

/schedule/open/zone/v1/queries/get-zones

병원에 등록된 모든 구역 목록을 조회합니다.

  • 시술실, 상담실 등 병원 내 구역 정보를 반환합니다.

Request

### Content-Type별 요청의 JSON Schema

{
"application/json": {
"schema": {
"type": "object",
"properties": {},
"title": "protos.Empty"
}
}
}

Responses

OK

### Status Code별 응답의 JSON Schema

{
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"required": [
"id",
"title",
"order",
"isDefault"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "구역 ID"
},
"title": {
"type": "string",
"description": "구역 이름"
},
"order": {
"type": "integer",
"description": "정렬 순서",
"format": "int32"
},
"isDefault": {
"type": "boolean",
"description": "기본 구역 여부"
}
},
"title": "protos.schedule.zone.ZoneContract"
}
}
},
"title": "protos.schedule.zone.GetZonesResponse"
}
}
}
}
}