POST api/AgendamentoOnline/SolicitarCancelamentoAgendamento

Request Information

URI Parameters

None.

Body Parameters

AgendamentoCancelamentoModel
NameDescriptionTypeAdditional information
IdAgendamento

integer

None.

Motivo

string

None.

Confirmado

boolean

None.

CancelamentoUsuario

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IdAgendamento": 1,
  "Motivo": "sample string 2",
  "Confirmado": true,
  "CancelamentoUsuario": true
}

application/xml, text/xml

Sample:
<AgendamentoCancelamentoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnimedApp.API.Models.NaoraModels">
  <CancelamentoUsuario>true</CancelamentoUsuario>
  <Confirmado>true</Confirmado>
  <IdAgendamento>1</IdAgendamento>
  <Motivo>sample string 2</Motivo>
</AgendamentoCancelamentoModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.