POST api/v2/account/vincular

Request Information

URI Parameters

None.

Body Parameters

VincularClienteBindingModel
NameDescriptionTypeAdditional information
TenantMatriz

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantMatriz": "ac8193a4-b7a6-4d64-b55f-43c5cd341877"
}

application/xml, text/xml

Sample:
<VincularClienteBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels">
  <TenantMatriz>ac8193a4-b7a6-4d64-b55f-43c5cd341877</TenantMatriz>
</VincularClienteBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RegisterAccountResult
NameDescriptionTypeAdditional information
VinculoFormulaCerta

boolean

None.

data

LoginResult

None.

Succeeded

boolean

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "VinculoFormulaCerta": true,
  "data": {
    "AccessToken": "sample string 1",
    "RefreshAccessToken": "sample string 2",
    "TokenType": "sample string 3",
    "Expires": "2024-11-21T09:40:28.1130261+00:00",
    "ErrorCode": 5,
    "ClienteId": 6,
    "Succeeded": true,
    "Errors": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "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>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result">
    <Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Errors>
    <Succeeded>true</Succeeded>
    <d2p1:AccessToken>sample string 1</d2p1:AccessToken>
    <d2p1:ErrorCode>5</d2p1:ErrorCode>
    <d2p1:Expires xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T09:40:28.1130261Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:Expires>
    <d2p1:RefreshAccessToken>sample string 2</d2p1:RefreshAccessToken>
    <d2p1:TokenType>sample string 3</d2p1:TokenType>
  </data>
</RegisterAccountResult>