POST api/errands/{id}/proof

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UploadProofRequest
NameDescriptionTypeAdditional information
AttachmentType

string

None.

FileUrl

string

None.

MimeType

string

None.

FileSizeBytes

integer

None.

FileHash

string

None.

MessageId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AttachmentType": "sample string 1",
  "FileUrl": "sample string 2",
  "MimeType": "sample string 3",
  "FileSizeBytes": 1,
  "FileHash": "sample string 4",
  "MessageId": 1
}

application/xml, text/xml

Sample:
<UploadProofRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RunnerMe.Controllers">
  <AttachmentType>sample string 1</AttachmentType>
  <FileHash>sample string 4</FileHash>
  <FileSizeBytes>1</FileSizeBytes>
  <FileUrl>sample string 2</FileUrl>
  <MessageId>1</MessageId>
  <MimeType>sample string 3</MimeType>
</UploadProofRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.