POST api/agenda

Request Information

URI Parameters

None.

Body Parameters

agendaSalaPOSTModel
NameDescriptionTypeAdditional information
operacao

integer

None.

id

integer

None.

cliente_id

integer

None.

convite

string

None.

pv_loja_id

integer

None.

liberado_de

date

None.

liberado_ate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "operacao": 1,
  "id": 2,
  "cliente_id": 3,
  "convite": "sample string 4",
  "pv_loja_id": 5,
  "liberado_de": "2024-12-21T12:44:58.8338912-03:00",
  "liberado_ate": "2024-12-21T12:44:58.8338912-03:00"
}

application/xml, text/xml

Sample:
<agendaSalaPOSTModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <cliente_id>3</cliente_id>
  <convite>sample string 4</convite>
  <id>2</id>
  <liberado_ate>2024-12-21T12:44:58.8338912-03:00</liberado_ate>
  <liberado_de>2024-12-21T12:44:58.8338912-03:00</liberado_de>
  <operacao>1</operacao>
  <pv_loja_id>5</pv_loja_id>
</agendaSalaPOSTModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RespostaPadraoSimples
NameDescriptionTypeAdditional information
status

string

None.

mensagem

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "mensagem": "sample string 2"
}

application/xml, text/xml

Sample:
<RespostaPadraoSimples xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <mensagem>sample string 2</mensagem>
  <status>sample string 1</status>
</RespostaPadraoSimples>