POST api/AuditImages/{uniqueIdentifier}

Posts an audit image.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uniqueIdentifier

The unique identifier of the associated audit.

string

Required

Body Parameters

The image to post.

AuditImage
NameDescriptionTypeAdditional information
ID

The ID of the audit image.

integer

None.

AuditID

The ID of the associated audit.

integer

None.

Image

The raw image.

Collection of byte

None.

UniqueIdentifier

The unique identifier of the audit image.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "AuditID": 2,
  "Image": "QEA=",
  "UniqueIdentifier": "sample string 3"
}

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

Response Information

Resource Description

A 200 status

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.