POST v1/{token}/vendedor

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

VendedorDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Nome

string

None.

Documento

integer

None.

Endereco

EnderecoDTO

None.

Telefone

string

None.

Email

string

None.

Situacao

integer

None.

Chave

string

None.

ApiKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Nome": "sample string 2",
  "Documento": 3,
  "Endereco": {
    "Logradouro": "sample string 1",
    "Numero": "sample string 2",
    "Complemento": "sample string 3",
    "Bairro": "sample string 4",
    "CEP": 5,
    "Cidade": "sample string 6",
    "UF": "sample string 7"
  },
  "Telefone": "sample string 4",
  "Email": "sample string 5",
  "Situacao": 6,
  "Chave": "sample string 7",
  "ApiKey": "sample string 8"
}

application/xml, text/xml

Sample:
<VendedorDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoctusPay.DTO">
  <ApiKey>sample string 8</ApiKey>
  <Chave>sample string 7</Chave>
  <Documento>3</Documento>
  <Email>sample string 5</Email>
  <Endereco>
    <Bairro>sample string 4</Bairro>
    <CEP>5</CEP>
    <Cidade>sample string 6</Cidade>
    <Complemento>sample string 3</Complemento>
    <Logradouro>sample string 1</Logradouro>
    <Numero>sample string 2</Numero>
    <UF>sample string 7</UF>
  </Endereco>
  <Id>1</Id>
  <Nome>sample string 2</Nome>
  <Situacao>6</Situacao>
  <Telefone>sample string 4</Telefone>
</VendedorDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.