POST Gallery/AddGallery

Adds a child Gallery to a parent It's up to the front to set the Gallery sortOrder.

Request Information

URI Parameters

None.

Body Parameters

use null ParentGalleryID, for top parent Galleries

AddGalleryBinding
NameDescriptionTypeAdditional information
Disabled

date

None.

Name

string

Required

Value

The value related to this Gallery. E.g. color black has value : 0x00000

string

None.

SortOrder

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Disabled": "2025-12-06T05:40:34.9136443+01:00",
  "Name": "sample string 1",
  "Value": "sample string 2",
  "SortOrder": 3,
  "Lang": "sample string 4",
  "StoreID": 5
}

application/xml, text/xml

Sample:
<AddGalleryBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Gallery">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 4</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">5</StoreID>
  <Disabled>2025-12-06T05:40:34.9136443+01:00</Disabled>
  <Name>sample string 1</Name>
  <SortOrder>3</SortOrder>
  <Value>sample string 2</Value>
</AddGalleryBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>