---
# System prepended metadata

title: 建立仁康使用的 API

---

# 建立仁康使用的 API

POST {{baseURL}}/api/spaces/batch

```
[
  {
    "name": "仁康醫院",
    "branch": "2",
    "room": "105",
    "bed": "C",
    "devices": [
      {
        "boxDeviceId": "data-qt/201906477",
        "brand": "wisleep",
        "name": "緯創呼吸心跳",
        "type": "hr_rr",
        "description": "緯創呼吸心跳偵測",
        "state": "NORMAL"
      }
    ]
  },
  {
    "name": "仁康醫院",
    "branch": "2",
    "room": "106",
    "bed": "C",
    "devices": [
      {
        "boxDeviceId": "1fd3e6dd-c0da-4afb-99b3-1fac876cb269",
        "brand": "MWG",
        "name": "美維智慧床墊",
        "type": "mattress",
        "description": "智慧床墊偵測",
        "state": "NORMAL"
      }
    ]
  },
  {
    "name": "仁康醫院",
    "branch": "2",
    "room": "107",
    "bed": "F",
    "devices": [
      {
        "boxDeviceId": "data-qt/201906475",
        "brand": "wisleep",
        "name": "緯創呼吸心跳",
        "type": "hr_rr",
        "description": "緯創呼吸心跳偵測",
        "state": "NORMAL"
      }
    ]
  },
  {
    "name": "仁康醫院",
    "branch": "2",
    "room": "108",
    "bed": "A",
    "devices": [
      {
        "boxDeviceId": "dbbc13bb-0b0a-4d87-b2b6-2781475d109c",
        "brand": "MWG",
        "name": "美維智慧床墊",
        "type": "mattress",
        "description": "智慧床墊偵測",
        "state": "NORMAL"
      }
    ]
  },
  {
    "name": "仁康醫院",
    "branch": "2",
    "room": "301",
    "bed": "A"
  },
  {
    "name": "仁康醫院",
    "branch": "2",
    "room": "101",
    "bed": "B",
    "devices": [
      {
        "boxDeviceId": "38477f0b-5ccc-406f-841d-1d72b1f4d17a",
        "brand": "MWG",
        "name": "美維智慧床墊",
        "type": "mattress",
        "description": "智慧床墊偵測",
        "state": "NORMAL"
      }
    ]
  },
  {
    "name": "仁康醫院",
    "branch": "2",
    "room": "107",
    "bed": "C",
    "devices": [
      {
        "boxDeviceId": "9f2f0d18-8c60-4c33-b405-db6e187fe5bd",
        "brand": "MWG",
        "name": "美維智慧床墊",
        "type": "mattress",
        "description": "智慧床墊偵測",
        "state": "NORMAL"
      }
    ]
  }
]
```