POST api/usuario/empresa/salas/salvar-sala
Request Information
URI Parameters
None.
Body Parameters
SalaName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
IdEmpresaAndar | integer |
None. |
|
Ativo | boolean |
None. |
|
IdEmpresa | integer |
None. |
|
Descricao | string |
None. |
|
DataCadastro | date |
None. |
|
QtdeMaxima | integer |
None. |
|
CoordenadaX | string |
None. |
|
CoordenadaY | string |
None. |
|
IdPlanta | integer |
None. |
|
Numero | integer |
None. |
|
Excluida | boolean |
None. |
|
Tags | Collection of Tags |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "IdEmpresaAndar": 2, "Ativo": true, "IdEmpresa": 4, "Descricao": "sample string 5", "DataCadastro": "2025-07-17T19:58:37.1963177-03:00", "QtdeMaxima": 6, "CoordenadaX": "sample string 7", "CoordenadaY": "sample string 8", "IdPlanta": 9, "Numero": 10, "Excluida": true, "Tags": [ { "Id": 1, "Descricao": "sample string 1", "DataCadastro": "2025-07-17T19:58:37.1963177-03:00", "EmpresaId": 3 }, { "Id": 1, "Descricao": "sample string 1", "DataCadastro": "2025-07-17T19:58:37.1963177-03:00", "EmpresaId": 3 } ] }
text/html, application/x-www-form-urlencoded, multipart/form-data
Sample:
{"Id":1,"IdEmpresaAndar":2,"Ativo":true,"IdEmpresa":4,"Descricao":"sample string 5","DataCadastro":"2025-07-17T19:58:37.1963177-03:00","QtdeMaxima":6,"CoordenadaX":"sample string 7","CoordenadaY":"sample string 8","IdPlanta":9,"Numero":10,"Excluida":true,"Tags":[{"Id":1,"Descricao":"sample string 1","DataCadastro":"2025-07-17T19:58:37.1963177-03:00","EmpresaId":3},{"Id":1,"Descricao":"sample string 1","DataCadastro":"2025-07-17T19:58:37.1963177-03:00","EmpresaId":3}]}
Response Information
Resource Description
ResultApiName | Description | Type | Additional information |
---|---|---|---|
sucesso | boolean |
None. |
|
timeout | integer |
None. |
|
error | string |
None. |
|
error_description | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "sucesso": true, "timeout": 100000, "error": "sample string 2", "error_description": "sample string 3" }
text/html, application/x-www-form-urlencoded, multipart/form-data
Sample:
{"sucesso":true,"timeout":100000,"error":"sample string 2","error_description":"sample string 3"}