POST api/Pessoa

Request Information

URI Parameters

None.

Body Parameters

InserePessoa
NameDescriptionTypeAdditional information
ID_LOCAL

integer

None.

NOME

string

None.

DOCUMENTO

string

None.

IDENTIFICADOR

string

None.

EMAIL

string

None.

CELULAR

string

None.

LINKFOTO

string

None.

DTCADASTRO

string

None.

DTALTERACAO

string

None.

TIPO_PESSOA

string

None.

PERMITE_CONVITE

integer

None.

FOTO_WEB

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "ID_LOCAL": 1,
  "NOME": "sample string 2",
  "DOCUMENTO": "sample string 3",
  "IDENTIFICADOR": "sample string 4",
  "EMAIL": "sample string 5",
  "CELULAR": "sample string 6",
  "LINKFOTO": "sample string 7",
  "DTCADASTRO": "sample string 8",
  "DTALTERACAO": "sample string 9",
  "TIPO_PESSOA": "sample string 10",
  "PERMITE_CONVITE": 11,
  "FOTO_WEB": "QEA="
}

application/xml, text/xml

Sample:
<PessoaModel.InserePessoa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECKTORAPI.Models">
  <CELULAR>sample string 6</CELULAR>
  <DOCUMENTO>sample string 3</DOCUMENTO>
  <DTALTERACAO>sample string 9</DTALTERACAO>
  <DTCADASTRO>sample string 8</DTCADASTRO>
  <EMAIL>sample string 5</EMAIL>
  <FOTO_WEB>QEA=</FOTO_WEB>
  <IDENTIFICADOR>sample string 4</IDENTIFICADOR>
  <ID_LOCAL>1</ID_LOCAL>
  <LINKFOTO>sample string 7</LINKFOTO>
  <NOME>sample string 2</NOME>
  <PERMITE_CONVITE>11</PERMITE_CONVITE>
  <TIPO_PESSOA>sample string 10</TIPO_PESSOA>
</PessoaModel.InserePessoa>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InserePessoa'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />