POST api/restrictionGroup/{id}/items
Save list of Restriction Items
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Item Group Identifier |
globally unique identifier |
Required |
Body Parameters
List of restriction items to save
Collection of RestrictionItemName | Description | Type | Additional information |
---|---|---|---|
ID |
Restriction Item ID |
integer |
None. |
RestrictionItemGuid | globally unique identifier |
None. |
|
RestrictionItemIdentifier |
Identifier |
Collection of byte |
None. |
ItemGroupGuid | globally unique identifier |
None. |
|
ItemGroupIdentifier |
Item Group Identifier |
Collection of byte |
None. |
Restricted |
Whether item is restricted or not to be considered |
integer |
None. |
RestrictionItemType |
Type of restriction item |
RestrictionItemType |
None. |
ItemGuid | globally unique identifier |
None. |
|
ItemBinary | Collection of byte |
None. |
|
ItemInt | integer |
None. |
|
ItemString | string |
None. |
|
Inactive |
Restriction item is inactive |
boolean |
None. |
Updated |
Last time item was updated |
date |
None. |
ItemRelationText |
Description of the relation that is referenced via Restriction Item Type |
string |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
[ { "$id": "1", "id": 1, "restrictionItemIdentifier": "QEA=", "itemGroupIdentifier": "QEA=", "restricted": 1, "restrictionItemType": 2, "itemBinary": "QEA=", "itemInt": 1, "itemString": "sample string 3", "inactive": true, "updated": "2025-06-14T06:35:20.352877", "itemRelationText": "sample string 6" }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfRestrictionItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Restrictions"> <RestrictionItem> <ID>1</ID> <Inactive>true</Inactive> <ItemBinary>QEA=</ItemBinary> <ItemGroupGuid i:nil="true" /> <ItemGroupIdentifier>QEA=</ItemGroupIdentifier> <ItemGuid i:nil="true" /> <ItemInt>1</ItemInt> <ItemRelationText>sample string 6</ItemRelationText> <ItemString>sample string 3</ItemString> <Restricted>1</Restricted> <RestrictionItemGuid i:nil="true" /> <RestrictionItemIdentifier>QEA=</RestrictionItemIdentifier> <RestrictionItemType>2</RestrictionItemType> <Updated>2025-06-14T06:35:20.352877+00:00</Updated> </RestrictionItem> <RestrictionItem> <ID>1</ID> <Inactive>true</Inactive> <ItemBinary>QEA=</ItemBinary> <ItemGroupGuid i:nil="true" /> <ItemGroupIdentifier>QEA=</ItemGroupIdentifier> <ItemGuid i:nil="true" /> <ItemInt>1</ItemInt> <ItemRelationText>sample string 6</ItemRelationText> <ItemString>sample string 3</ItemString> <Restricted>1</Restricted> <RestrictionItemGuid i:nil="true" /> <RestrictionItemIdentifier>QEA=</RestrictionItemIdentifier> <RestrictionItemType>2</RestrictionItemType> <Updated>2025-06-14T06:35:20.352877+00:00</Updated> </RestrictionItem> </ArrayOfRestrictionItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.