PUT Business/ModifyBusinessImage

Modify metadata associated to an image

Request Information

URI Parameters

None.

Body Parameters

BusinessImageBinding
NameDescriptionTypeAdditional information
ID

integer

None.

BusinessID

integer

None.

Name

string

Required

Description

string

None.

LanguageID

this is the image to be displayed at languageID, if not null

integer

None.

SortOrder

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "BusinessID": 2,
  "Name": "sample string 3",
  "Description": "sample string 4",
  "LanguageID": 1,
  "SortOrder": 5,
  "Lang": "sample string 6",
  "StoreID": 7
}

application/xml, text/xml

Sample:
<BusinessImageBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Business">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 6</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">7</StoreID>
  <BusinessID>2</BusinessID>
  <Description>sample string 4</Description>
  <ID>1</ID>
  <LanguageID>1</LanguageID>
  <Name>sample string 3</Name>
  <SortOrder>5</SortOrder>
</BusinessImageBinding>

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.