POST api/hotel/IncluirConsumo

Request Information

URI Parameters

None.

Body Parameters

ConsumoVM
NameDescriptionTypeAdditional information
IDItem

integer

None.

IDLocal

integer

None.

IDPax

integer

None.

IDAtendente

integer

None.

Data

date

None.

Itens

Collection of ConsumoItemVM

None.

IdContaAcesso

integer

None.

Token

string

None.

IdUsuario

integer

None.

DataUnix

integer

None.

IDItem

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IDItem": 1,
  "IDLocal": 2,
  "IDPax": 1,
  "IDAtendente": 1,
  "Data": "2026-03-03T21:35:20.4547692-03:00",
  "Itens": [
    {
      "IDProduto": 1,
      "Quantidade": 2.0,
      "Preco": 3.0
    },
    {
      "IDProduto": 1,
      "Quantidade": 2.0,
      "Preco": 3.0
    }
  ],
  "IdContaAcesso": 3,
  "Token": "sample string 4",
  "IdUsuario": 5,
  "DataUnix": 1
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.