POST api/account/validateregister
Valida se é possível se registrar.
Request Information
URI Parameters
None.
Body Parameters
ValidateRegisterBindingModelName | Description | Type | Additional information |
---|---|---|---|
TenantId | globally unique identifier |
Required |
|
string |
Required |
||
Cpf | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "TenantId": "5ceb6e9e-1e09-4017-acd8-a2061ed49b7f", "Email": "sample string 2", "Cpf": "sample string 3" }
application/xml, text/xml
Sample:
<ValidateRegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <Cpf>sample string 3</Cpf> <Email>sample string 2</Email> <TenantId>5ceb6e9e-1e09-4017-acd8-a2061ed49b7f</TenantId> </ValidateRegisterBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ValidateRegisterAccountResultName | Description | Type | Additional information |
---|---|---|---|
Succeeded | boolean |
None. |
|
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeeded": true, "Errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ValidateRegisterAccountResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <Succeeded>true</Succeeded> </ValidateRegisterAccountResult>