POST api/AuditItemImages/{uniqueIdentifier}

Posts an audit item image.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uniqueIdentifier

The unique identifier of the audit item.

string

Required

Body Parameters

The audit item image to post.

AuditItemImage
NameDescriptionTypeAdditional information
ID

The ID of the audit item image.

integer

None.

AuditItemID

The ID of the associated audit item.

integer

None.

Image

The raw image.

Collection of byte

None.

UniqueIdentifier

The unique identifier of the audit item image.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "AuditItemID": 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 'AuditItemImage'.

Response Information

Resource Description

A 200 status code.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.