POST api/AuditAddendumItemImages/{id}

Posts an audit addendum item image.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the audit addendum item.

integer

Required

Body Parameters

The audit addendum item image to post.

AuditAddendumItemImage
NameDescriptionTypeAdditional information
ID

The ID of the record.

integer

None.

AuditAddendumItemID

The ID of the audit addendum item the image is for.

integer

None.

Image

The raw image.

Collection of byte

None.

UniqueIdentifier

The unique identifier for the image to make sure duplicates aren't uploaded in sync process.

string

None.

Request Formats

application/json, text/json

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

Response Information

Resource Description

A 200 status code.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.