POST api/Contrato
Request Information
URI Parameters
None.
Body Parameters
ContratoName | Description | Type | Additional information |
---|---|---|---|
ComprimirEmPDF | boolean |
None. |
|
ArquivoBase64 | string |
None. |
|
ChaveValor | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{ "ComprimirEmPDF": true, "ArquivoBase64": "sample string 2", "ChaveValor": { "sample string 1": {}, "sample string 3": {} } }
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 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> </ChaveValor> <ComprimirEmPDF>true</ComprimirEmPDF> </Contrato>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse 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>