PUT api/attachment/update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AttachmentBindingViewModel
NameDescriptionTypeAdditional information
AccessLevelId

integer

Required

AttachmentTypeId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "AccessLevelId": 1,
  "AttachmentTypeId": 2
}

application/xml, text/xml

Sample:
<AttachmentBindingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.ShipmentAttachment">
  <AccessLevelId>1</AccessLevelId>
  <AttachmentTypeId>2</AttachmentTypeId>
</AttachmentBindingViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.