POST api/Contrato

Request Information

URI Parameters

None.

Body Parameters

Contrato
NameDescriptionTypeAdditional information
ComprimirEmPDF

boolean

None.

ArquivoBase64

string

None.

ChaveValor

Collection of ChaveValor

None.

Request Formats

application/json, text/json

Sample:
{
  "ComprimirEmPDF": true,
  "ArquivoBase64": "sample string 2",
  "ChaveValor": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<Contrato xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Documento.Models">
  <ArquivoBase64>sample string 2</ArquivoBase64>
  <ChaveValor>
    <ChaveValor>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </ChaveValor>
    <ChaveValor>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </ChaveValor>
  </ChaveValor>
  <ComprimirEmPDF>true</ComprimirEmPDF>
</Contrato>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>