Update one resource
patch
/fscmRestApi/resources/11.13.18.05/supplyPlans/{PlanId}/child/Resources/{ResourceId}
Request
Path Parameters
-
PlanId(required): integer
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=
-
ResourceId(required): integer
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=
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
AvailableAllDayIndicator: integer
Value that indicates whether the resource is available 24 hours a day or not. Valid values are: 1 or 2. If 1, then resource is available 24 hours a day. If 2, then not.
-
AvailableAllDayResource: string
Maximum Length:
4000
Value that indicates whether the resource is available 24 hours a day or not. Valid values are: Yes or No. If Yes, then the resource is available 24 hours a day. If No, then the resource isn't available 24 hours a day. -
Bottleneck: string
Maximum Length:
4000
Value that indicates whether the resource is a bottleneck resource or not. Valid values are: 1 or 2. If 1, then resource is a bottleneck. If 2, then not. -
BottleneckIndicator: integer
Value that indicates whether the resource is a bottleneck or not. Valid values are: Yes or No. If Yes, then the resource is a bottleneck. If No, then the resource isn't a bottleneck.
-
Critical: integer
Value that indicates whether the resource is critical to honor resource capacity constraint or not. Valid values are: 1 or 2. If 1, then the resource is critical. If 2, then the resource isn't critical.
-
CriticalResource: string
Maximum Length:
4000
Value that indicates whether the resource is critical to honor the resource capacity constraint or not. Valid values are: Yes or No. If Yes, then the resource is critical. If No, then the resource isn't critical. -
EfficiencyPercent: number
Percentage of the actual output compared to the expected standard output.
-
PlanId: integer
(int64)
Unique identifier of the plan.
-
ResourceId: integer
(int64)
Value that uniquely identifies the resource.
-
UtilizationPercent: number
Percentage of how much a resource is utilized.
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 : supplyPlans-Resources-item-response
Type:
Show Source
object
-
AvailableAllDayIndicator: integer
Value that indicates whether the resource is available 24 hours a day or not. Valid values are: 1 or 2. If 1, then resource is available 24 hours a day. If 2, then not.
-
AvailableAllDayResource: string
Maximum Length:
4000
Value that indicates whether the resource is available 24 hours a day or not. Valid values are: Yes or No. If Yes, then the resource is available 24 hours a day. If No, then the resource isn't available 24 hours a day. -
Bottleneck: string
Maximum Length:
4000
Value that indicates whether the resource is a bottleneck resource or not. Valid values are: 1 or 2. If 1, then resource is a bottleneck. If 2, then not. -
BottleneckIndicator: integer
Value that indicates whether the resource is a bottleneck or not. Valid values are: Yes or No. If Yes, then the resource is a bottleneck. If No, then the resource isn't a bottleneck.
-
CapacityUnits: number
Read Only:
true
Number of units of this resource that are available. -
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created the resource. -
CreationDate: string
(date-time)
Read Only:
true
Date and time when the user created the resource. -
Critical: integer
Value that indicates whether the resource is critical to honor resource capacity constraint or not. Valid values are: 1 or 2. If 1, then the resource is critical. If 2, then the resource isn't critical.
-
CriticalResource: string
Maximum Length:
4000
Value that indicates whether the resource is critical to honor the resource capacity constraint or not. Valid values are: Yes or No. If Yes, then the resource is critical. If No, then the resource isn't critical. -
CurrencyCode: string
Read Only:
true
Maximum Length:4000
Code for the currency in which the resource cost is defined. -
DisableDate: string
(date)
Read Only:
true
Date when the resource is no longer available. -
EfficiencyPercent: number
Percentage of the actual output compared to the expected standard output.
-
LastUpdateDate: string
(date-time)
Read Only:
true
Date and time when the user most recently updated the resource. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who most recently updated the resource. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
NotesCount: integer
Read Only:
true
Value that's used to enable Create Note or Manage Notes. Valid values are 1 or 2. If 1, then Create Note is enabled. If 2, Manage Notes is enabled. The default value is 1. -
Organization: string
Read Only:
true
Maximum Length:4000
Abbreviation that identifies the organization. -
OrganizationId: integer
(int64)
Read Only:
true
Value that uniquely identifies the organization. -
PlanId: integer
(int64)
Unique identifier of the plan.
-
ResourceCode: string
Read Only:
true
Maximum Length:40
Abbreviation that identifies the resource. -
ResourceCost: number
Read Only:
true
Cost associated with using the resource. -
ResourceDescription: string
Read Only:
true
Maximum Length:240
Description of the resource. -
ResourceId: integer
(int64)
Value that uniquely identifies the resource.
-
ResourceName: string
Read Only:
true
Maximum Length:80
Name of the resource. -
ResourceType: integer
Read Only:
true
Value that identifies the type of resource. Valid values are 1 or 2. If 1, then the resource is a piece of equipment. If 2, then the resource is a crew. A list of accepted values is defined in the lookup type ORA_MSC_RESOURCE_TYPE. -
ResourceTypeName: string
Read Only:
true
Maximum Length:4000
Value that indicates the type of resource. Valid values are Equipment or Crew. -
ResourceUOM: string
Read Only:
true
Maximum Length:3
Unit of measure associated with the resource. -
RowModified: string
Read Only:
true
Text that identifies whether the resource record has been modified or is newly created in the simulation set. Valid values are Changed or Null. If it's Changed, then the resource record has been modified or newly created in the simulation set. If it's Null, then the resource record hasn't been modified or newly created in the simulation set. -
UnitOfMeasureDisplay: string
Read Only:
true
Maximum Length:4000
Unit of measure associated with the resource. -
UtilizationPercent: number
Percentage of how much a resource is utilized.
-
WorkAreaCode: string
Read Only:
true
Maximum Length:120
Abbreviation that identifies the work area. -
WorkAreaDescription: string
Read Only:
true
Maximum Length:240
Description of the work area. -
WorkAreaName: string
Read Only:
true
Maximum Length:80
Name of the work area. -
WorkCenterCode: string
Read Only:
true
Maximum Length:120
Abbreviation that identifies the work center. -
WorkCenterDescription: string
Read Only:
true
Maximum Length:240
Description of the work center. -
WorkCenterId: integer
(int64)
Read Only:
true
Value that uniquely identifies the work center. -
WorkCenterName: string
Read Only:
true
Maximum Length:80
Name of the work center.
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.