Get one resource instance
get
/fscmRestApi/resources/11.13.18.05/processWorkOrders/{processWorkOrdersUniqID}/child/ProcessWorkOrderResource/{ProcessWorkOrderResourceUniqID}/child/ResourceInstance/{WorkOrderOperationResourceInstanceId}
Request
Path Parameters
-
ProcessWorkOrderResourceUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Work Order Resources resource and used to uniquely identify an instance of Work Order Resources. The client should not generate the hash key value. Instead, the client should query on the Work Order Resources collection resource in order to navigate to a specific instance of Work Order Resources to get the hash key.
-
WorkOrderOperationResourceInstanceId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
processWorkOrdersUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Process Work Orders resource and used to uniquely identify an instance of Process Work Orders. The client should not generate the hash key value. Instead, the client should query on the Process Work Orders collection resource in order to navigate to a specific instance of Process Work Orders to get the hash key.
Query Parameters
-
dependency: string
This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2
Format: <attr1>=<val1>,<attr2>=<value2> -
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
-
Metadata-Context: string
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: string
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.
There's no request body for this operation.
Back to TopResponse
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 : processWorkOrders-ProcessWorkOrderResource-ResourceInstance-item-response
Type:
Show Source
object-
AssetId: integer
(int64)
Read Only:
trueIdentifier of the asset associated with the resource instance. -
AssetItemDescription: string
Title:
Item DescriptionRead Only:trueMaximum Length:240Description of the asset item. -
AssetNumber: string
Read Only:
trueMaximum Length:80Number of the assets associated with the resource instance. -
ChargedQuantity: number
Title:
Actual UsageRead Only:trueActual usage of the resource instance. -
CurrentRevision: string
Maximum Length:
255Value that uniquely identifies the current revision of the document item, which represents the current revision of the program file. -
Description: string
Read Only:
trueMaximum Length:240Description of the resource instance. -
EquipmentInstanceCode: string
Title:
IdentifierMaximum Length:80Abbreviation that identifies the equipment resource instance. -
EquipmentInstanceId: integer
(int64)
Value that uniquely identifies the equipment resource instance. It's a primary key that the application generates when it creates a equipment instance.
-
EquipmentInstanceName: string
Title:
NameRead Only:trueMaximum Length:120Name of the equipment resource instance. -
EquipmentParameterFileContent: string
(byte)
Read Only:
trueValue that uniquely identifies the parametric data and inspection characteristics stored in the equipment parameters flat file associated with the resource instance of the work order operation. -
EquipmentParameterFileName: string
Read Only:
trueMaximum Length:512Name of the equipment parameters flat file associated with the resource instance of the work order operation. -
InventoryItemId: integer
(int64)
Title:
Item NumberRead Only:trueIdentifier of the inventory item for the resource instance. -
ItemNumber: string
Read Only:
trueMaximum Length:300Item number of the resource instance. -
LaborInstanceCode: string
Title:
IdentifierMaximum Length:30Abbreviation that identifies the labor resource instance. -
LaborInstanceId: integer
(int64)
Value that uniquely identifies the labor resource instance. It's a primary key that the application generates when it creates a labor instance.
-
LaborInstanceName: string
Title:
NameRead Only:trueMaximum Length:360Name of the labor resource instance. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OrganizationId: integer
(int64)
Read Only:
trueValue that uniquely identifies the inventory organization that's enabled for manufacturing. It's a primary key of the inventory organization. -
PartyId: integer
(int64)
Title:
Party IDRead Only:trueIdentifier of the resource instance. -
PartyName: string
Title:
NameRead Only:trueMaximum Length:360Name of the resource instance. -
PartyNumber: string
Title:
Registry IDRead Only:trueMaximum Length:30Number that identifies the resource instance. -
PartyType: string
Title:
TypeRead Only:trueMaximum Length:30Type of the resource instance. -
PartyUsageCode: string
Title:
UsageRead Only:trueMaximum Length:30Code of party usage assigned to the party. -
PartyUsageMeaning: string
Read Only:
trueMaximum Length:255Meaning of the party usage assigned to the party. -
PartyUsgAssignmentId: integer
(int64)
Read Only:
trueUnique identifier for a party usage assignment. -
PersonId: integer
(int64)
Value that uniquely identifies a person in Human Capital Management.
-
PersonName: string
Read Only:
trueMaximum Length:255Name of a Worker in Human capital management. -
PersonNumber: string
Read Only:
trueMaximum Length:255Number that is assigned to each person in Human Capital Management. -
PrimaryPhoneNumber: string
Title:
Primary PhoneRead Only:trueMaximum Length:40Primary phone number of the resource instance. -
ProgramFileId: integer
(int64)
Value that uniquely identifies the document item assigned to the master organization that represents the name of the program file used by the equipment.
-
ProgramFileName: string
Maximum Length:
300Name of the program file associated with the automation equipment resource and used by the work order resource instance. -
ResourceInstanceDFF: array
Flexfields for Resource Instances
Title:
Flexfields for Resource InstancesThe Flexfields for Resource Instances resource manages descriptive flexfields that contain details about the resource instance. -
ResourceType: string
Read Only:
trueMaximum Length:255Type of the resource. Values include Labor or Equipment. -
WorkOrderId: integer
(int64)
Read Only:
trueValue that uniquely identifies the work order. It's a primary key that the application generates when it creates the work order. -
WorkOrderOperationId: integer
(int64)
Read Only:
trueValue that uniquely identifies the work order operation. It's a primary key that the application generates when it creates the work order operation. -
WorkOrderOperationResourceId: integer
(int64)
Value that uniquely identifies the resource of a work order operation. It's a primary key that the application generates when it creates the resource for the work order operation.
-
WorkOrderOperationResourceInstanceId: integer
(int64)
Value that uniquely identifies the resource instance of a work order operation resource. It's a primary key that the application generates when it creates the resource instance for the work order operation resource.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Flexfields for Resource Instances
Type:
arrayTitle:
Flexfields for Resource InstancesThe Flexfields for Resource Instances resource manages descriptive flexfields that contain details about the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed 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 : processWorkOrders-ProcessWorkOrderResource-ResourceInstance-ResourceInstanceDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:80Descriptive flexfield context name for work order operation resource instance. -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentDescriptive flexfield context display value for work order operation resource instance. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
WoOpResourceInstanceId: integer
(int64)
Value that uniquely identifies an output of a work order operation resource instance. It's a primary key that the application generates when it creates the work order operation resource instance.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- ResourceInstanceDFF
-
Parameters:
- ProcessWorkOrderResourceUniqID:
$request.path.ProcessWorkOrderResourceUniqID - WorkOrderOperationResourceInstanceId2:
$request.path.WorkOrderOperationResourceInstanceId2 - processWorkOrdersUniqID:
$request.path.processWorkOrdersUniqID
The Flexfields for Resource Instances resource manages descriptive flexfields that contain details about the resource instance. - ProcessWorkOrderResourceUniqID: