POST v2/Protocolo/Reabertura?corrId={corrId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corrId

integer

Default value is 0

Body Parameters

CriarProtocoloReaberturaItem
NameDescriptionTypeAdditional information
Itens

Collection of CriarProtocoloReaberturaPendenciaItem

None.

Request Formats

application/json, text/json

Sample:
{
  "Itens": [
    {
      "Id": 1,
      "SequId": 2
    },
    {
      "Id": 1,
      "SequId": 2
    }
  ]
}

application/xml, text/xml

Sample:
<CriarProtocoloReaberturaItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2.Protocolo">
  <Itens>
    <CriarProtocoloReaberturaPendenciaItem>
      <Id>1</Id>
      <SequId>2</SequId>
    </CriarProtocoloReaberturaPendenciaItem>
    <CriarProtocoloReaberturaPendenciaItem>
      <Id>1</Id>
      <SequId>2</SequId>
    </CriarProtocoloReaberturaPendenciaItem>
  </Itens>
</CriarProtocoloReaberturaItem>

multipart/form-data

Sample:
<CriarProtocoloReaberturaItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.Controllers.ServicosApiV2.Protocolo"><Itens><CriarProtocoloReaberturaPendenciaItem><Id>1</Id><SequId>2</SequId></CriarProtocoloReaberturaPendenciaItem><CriarProtocoloReaberturaPendenciaItem><Id>1</Id><SequId>2</SequId></CriarProtocoloReaberturaPendenciaItem></Itens></CriarProtocoloReaberturaItem>

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>