Create grants
post
/fscmRestApi/resources/11.13.18.05/productManagementDataSecurities
Request
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
Actions: string
Value that indicates the privileges assigned to a user or group.
-
ChangeOrderNumber: string
Number that identifies the item change order used in a data grant.
-
Description: string
Description of the data security grant.
-
EndDate: string
(date)
Date when the data security grant is no longer applicable.
-
GrantId: string
Value that uniquely identifies the data grant.
-
InheritedFlag: boolean
Contains one of the following values: true or false. If true, then the data security grant is inherited. If false, then the data security grant isn't inherited. The default value is false.
-
InheritedItemClass: string
Name of the item class for the inherited data grant.
-
InstanceType: string
Type of data security grant.
-
ItemClass: string
Name of the item class used to identify the context of the data grant.
-
ItemEFFActions: string
Value that indicates the privileges assigned to a user or group for item extensible flexfields.
-
ItemEFFTranslationActions: string
Value that indicates the privileges assigned to a user or group for translated item extensible flexfields.
-
ItemNumber: string
Number that identifies the item used in a data grant.
-
ItemRevisionEFFActions: string
Value that indicates the privileges assigned to a user or group for item revision extensible flexfields.
-
ItemRevisionEFFTranslationActions: string
Value that indicates the privileges assigned to a user or group for translated item revision extensible flexfields.
-
ItemSupplierEFFActions: string
Value that indicates the privileges assigned to a user or group for item supplier extensible flexfields.
-
ItemSupplierEFFTranslationActions: string
Value that indicates the privileges assigned to a user or group for translated item supplier extensible flexfields.
-
Name: string
Name of the person or group in the data grant.
-
ObjectName(required): string
Name of the object for the data grant.
-
OrganizationCode: string
Abbreviation that identifies the organization for the data grant.
-
PmItemDetailsPVO: array
PmItemDetailsPVO
-
Principal: string
User or group for the data grant.
-
StartDate: string
(date)
Date from when the data grant is valid.
-
TradingPartnerItemNumber: string
Number that identifies the trading partner item in a data grant.
-
TradingPartnerItemType: string
Type of trading partner items.
-
TradingPartnerName: string
Name of trading partner in a data grant.
Nested Schema : productManagementDataSecurities-PmItemDetailsPVO-item-post-request
Type:
Show Source
object
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : productManagementDataSecurities-item-response
Type:
Show Source
object
-
Actions: string
Value that indicates the privileges assigned to a user or group.
-
ChangeOrderNumber: string
Number that identifies the item change order used in a data grant.
-
Description: string
Description of the data security grant.
-
EndDate: string
(date)
Date when the data security grant is no longer applicable.
-
GrantId: string
Value that uniquely identifies the data grant.
-
InheritedFlag: boolean
Contains one of the following values: true or false. If true, then the data security grant is inherited. If false, then the data security grant isn't inherited. The default value is false.
-
InheritedItemClass: string
Name of the item class for the inherited data grant.
-
InstanceType: string
Type of data security grant.
-
ItemClass: string
Name of the item class used to identify the context of the data grant.
-
ItemEFFActions: string
Value that indicates the privileges assigned to a user or group for item extensible flexfields.
-
ItemEFFTranslationActions: string
Value that indicates the privileges assigned to a user or group for translated item extensible flexfields.
-
ItemNumber: string
Number that identifies the item used in a data grant.
-
ItemRevisionEFFActions: string
Value that indicates the privileges assigned to a user or group for item revision extensible flexfields.
-
ItemRevisionEFFTranslationActions: string
Value that indicates the privileges assigned to a user or group for translated item revision extensible flexfields.
-
ItemSupplierEFFActions: string
Value that indicates the privileges assigned to a user or group for item supplier extensible flexfields.
-
ItemSupplierEFFTranslationActions: string
Value that indicates the privileges assigned to a user or group for translated item supplier extensible flexfields.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Name: string
Name of the person or group in the data grant.
-
ObjectName: string
Name of the object for the data grant.
-
OrganizationCode: string
Abbreviation that identifies the organization for the data grant.
-
PmItemDetailsPVO: array
PmItemDetailsPVO
-
Principal: string
User or group for the data grant.
-
StartDate: string
(date)
Date from when the data grant is valid.
-
TradingPartnerItemNumber: string
Number that identifies the trading partner item in a data grant.
-
TradingPartnerItemType: string
Type of trading partner items.
-
TradingPartnerName: string
Name of trading partner in a data grant.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : productManagementDataSecurities-PmItemDetailsPVO-item-response
Type:
Show Source
object
-
InventoryItemId: integer
(int64)
Read Only:
true
-
InventoryOrganizationId: integer
(int64)
Read Only:
true
-
ItemCatalogGroupId: integer
(int64)
Read Only:
true
-
ItemNumber: string
Read Only:
true
Maximum Length:300
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrganizationId: integer
(int64)
Read Only:
true
-
PublicFlag: boolean
Read Only:
true
Maximum Length:1
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- PmItemDetailsPVO
-
Parameters:
- productManagementDataSecuritiesUniqID:
$request.path.productManagementDataSecuritiesUniqID
- productManagementDataSecuritiesUniqID: