Create resources
post
/fscmRestApi/resources/11.13.18.05/standardOperations/{StandardOperationId}/child/StandardOperationResource
Request
Path Parameters
-
StandardOperationId(required): integer(int64)
Value that uniquely identifies the standard operation. It is a primary key that the application generates when it creates the standard operation.
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
-
AssignedUnits: number
Title:
Units Assigned
Default Value:1
Number of resource units the application assigns to perform the operation. -
BasisType: string
Title:
Basis
Maximum Length:30
Default Value:1
Indicates whether the resource usage is fixed (i.e. usage per lot produced) or variable (i.e. usage per item produced). A list of accepted values is defined in the lookup type EGP_BOM_BASIS_TYPE. -
ChargeType: string
Title:
Charge Type
Maximum Length:30
Indicates how the resource is charged during work execution. A list of accepted values is defined in the lookup type ORA_WIS_CHARGE_TYPE. -
EquipmentProfileCode: string
Maximum Length:
255
Abbreviation that identifies the equipment profile associated with the standard operations resource. This attribute is associated with a feature that requires opt in. -
EquipmentProfileId: integer
(int64)
Title:
Equipment Profile
Value that uniquely identifies the equipment profile associated with the standard operations resource. This attribute is associated with a feature that requires opt in. -
InverseUsageRate: number
Title:
Inverse Usage
Default Value:1
Resource usage that the plant uses to make each unit of the item. This value is the inverse of the usage rate. The application uses this inverse value when the resource usage rate is a fraction, but the inverse of this rate is an integer. -
PrincipalFlag(required): boolean
Title:
Principal
Maximum Length:1
Contains one of the following values: true or false. If true, then this resource is the principal resource among a group of simultaneous resources. If false, then this resource is not the principal resource. At least one of the simultaneous resources must be a principal resource. The default value is false. -
ProfileCode: string
Maximum Length:
255
Abbreviation that identifies the job profile associated with the standard operation resource. This attribute is associated with a feature that requires opt in. -
ProfileId: integer
(int64)
Value that uniquely identifies the job profile associated with the standard operation resource. This attribute is associated with a feature that requires opt in.
-
ResourceActivityCode: string
Title:
Activity
Maximum Length:30
Abbreviation that Indicates the activity this production resource is going to perform at this operation. A list of accepted values is defined in the lookup type ORA_WIS_RESOURCE_ACTIVITY. -
ResourceCode(required): string
Title:
Resource Code
Maximum Length:30
Abbreviation that identifies the resource. -
ResourceId(required): integer
(int64)
Title:
Resource
Value that uniquely identifies the production resource. It is a primary key that the application generates when it creates the production resource. -
ResourceSequenceNumber(required): number
Title:
Sequence
Number that the application uses to determine the step in the sequence it must use to make sure resources work together correctly to finish the operation. If multiple resource lines include the same resource sequence number, then the application schedules them to occur at the same time. -
ScheduledIndicator(required): string
Title:
Scheduled
Maximum Length:30
Value that indicates if this resource is scheduled or not. A list of accepted values is defined in the lookup type ORA_WIS_RESOURCE_SCHEDULE. -
StandardOperationAlternateResource: array
Alternative Resources
Title:
Alternative Resources
The Alternative Resources resource manages alternative resources that the standard operation uses. -
StandardOperationResourceAttachment: array
Attachments for Resources
Title:
Attachments for Resources
The Attachments for Resources resource manages attachments that contain details about the standard operation resource. -
StandardOperationResourceDFF: array
Flexfields for Resources
Title:
Flexfields for Resources
The Flexfields for Resources resource manages descriptive flexfields that contain details about the standard operation resource. -
UsageRate: number
Title:
Usage
Default Value:1
Resource usage that the plant requires to make each unit of the item.
Nested Schema : Alternative Resources
Type:
array
Title:
Alternative Resources
The Alternative Resources resource manages alternative resources that the standard operation uses.
Show Source
Nested Schema : Attachments for Resources
Type:
array
Title:
Attachments for Resources
The Attachments for Resources resource manages attachments that contain details about the standard operation resource.
Show Source
Nested Schema : Flexfields for Resources
Type:
array
Title:
Flexfields for Resources
The Flexfields for Resources resource manages descriptive flexfields that contain details about the standard operation resource.
Show Source
Nested Schema : standardOperations-StandardOperationResource-StandardOperationAlternateResource-item-post-request
Type:
Show Source
object
-
AssignedUnits: number
Title:
Units Assigned
Number of resource units the application assigns to perform the operation for the alternative resource. -
InverseUsageRate: number
Title:
Inverse Usage
Resource usage that the plant uses to make each unit of the item for the alternative resource. This value is the inverse of the usage rate. The application uses this inverse value when the usage rate for the alternative resource is a fraction, but the inverse of this rate is an integer. -
PriorityRanking: integer
Title:
Priority
Priority ranking of the alternative resource to use in place of the primary resource. -
ResourceCode: string
Title:
Alternate Resources
Maximum Length:30
Abbreviation that identifies the alternative resource. -
ResourceId: integer
(int64)
Title:
Alternate Resource
Value that uniquely identifies the alternative resource. It is a primary key that the application generates when it creates the alternative resource. -
UsageRate: number
Title:
Usage
Resource usage that the plant requires to make each unit of the item for the alternative resource.
Nested Schema : schema
Type:
Show Source
object
-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker Id
Attribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document Id
Value that uniquely identifies the attachment of a standard operation. It is a primary key that the application generates when you attach a document to the standard operation. -
CategoryName: string
Title:
Category
Maximum Length:30
Category of the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
Type
Maximum Length:30
Default Value:FILE
Abbreviation that identifies the data type. -
Description: string
Title:
Description
Maximum Length:255
Description of the attachment. -
DmDocumentId: string
Maximum Length:
255
Value that uniquely identifies the attachment. -
DmFolderPath: string
Title:
Dm Folder Path
Maximum Length:1000
Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255
Number that identifies the current version of the attachment. -
DownloadInfo: string
Title:
DownloadInfo
JSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status Code
Abbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status Message
Error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration Date
Date when the contents in the attachment expire. -
FileContents: string
(byte)
Title:
File Contents
Contents of the attachment. -
FileName: string
Title:
File Name
Maximum Length:2048
File name of the attachment. -
FileUrl: string
Title:
File Url
URL (Uniform Resource Locator) that locates the attachment. -
PostProcessingAction: string
Title:
PostProcessingAction
Name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
Title
Title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content Type
Content type of the attachment. -
UploadedFileLength: integer
Title:
File Size
Length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File Name
Name of the attachment file. -
UploadedText: string
Title:
Uploaded Text
Text of the attachment. -
Uri: string
Title:
Uri
Maximum Length:4000
URI (Uniform Resource Identifier) that identifies the attachment. -
Url: string
Title:
Url
Maximum Length:4000
URL (Uniform Resource Locator) of the attachment.
Nested Schema : schema
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:80
Descriptive flexfield context name for standard operation resources. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
-
Discriminator: string
This is a transient attribute. The value of this attribute will always be blank. This attribute is not currently used.
-
StdOperationResourceId: integer
(int64)
Value that uniquely identifies the standard operation resource. It is a primary key that the application generates when it creates the standard operation resource.
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 : standardOperations-StandardOperationResource-item-response
Type:
Show Source
object
-
AlternateResourcesExistFlag: boolean
Read Only:
true
Contains one of the following values: true or false. If true, then alternative resources are available. If false, then alternative resources are not available. This attribute does not have a default value. -
AssignedUnits: number
Title:
Units Assigned
Default Value:1
Number of resource units the application assigns to perform the operation. -
BasisType: string
Title:
Basis
Maximum Length:30
Default Value:1
Indicates whether the resource usage is fixed (i.e. usage per lot produced) or variable (i.e. usage per item produced). A list of accepted values is defined in the lookup type EGP_BOM_BASIS_TYPE. -
ChargeType: string
Title:
Charge Type
Maximum Length:30
Indicates how the resource is charged during work execution. A list of accepted values is defined in the lookup type ORA_WIS_CHARGE_TYPE. -
CostedFlag: boolean
Title:
Costing enabled
Read Only:true
Maximum Length:1
Contains one of the following values: true or false. If true, then consider resource costs when costing the work order. If false, then do not consider these costs. The default value is false. -
EquipmentProfileCode: string
Maximum Length:
255
Abbreviation that identifies the equipment profile associated with the standard operations resource. This attribute is associated with a feature that requires opt in. -
EquipmentProfileId: integer
(int64)
Title:
Equipment Profile
Value that uniquely identifies the equipment profile associated with the standard operations resource. This attribute is associated with a feature that requires opt in. -
InactiveDate: string
(date)
Title:
Inactive On
Read Only:true
Date when the standard operation resource isn't valid. -
InverseUsageRate: number
Title:
Inverse Usage
Default Value:1
Resource usage that the plant uses to make each unit of the item. This value is the inverse of the usage rate. The application uses this inverse value when the resource usage rate is a fraction, but the inverse of this rate is an integer. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrganizationId: integer
(int64)
Read Only:
true
Value that uniquely identifies the inventory organization that the application enables for manufacturing. It is a primary key that the application generates when it creates the inventory organization. -
PrincipalFlag: boolean
Title:
Principal
Maximum Length:1
Contains one of the following values: true or false. If true, then this resource is the principal resource among a group of simultaneous resources. If false, then this resource is not the principal resource. At least one of the simultaneous resources must be a principal resource. The default value is false. -
ProfileCode: string
Maximum Length:
255
Abbreviation that identifies the job profile associated with the standard operation resource. This attribute is associated with a feature that requires opt in. -
ProfileId: integer
(int64)
Value that uniquely identifies the job profile associated with the standard operation resource. This attribute is associated with a feature that requires opt in.
-
ResourceActivityCode: string
Title:
Activity
Maximum Length:30
Abbreviation that Indicates the activity this production resource is going to perform at this operation. A list of accepted values is defined in the lookup type ORA_WIS_RESOURCE_ACTIVITY. -
ResourceActivityName: string
Read Only:
true
Maximum Length:255
Indicates the name of the activity this production resource is going to perform at this operation. A list of accepted values is defined in the lookup type ORA_WIS_RESOURCE_ACTIVITY. -
ResourceCode: string
Title:
Resource Code
Maximum Length:30
Abbreviation that identifies the resource. -
ResourceDescription: string
Title:
Description
Read Only:true
Maximum Length:240
Description of the resource. -
ResourceId: integer
(int64)
Title:
Resource
Value that uniquely identifies the production resource. It is a primary key that the application generates when it creates the production resource. -
ResourceName: string
Title:
Name
Read Only:true
Maximum Length:80
Name of the resource. -
ResourceSequenceNumber: number
Title:
Sequence
Number that the application uses to determine the step in the sequence it must use to make sure resources work together correctly to finish the operation. If multiple resource lines include the same resource sequence number, then the application schedules them to occur at the same time. -
ResourceType: string
Title:
Type
Read Only:true
Maximum Length:30
Category of the resource. Values include Labor or Equipment. -
ScheduledIndicator: string
Title:
Scheduled
Maximum Length:30
Value that indicates if this resource is scheduled or not. A list of accepted values is defined in the lookup type ORA_WIS_RESOURCE_SCHEDULE. -
StandardOperationAlternateResource: array
Alternative Resources
Title:
Alternative Resources
The Alternative Resources resource manages alternative resources that the standard operation uses. -
StandardOperationCode: string
Title:
Code
Read Only:true
Maximum Length:30
Abbreviation that identifies the standard operation. -
StandardOperationId: integer
(int64)
Read Only:
true
Value that uniquely identifies the standard operation. It is a primary key that the application generates when it creates the standard operation. -
StandardOperationName: string
Title:
Name
Read Only:true
Maximum Length:120
Name of the standard operation. -
StandardOperationResourceAttachment: array
Attachments for Resources
Title:
Attachments for Resources
The Attachments for Resources resource manages attachments that contain details about the standard operation resource. -
StandardOperationResourceDFF: array
Flexfields for Resources
Title:
Flexfields for Resources
The Flexfields for Resources resource manages descriptive flexfields that contain details about the standard operation resource. -
StandardOperationResourceId: integer
(int64)
Read Only:
true
Value that uniquely identifies the standard operation resource. It is a primary key that the application generates when it creates the resource. -
UnitOfMeasure: string
Title:
UOM Name
Read Only:true
Maximum Length:25
Unit of measure that the resource uses. -
UOMCode: string
Title:
UOM
Read Only:true
Maximum Length:3
Abbreviation that identifies the unit of measure that the resource uses. -
UsageRate: number
Title:
Usage
Default Value:1
Resource usage that the plant requires to make each unit of the item. -
WorkAreaCode: string
Title:
Code
Read Only:true
Maximum Length:30
Abbreviation that identifies the work area. -
WorkAreaDescription: string
Title:
Description
Read Only:true
Maximum Length:240
Description of the work area. -
WorkAreaId: integer
(int64)
Read Only:
true
Value that uniquely identifies the work area. It is a primary key that the application generates when it creates the work area. -
WorkAreaName: string
Title:
Name
Read Only:true
Maximum Length:80
Name of the work area. -
WorkCenterCode: string
Title:
Code
Read Only:true
Maximum Length:30
Abbreviation that identifies the work center. -
WorkCenterDescription: string
Title:
Description
Read Only:true
Maximum Length:240
Description of the work center. -
WorkCenterId: integer
(int64)
Title:
Work Center
Read Only:true
Value that uniquely identifies the work center. It is a primary key that the application generates when it creates the work center. -
WorkCenterName: string
Title:
Name
Read Only:true
Maximum Length:120
Name of the work center.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Alternative Resources
Type:
array
Title:
Alternative Resources
The Alternative Resources resource manages alternative resources that the standard operation uses.
Show Source
Nested Schema : Attachments for Resources
Type:
array
Title:
Attachments for Resources
The Attachments for Resources resource manages attachments that contain details about the standard operation resource.
Show Source
Nested Schema : Flexfields for Resources
Type:
array
Title:
Flexfields for Resources
The Flexfields for Resources resource manages descriptive flexfields that contain details about the standard operation resource.
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 : standardOperations-StandardOperationResource-StandardOperationAlternateResource-item-response
Type:
Show Source
object
-
AssignedUnits: number
Title:
Units Assigned
Number of resource units the application assigns to perform the operation for the alternative resource. -
CostedFlag: boolean
Title:
Costing enabled
Read Only:true
Maximum Length:1
Contains one of the following values: true or false. If true, then consider resource costs when costing the work order. If false, then do not consider these costs. The default value is false. -
InactiveDate: string
(date)
Title:
Inactive On
Read Only:true
Date when the standard operation alternate resource isn't valid. -
InverseUsageRate: number
Title:
Inverse Usage
Resource usage that the plant uses to make each unit of the item for the alternative resource. This value is the inverse of the usage rate. The application uses this inverse value when the usage rate for the alternative resource is a fraction, but the inverse of this rate is an integer. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PriorityRanking: integer
Title:
Priority
Priority ranking of the alternative resource to use in place of the primary resource. -
ResourceCode: string
Title:
Alternate Resources
Maximum Length:30
Abbreviation that identifies the alternative resource. -
ResourceDescription: string
Title:
Description
Read Only:true
Maximum Length:240
Description of the alternative resource. -
ResourceId: integer
(int64)
Title:
Alternate Resource
Value that uniquely identifies the alternative resource. It is a primary key that the application generates when it creates the alternative resource. -
ResourceName: string
Title:
Name
Read Only:true
Maximum Length:80
Name of the alternative resource. -
ResourceType: string
Title:
Type
Read Only:true
Maximum Length:30
Category of the alternative resource. Values include Labor or Equipment. -
StandardOperationAlternateResourceId: integer
(int64)
Read Only:
true
Value that uniquely identifies the alternative resource of a standard operation. It is a primary key that the application generates when it creates the alternative resource. -
StandardOperationResourceId: integer
(int64)
Read Only:
true
Value that uniquely identifies the resource that the standard operation uses. It is a primary key that the application generates when it creates the resource. -
UnitOfMeasure: string
Read Only:
true
Maximum Length:255
Unit of measure that the alternate resource uses. -
UOMCode: string
Read Only:
true
Maximum Length:3
Abbreviation that identifies the unit of measure that the alternate resource uses. -
UsageRate: number
Title:
Usage
Resource usage that the plant requires to make each unit of the item for the alternative resource.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : standardOperations-StandardOperationResource-StandardOperationResourceAttachment-item-response
Type:
Show Source
object
-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker Id
Attribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document Id
Value that uniquely identifies the attachment of a standard operation. It is a primary key that the application generates when you attach a document to the standard operation. -
CategoryName: string
Title:
Category
Maximum Length:30
Category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:255
User who created the resource attachment. -
CreatedByUserName: string
Title:
Created By User Name
Read Only:true
Login that the user used when creating the attachment. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
Date when the user created the resource attachment record. -
DatatypeCode: string
Title:
Type
Maximum Length:30
Default Value:FILE
Abbreviation that identifies the data type. -
Description: string
Title:
Description
Maximum Length:255
Description of the attachment. -
DmDocumentId: string
Maximum Length:
255
Value that uniquely identifies the attachment. -
DmFolderPath: string
Title:
Dm Folder Path
Maximum Length:1000
Folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255
Number that identifies the current version of the attachment. -
DownloadInfo: string
Title:
DownloadInfo
JSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status Code
Abbreviation that identifies the error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status Message
Error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration Date
Date when the contents in the attachment expire. -
FileContents: string
(byte)
Title:
File Contents
Contents of the attachment. -
FileName: string
Title:
File Name
Maximum Length:2048
File name of the attachment. -
FileUrl: string
Title:
File Url
URL (Uniform Resource Locator) that locates the attachment. -
FileWebImage: string
(byte)
Title:
File Web Image
Read Only:true
The base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update Date
Read Only:true
Date and time when the user most recently updated the document that is attached to the standard operation resource. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:255
User who updated the document that is attached to the standard operation resource. -
LastUpdatedByUserName: string
Title:
Last Updated By User
Read Only:true
Login that the user used when updating the document that is attached to the standard operation resource. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingAction
Name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
Title
Title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content Type
Content type of the attachment. -
UploadedFileLength: integer
Title:
File Size
Length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File Name
Name of the attachment file. -
UploadedText: string
Title:
Uploaded Text
Text of the attachment. -
Uri: string
Title:
Uri
Maximum Length:4000
URI (Uniform Resource Identifier) that identifies the attachment. -
Url: string
Title:
Url
Maximum Length:4000
URL (Uniform Resource Locator) of the attachment. -
UserName: string
Title:
User Name
Read Only:true
Maximum Length:255
Login that the user used when adding or modifying the resource attachment.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : standardOperations-StandardOperationResource-StandardOperationResourceDFF-item-response
Type:
Show Source
object
-
__FLEX_Context: string
Title:
Context Segment
Maximum Length:80
Descriptive flexfield context name for standard operation resources. -
__FLEX_Context_DisplayValue: string
Title:
Context Segment
-
Discriminator: string
This is a transient attribute. The value of this attribute will always be blank. This attribute is not currently used.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
StdOperationResourceId: integer
(int64)
Value that uniquely identifies the standard operation resource. It is a primary key that the application generates when it creates the standard operation resource.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- StandardOperationAlternateResource
-
Parameters:
- StandardOperationId:
$request.path.StandardOperationId
- StandardOperationResourceId:
$request.path.StandardOperationResourceId
The Alternative Resources resource manages alternative resources that the standard operation uses. - StandardOperationId:
- StandardOperationResourceAttachment
-
Parameters:
- StandardOperationId:
$request.path.StandardOperationId
- StandardOperationResourceId:
$request.path.StandardOperationResourceId
The Attachments for Resources resource manages attachments that contain details about the standard operation resource. - StandardOperationId:
- StandardOperationResourceDFF
-
Parameters:
- StandardOperationId:
$request.path.StandardOperationId
- StandardOperationResourceId:
$request.path.StandardOperationResourceId
The Flexfields for Resources resource manages descriptive flexfields that contain details about the standard operation resource. - StandardOperationId:
Examples
This example describes how to create resources.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/standardOperations/StandardOperationId/child/StandardOperationResource"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{ "OrganizationId" : 300100075212216, "ResourceSequenceNumber" : 10, "ResourceId" : 300100081228357, "PrincipalFlag" : false, "UsageRate" : 0.01, "BasisType" : "1", "UOMCode" : "HRS", "ChargeType" : "AUTOMATIC", "AssignedUnits" : 1, "ResourceActivityCode" : null, "ScheduledIndicator" : "YES", "CostedFlag" : true }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "OrganizationId" : 300100075212216, "ResourceSequenceNumber" : 10, "StandardOperationResourceId" : 300100084274254, "ResourceId" : 300100081228357, "ResourceCode" : "TECHL1", "ResourceName" : "Technician Level 1", "ResourceDescription" : "Technician Level 1", "ResourceType" : "LABOR", "WorkAreaId" : 300100081228354, "WorkAreaName" : "Tablets", "WorkAreaCode" : "TABLET", "WorkAreaDescription" : "Tablets Work Area", "WorkCenterId" : 300100081228366, "WorkCenterName" : "Tablet Packing", "WorkCenterCode" : "TPCK", "WorkCenterDescription" : "Tablet Packing", "StandardOperationName" : "Tablet Packing", "StandardOperationId" : 300100084274253, "StandardOperationCode" : "TPCK", "PrincipalFlag" : false, "UsageRate" : 0.01, "BasisType" : "1", "InverseUsageRate" : 100, "UOMCode" : "HRS", "UnitOfMeasure" : "HRS", "ChargeType" : "AUTOMATIC", "AssignedUnits" : 1, "ResourceActivityCode" : null, "ScheduledIndicator" : "YES", "AlternateResourcesExistFlag" : false, "CostedFlag" : true, "links" : [ { ... }] }