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
| Name | Description | Type | Additional information |
|---|---|---|---|
| codClienteSSN | string |
Required |
Body Parameters
DuplicidadesRequest| Name | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.