POST api/v2/account/externalregister
Request Information
URI Parameters
None.
Body Parameters
RegisterBindingModelV2Name | Description | Type | Additional information |
---|---|---|---|
TenantId | globally unique identifier |
Required |
|
CanalId | integer |
Required |
|
UserName | string |
Required |
|
string |
Required |
||
Cpf | string |
Required |
|
Telefone | string |
None. |
|
DDD | string |
None. |
|
EntityCanalId | string |
None. |
|
ExternalAccessToken | string |
None. |
|
Provider | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TenantId": "8ef4526c-62af-40ba-84fe-4ac486be9ae0", "CanalId": 2, "UserName": "sample string 3", "Email": "sample string 4", "Cpf": "sample string 5", "Telefone": "sample string 6", "DDD": "sample string 7", "EntityCanalId": "sample string 8", "ExternalAccessToken": "sample string 9", "Provider": "sample string 10" }
application/xml, text/xml
Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels"> <CanalId>2</CanalId> <Cpf>sample string 5</Cpf> <DDD>sample string 7</DDD> <Email>sample string 4</Email> <EntityCanalId>sample string 8</EntityCanalId> <ExternalAccessToken>sample string 9</ExternalAccessToken> <Provider>sample string 10</Provider> <Telefone>sample string 6</Telefone> <TenantId>8ef4526c-62af-40ba-84fe-4ac486be9ae0</TenantId> <UserName>sample string 3</UserName> </RegisterBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RegisterAccountResultName | Description | Type | Additional information |
---|---|---|---|
VinculoFormulaCerta | boolean |
None. |
|
Succeeded | boolean |
None. |
|
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "VinculoFormulaCerta": true, "Succeeded": true, "Errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<RegisterAccountResult 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> <VinculoFormulaCerta>true</VinculoFormulaCerta> </RegisterAccountResult>