POST api/TransformaDoc

Request Information

URI Parameters

None.

Body Parameters

Documento
NameDescriptionTypeAdditional information
NProposta

string

None.

TipoDocumento

string

None.

ValorTotal

decimal number

None.

NomeAnexo

string

None.

Anexo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NProposta": "sample string 1",
  "TipoDocumento": "sample string 2",
  "ValorTotal": 3.0,
  "NomeAnexo": "sample string 4",
  "Anexo": "sample string 5"
}

application/xml, text/xml

Sample:
<Documento xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Anexo>sample string 5</Anexo>
  <NProposta>sample string 1</NProposta>
  <NomeAnexo>sample string 4</NomeAnexo>
  <TipoDocumento>sample string 2</TipoDocumento>
  <ValorTotal>3</ValorTotal>
</Documento>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GeneralClass
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

IDLead

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "IDLead": "sample string 3"
}

application/xml, text/xml

Sample:
<GeneralClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <IDLead>sample string 3</IDLead>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
</GeneralClass>