POST api/v1/parceiro/Cadastrar
Request Information
URI Parameters
None.
Body Parameters
ParceiroCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| string |
Required String length: inclusive between 0 and 150 |
||
| Senha | string |
Required String length: inclusive between 0 and 100 |
|
| Nome | string |
String length: inclusive between 0 and 50 |
|
| Sobrenome | string |
String length: inclusive between 0 and 50 |
|
| Cpf | string |
String length: inclusive between 0 and 20 |
|
| Cnpj | string |
String length: inclusive between 0 and 25 |
|
| NomeEmpresa | string |
String length: inclusive between 0 and 100 |
|
| TipoPessoa | string |
Required String length: inclusive between 0 and 3 |
|
| Celular | string |
Required String length: inclusive between 0 and 20 |
|
| Estado | string |
String length: inclusive between 0 and 2 |
|
| Cidade | string |
String length: inclusive between 0 and 20 |
|
| Bairro | string |
String length: inclusive between 0 and 20 |
|
| Numero | integer |
None. |
|
| Complemento | string |
String length: inclusive between 0 and 20 |
|
| Cep | string |
String length: inclusive between 0 and 15 |
|
| Endereco | string |
String length: inclusive between 0 and 100 |
|
| PerfiSistema | string |
String length: inclusive between 0 and 50 |
|
| Porcentagem | integer |
None. |
|
| TipoDeConta | string |
String length: inclusive between 0 and 20 |
|
| Banco | string |
String length: inclusive between 0 and 11 |
|
| Agencia | string |
String length: inclusive between 0 and 11 |
|
| AgenciaDigito | string |
String length: inclusive between 0 and 11 |
|
| Conta | string |
String length: inclusive between 0 and 11 |
|
| ContaDigito | string |
String length: inclusive between 0 and 11 |
|
| Status | string |
String length: inclusive between 0 and 11 |
Request Formats
application/json, text/json
{
"Id": 1,
"Email": "sample string 2",
"Senha": "sample string 3",
"Nome": "sample string 4",
"Sobrenome": "sample string 5",
"Cpf": "sample string 6",
"Cnpj": "sample string 7",
"NomeEmpresa": "sample string 8",
"TipoPessoa": "sample string 9",
"Celular": "sample string 10",
"Estado": "sample string 11",
"Cidade": "sample string 12",
"Bairro": "sample string 13",
"Numero": 14,
"Complemento": "sample string 15",
"Cep": "sample string 16",
"Endereco": "sample string 17",
"PerfiSistema": "sample string 18",
"Porcentagem": 19,
"TipoDeConta": "sample string 20",
"Banco": "sample string 21",
"Agencia": "sample string 22",
"AgenciaDigito": "sample string 23",
"Conta": "sample string 24",
"ContaDigito": "sample string 25",
"Status": "sample string 26"
}
application/xml, text/xml
<ParceiroCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.Model.AppUsuario"> <Agencia>sample string 22</Agencia> <AgenciaDigito>sample string 23</AgenciaDigito> <Bairro>sample string 13</Bairro> <Banco>sample string 21</Banco> <Celular>sample string 10</Celular> <Cep>sample string 16</Cep> <Cidade>sample string 12</Cidade> <Cnpj>sample string 7</Cnpj> <Complemento>sample string 15</Complemento> <Conta>sample string 24</Conta> <ContaDigito>sample string 25</ContaDigito> <Cpf>sample string 6</Cpf> <Email>sample string 2</Email> <Endereco>sample string 17</Endereco> <Estado>sample string 11</Estado> <Id>1</Id> <Nome>sample string 4</Nome> <NomeEmpresa>sample string 8</NomeEmpresa> <Numero>14</Numero> <PerfiSistema>sample string 18</PerfiSistema> <Porcentagem>19</Porcentagem> <Senha>sample string 3</Senha> <Sobrenome>sample string 5</Sobrenome> <Status>sample string 26</Status> <TipoDeConta>sample string 20</TipoDeConta> <TipoPessoa>sample string 9</TipoPessoa> </ParceiroCreateModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ParceiroPerfilModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| string |
None. |
||
| NomeCompleto | string |
None. |
|
| Cpf | string |
None. |
|
| Cnpj | string |
None. |
|
| TipoPessoa | string |
None. |
|
| Porcentagem | integer |
None. |
|
| PerfilSistema | string |
None. |
|
| Status | string |
None. |
|
| LinkParceiro | string |
None. |
Response Formats
application/json, text/json
{
"Id": 1,
"Email": "sample string 2",
"NomeCompleto": "sample string 3",
"Cpf": "sample string 4",
"Cnpj": "sample string 5",
"TipoPessoa": "sample string 6",
"Porcentagem": 7,
"PerfilSistema": "sample string 8",
"Status": "sample string 9",
"LinkParceiro": "sample string 10"
}
application/xml, text/xml
<ParceiroPerfilModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.Model"> <Cnpj>sample string 5</Cnpj> <Cpf>sample string 4</Cpf> <Email>sample string 2</Email> <Id>1</Id> <LinkParceiro>sample string 10</LinkParceiro> <NomeCompleto>sample string 3</NomeCompleto> <PerfilSistema>sample string 8</PerfilSistema> <Porcentagem>7</Porcentagem> <Status>sample string 9</Status> <TipoPessoa>sample string 6</TipoPessoa> </ParceiroPerfilModel>