PUT api/v1/image-groups/{imageGroupId}

Update an existing ImageGroup

Request Information

URI Parameters

NameDescriptionTypeAdditional information
imageGroupId

integer

Required

Body Parameters

ImageGroupUpdateDto
NameDescriptionTypeAdditional information
ImageGroupId

integer

None.

CaseId

integer

None.

Name

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "imageGroupId": 1,
  "caseId": 2,
  "name": "sample string 3",
  "description": "sample string 4"
}

application/xml, text/xml

Sample:
<ImageGroupUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Workpilot.ServiceLayer.Models">
  <CaseId>2</CaseId>
  <Description>sample string 4</Description>
  <ImageGroupId>1</ImageGroupId>
  <Name>sample string 3</Name>
</ImageGroupUpdateDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.