PUT api/AuditAddendums/{id}

Updates an existing audit addendum record.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the audit addendum record to update.

integer

Required

Body Parameters

The audit addendum data that will be used to update the record.

AuditAddendum
NameDescriptionTypeAdditional information
ID

The ID of the record.

integer

None.

AuditID

The ID of the audit this addendum is for.

integer

None.

HadContactWithGrower

Determines whether or not the auditor had contact with the grower.

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "AuditID": 2,
  "HadContactWithGrower": true
}

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

Response Information

Resource Description

An empty response body with a 204 response on success.

None.