POST api/restriction/{id}/stores

Save a list of restriction stores

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Restriction Identifier

globally unique identifier

Required

Body Parameters

List of restriction stores to save

Collection of RestrictionStore
NameDescriptionTypeAdditional information
ID

integer

None.

RestrictionStoreGuid

globally unique identifier

None.

RestrictionStoreIdentifier

Collection of byte

None.

RestrictionGuid

globally unique identifier

None.

RestrictionIdentifier

Restriction Identifier

Collection of byte

None.

ItemGroupGuid

globally unique identifier

None.

ItemGroupIdentifier

Item Group Identifier

Collection of byte

None.

StoreID

Specify the store that this restriction applies to. 0 if all

integer

None.

InvertRestricted

Future Use

integer

None.

Inactive

Restriction store is inactive

boolean

None.

Updated

Last time restriction store was updated

date

None.

ItemGroupName

string

Relation. This field may not always be loaded or used for updates.

StoreName

string

Relation. This field may not always be loaded or used for updates.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": 1,
    "restrictionStoreIdentifier": "QEA=",
    "restrictionIdentifier": "QEA=",
    "itemGroupIdentifier": "QEA=",
    "storeID": 2,
    "invertRestricted": 3,
    "inactive": true,
    "updated": "2025-06-14T07:00:36.9387892",
    "itemGroupName": "sample string 6",
    "storeName": "sample string 7"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRestrictionStore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Restrictions">
  <RestrictionStore>
    <ID>1</ID>
    <Inactive>true</Inactive>
    <InvertRestricted>3</InvertRestricted>
    <ItemGroupGuid i:nil="true" />
    <ItemGroupIdentifier>QEA=</ItemGroupIdentifier>
    <ItemGroupName>sample string 6</ItemGroupName>
    <RestrictionGuid i:nil="true" />
    <RestrictionIdentifier>QEA=</RestrictionIdentifier>
    <RestrictionStoreGuid i:nil="true" />
    <RestrictionStoreIdentifier>QEA=</RestrictionStoreIdentifier>
    <StoreID>2</StoreID>
    <StoreName>sample string 7</StoreName>
    <Updated>2025-06-14T07:00:36.9387892+00:00</Updated>
  </RestrictionStore>
  <RestrictionStore>
    <ID>1</ID>
    <Inactive>true</Inactive>
    <InvertRestricted>3</InvertRestricted>
    <ItemGroupGuid i:nil="true" />
    <ItemGroupIdentifier>QEA=</ItemGroupIdentifier>
    <ItemGroupName>sample string 6</ItemGroupName>
    <RestrictionGuid i:nil="true" />
    <RestrictionIdentifier>QEA=</RestrictionIdentifier>
    <RestrictionStoreGuid i:nil="true" />
    <RestrictionStoreIdentifier>QEA=</RestrictionStoreIdentifier>
    <StoreID>2</StoreID>
    <StoreName>sample string 7</StoreName>
    <Updated>2025-06-14T07:00:36.9387892+00:00</Updated>
  </RestrictionStore>
</ArrayOfRestrictionStore>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.