POST api/Report/UpdateAttachmentChunk

Request Information

URI Parameters

None.

Body Parameters

ReportUpdateAttachmentChunkRequest
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

data

Collection of byte

None.

offset

integer

None.

finished

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "309d2fdd-9d7c-43fb-b70d-a3a287e27d3e",
  "data": "QEA=",
  "offset": 2,
  "finished": true
}

application/xml, text/xml

Sample:
<ReportUpdateAttachmentChunkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Report.Model">
  <Data>QEA=</Data>
  <Finished>true</Finished>
  <Id>309d2fdd-9d7c-43fb-b70d-a3a287e27d3e</Id>
  <Offset>2</Offset>
</ReportUpdateAttachmentChunkRequest>

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 'ReportUpdateAttachmentChunkRequest'.

Response Information

Resource Description

ReportUpdateAttachmentChunkResponse
NameDescriptionTypeAdditional information
mesasge

string

None.

isSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "mesasge": "sample string 1",
  "isSuccess": true
}

application/xml, text/xml

Sample:
<ReportUpdateAttachmentChunkResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Report.Model">
  <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">true</IsSuccess>
  <Mesasge xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">sample string 1</Mesasge>
</ReportUpdateAttachmentChunkResponse>