manage:facility permission.core.session_token: ********************Authorization: Bearer ********************curl --location '/facility/rooms' \
--header 'Content-Type: application/json' \
--data '{
"buildingId": "string",
"type": "CLASSROOM",
"code": "string",
"name": "string",
"registrationNumber": "string",
"floor": 0,
"length": 0,
"width": 0,
"capacity": 0,
"isBookable": true,
"image": "string"
}'{
"success": true,
"message": "string",
"meta": {
"page": 0,
"limit": 0,
"total": 0
},
"errors": [
{
"code": "CR-100001",
"field": "string",
"message": "string"
}
],
"result": {
"id": "string",
"buildingId": "string",
"type": "CLASSROOM",
"code": "string",
"name": "string",
"registrationNumber": "string",
"floor": 0,
"length": 0,
"width": 0,
"area": 0,
"capacity": 0,
"isBookable": true,
"image": "string",
"building": {
"id": "string",
"name": "string",
"location": {
"id": "string",
"name": "string"
}
},
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
}