- Page Content
- Introduction
- Input format
- Output format
Name: AutoCadastroRelacionamentos
The purpose of this function is to realize the registration of relationships and representatives.
- As the Private Individual is self-represented in QualiSign Portal it is important that, in this case, the representative's Tag is filled with the informations of the Private Individual.
Input format:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<documentoeletronico>
<sessao>XXXX</sessao>
<relacionamento rel_cnpjcpf="" razao="" nomefantasia="" gtdeass="" PerfilDefault="" rel_Ativo="" />
<representantes>
<representante repr_cont_cpf="" nome="" idlogon="" email="" perfil="" DataVencMandato="" DataVencInd="" reprAtivo="" />
<representante repr_cont_cpf="" nome="" idlogon="" email="" perfil="" DataVencMandato="" DataVencInd="" reprAtivo="" />
<representante repr_cont_cpf="" nome="" idlogon="" email="" perfil="" DataVencMandato="" DataVencInd="" reprAtivo="" />
</representantes>
<relacionamento>
</documentoeletronico>
| Parameter | Format | Required | Description |
|---|---|---|---|
| sessao | Text | Y | Registered access key for your company |
| relacionamento | Text | Y | TAG to define the relationship to be included /altered |
| rel_cnpjcpf | Text | Y | Company's CNPJ or Private Individual's CPF that will be registered/ changed in the QualiSign Portal. Fill with CNPJ/CPF without formatting sending even the ZEROS in the left to complete the 11 position structure for CPF and 14 for CNPJ. |
| razao | Text | Y | Corporate Name (CN) or name(PI) of the relationship |
| nomefantasia | Text | Y | Fantasy name (CN) or name (PI) of the relationship |
| qtdeass | Numeric | Y | The minimum number signatures required to consider that the party siures have been completed. |
| PerfilDefault | String | Y | Profile name or code that will be used as default for a represantative's registration. (See Access Profiles) |
| rel_ativo | Text | N | Define the representative's status. Possible values: S - Active; N - Not active. |
| representantes | Text | N | Node to define the representative of the relationships that will be associated with the relationship in question. If this Node does not exists, no representative will be associated. |
| representante | Text | N | TAG to define the representative to be included/ changed in the relationship in question. |
| repr_cont_cpf | Text | Y | representative's CPF. Fill without formatting, respecting the 11 positions to this number (fill even with the ZEROS in the left when necessary) |
| nome | Text | Y | Name of representative |
| idlogon | Text | Y | User identification for logging in to the portal |
| Text | Y | Representative email | |
| perfil | String | N | Profile name or code to be associated (See Access Profiles) |
| DataVencMandato | Text | N | Date of expiry of the representative's mandate in DD / MM / YYYY format |
| DataVencInd | Text | N | Define if the representative's mandate is UNDEFINED. The possible values are S (yes) to define the mandate as undefined or N (no) to define a mandate with determined validity, expressed by the argument DataVencMandato. |
| repr_Ativo | Text | N | Define if the representative is active or not. The possible values are S (yes) to leave the representative active for this relationship or N (no) to leave the representative inactive for this relationship. |
| AssinaIsoladamente | Text | N | Indicates whether to sign in isolation (S-Yes, N-No). This information is relevant only if the configuration "The number of signatures required to terminate the collection of a Party defined in each relationship" is enabled for the relationship. |
| LimiteIsoladamente | Text | N | Inform the limit value in REAIS. If AssinaIsoladamente is equal to S (yes) and the limit of the representative be UNDEFINED, inform 0 (zero) toLimiteIsoladamente. If AssinaIsoladamente is equal to N, inform in the TAG LimiteIsoladamente the value 0 (zero) or do not inform the TAG. It is worth remembering that the obligation to define limits of a representative in the REAL currency, occurs due to the QualiSign Portal does not convert currencies at the moment of conferring on the value of a document. Therefore, the value of the registered document must also always be in REAIS to use the automatic validation by the portal. |
| Assinaconjuntamente | Text | N | Indicates whether to sign in isolation (S-Yes, N-No). This information is relevant only if the configuration "The number of signatures required to terminate the collection of a Party defined in each relationship" is enabled for the relationship. |
| Limiteconjuntamente | Text | N | Inform the limit value in REAIS. If AssinaConjuntamente is equal to S (yes) and the limit of the representative be UNDEFINED, inform 0 (zero) toLimiteconjuntamente. If AssinaConjuntamente is equal to N, inform in the TAG Limiteconjuntamente the value 0 (zero) or do not inform the TAG. It is worth remembering that the obligation to define limits of a representative in the REAL currency, occurs due to the QualiSign Portal does not convert currencies at the moment of conferring on the value of a document. Therefore, the value of the registered document must also always be in REAIS to use the automatic validation by the portal. |
Output format:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<documentoeletronico>
<CodErro />
<MsgErro />
</documentoeletronico>
| Parameter | Format | Description |
|---|---|---|
| CodErro | Numeric | Error code (See Error Codes). |
| MsgErro | Text | Error message |