POST api/CadastroPaciente/PostDuplicidades?codClienteSSN={codClienteSSN}

POST api/CadastroPaciente/PostDuplicidades?codClienteSSN=X — corpo {CPF, Celular, Telefone, Nome, IgnorarIdCliente}. 200 [{Tipo, IdCliente, Nome}] (aviso; nunca bloqueia).

Request Information

URI Parameters

NameDescriptionTypeAdditional information
codClienteSSN

string

Required

Body Parameters

DuplicidadesRequest
NameDescriptionTypeAdditional information
CPF

string

None.

Celular

string

None.

Telefone

string

None.

Nome

string

None.

IgnorarIdCliente

O próprio cadastro (edição) — não conta como duplicado.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CPF": "sample string 1",
  "Celular": "sample string 2",
  "Telefone": "sample string 3",
  "Nome": "sample string 4",
  "IgnorarIdCliente": 1
}

application/xml, text/xml

Sample:
<DuplicidadesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webService2.Models.CadastroPaciente">
  <CPF>sample string 1</CPF>
  <Celular>sample string 2</Celular>
  <IgnorarIdCliente>1</IgnorarIdCliente>
  <Nome>sample string 4</Nome>
  <Telefone>sample string 3</Telefone>
</DuplicidadesRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DuplicidadesRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.