POST v2/Protocolo?corrId={corrId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corrId

integer

Default value is 0

Body Parameters

CriarProtocoloPrimeiraEntregaItem
NameDescriptionTypeAdditional information
Ids

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Ids": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<CriarProtocoloPrimeiraEntregaItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2.Protocolo">
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Ids>
</CriarProtocoloPrimeiraEntregaItem>

multipart/form-data

Sample:
<CriarProtocoloPrimeiraEntregaItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2.Protocolo"><Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:int>1</d2p1:int><d2p1:int>2</d2p1:int></Ids></CriarProtocoloPrimeiraEntregaItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CriarProtocoloResponse
NameDescriptionTypeAdditional information
Id

integer

None.

CodigoResponse

integer

None.

MensagemResponse

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CodigoResponse": 2,
  "MensagemResponse": "sample string 3"
}

application/xml, text/xml

Sample:
<CriarProtocoloResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2.Protocolo">
  <CodigoResponse xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2">2</CodigoResponse>
  <MensagemResponse xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2">sample string 3</MensagemResponse>
  <Id>1</Id>
</CriarProtocoloResponse>

multipart/form-data

Sample:
<CriarProtocoloResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2.Protocolo"><CodigoResponse xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2">2</CodigoResponse><MensagemResponse xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2">sample string 3</MensagemResponse><Id>1</Id></CriarProtocoloResponse>