POST api/IntegracaoAgenda/Remarcar?codClienteSSN={codClienteSSN}
Remarca um agendamento para nova data e hora (o horário de destino precisa estar vago na agenda do mesmo profissional — consulte HorariosLivres). Se o agendamento já está na data e hora pedidas, responde sucesso com jaEstavaRemarcado = true.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| codClienteSSN | string |
Required |
Body Parameters
IntegracaoRemarcarRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| agendamentoId | integer |
None. |
|
| data | string |
None. |
|
| hora | string |
None. |
|
| motivo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"agendamentoId": 1,
"data": "sample string 2",
"hora": "sample string 3",
"motivo": "sample string 4"
}
application/xml, text/xml
Sample:
<IntegracaoRemarcarRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webService2.Controllers"> <agendamentoId>1</agendamentoId> <data>sample string 2</data> <hora>sample string 3</hora> <motivo>sample string 4</motivo> </IntegracaoRemarcarRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.