PATCH api/Ocorrencias/{id}/Anexos

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

Collection of OcorrenciaAnexoPutPatchRequest
NameDescriptionTypeAdditional information
NmArquivo

string

None.

Base64Arquivo

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "NmArquivo": "sample string 1",
    "Base64Arquivo": "sample string 2"
  },
  {
    "NmArquivo": "sample string 1",
    "Base64Arquivo": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOcorrenciaAnexoPutPatchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VanRooy.CallSolution.Shared.API.Request">
  <OcorrenciaAnexoPutPatchRequest>
    <Base64Arquivo>sample string 2</Base64Arquivo>
    <NmArquivo>sample string 1</NmArquivo>
  </OcorrenciaAnexoPutPatchRequest>
  <OcorrenciaAnexoPutPatchRequest>
    <Base64Arquivo>sample string 2</Base64Arquivo>
    <NmArquivo>sample string 1</NmArquivo>
  </OcorrenciaAnexoPutPatchRequest>
</ArrayOfOcorrenciaAnexoPutPatchRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.