POST api/usuario/empresa/mesas/salvar-mesa
Request Information
URI Parameters
None.
Body Parameters
BaiaMesaName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Descricao | string |
None. |
|
Ativo | boolean |
None. |
|
CoordenadaX | string |
None. |
|
CoordenadaY | string |
None. |
|
IdEmpresa | integer |
None. |
|
IdEmpresaAndar | integer |
None. |
|
IdPlanta | integer |
None. |
|
Numero | integer |
None. |
|
IdDepartamento | integer |
None. |
|
IdColaborador | integer |
None. |
|
Excluida | boolean |
None. |
|
Tags | Collection of Tags |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Descricao": "sample string 2", "Ativo": true, "CoordenadaX": "sample string 4", "CoordenadaY": "sample string 5", "IdEmpresa": 6, "IdEmpresaAndar": 7, "IdPlanta": 8, "Numero": 9, "IdDepartamento": 1, "IdColaborador": 1, "Excluida": true, "Tags": [ { "Id": 1, "Descricao": "sample string 1", "DataCadastro": "2025-07-17T19:53:08.8563339-03:00", "EmpresaId": 3 }, { "Id": 1, "Descricao": "sample string 1", "DataCadastro": "2025-07-17T19:53:08.8563339-03:00", "EmpresaId": 3 } ] }
text/html, application/x-www-form-urlencoded, multipart/form-data
Sample:
{"Id":1,"Descricao":"sample string 2","Ativo":true,"CoordenadaX":"sample string 4","CoordenadaY":"sample string 5","IdEmpresa":6,"IdEmpresaAndar":7,"IdPlanta":8,"Numero":9,"IdDepartamento":1,"IdColaborador":1,"Excluida":true,"Tags":[{"Id":1,"Descricao":"sample string 1","DataCadastro":"2025-07-17T19:53:08.8563339-03:00","EmpresaId":3},{"Id":1,"Descricao":"sample string 1","DataCadastro":"2025-07-17T19:53:08.8563339-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"}