Update one failure set association
patch
/fscmRestApi/resources/11.13.18.05/assetFailureSets/{FailureSetId}/child/failureAssociations/{SetAssociationId}
Request
Path Parameters
-
FailureSetId(required): integer(int64)
Value that uniquely identifies the failure set. The value is system generated and read-only.
-
SetAssociationId(required): integer(int64)
Value that uniquely identifies the failure set association. The value is system generated and read-only.
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-
CaptureRequiredCode: string
Title:
Capture RequiredMaximum Length:1Default Value:NCode corresponding to one yes, no, or corrective only values. If yes, then a failure code, cause code, and resoluton code must be captured on a failure event instance before the associated work order can be completed. If corrective only, then a failure code, cause code, and resoluton code must be captured on a failure event instance before the associated work order can be completed if and only if the work order is of Work Order Type "Corrective". If no, then failure, cause, and resolution are not required to complete a work order. This attribute defaults to "No" if no value is passed. -
FailureAssociationDisableFlag: boolean
Title:
DisableContains one of the following values: true or false. If true, then the active end date of the failure association is set to the system date and time. -
FailureSetId: integer
(int64)
Title:
Failure Set IDValue that uniquely identifies the failure set. The value is system generated and read-only. -
ItemCategoryId: integer
Number that identifies the Item Category.
-
ObjectTypeCode: string
Title:
Object Type CodeMaximum Length:30Abbreviation that uniquely identifies the object type association to a failure set. The alphanumeric code is a required field. Values can be ORA_CATEGORY, ORA_ITEM, ORA_ASSET, or ORA_ALL.
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 : assetFailureSets-failureAssociations-item-response
Type:
Show Source
object-
ActiveEndDate: string
(date-time)
Title:
Active End DateRead Only:trueDate when the failure set association becomes inactive. This attribute is read-only and is only set when the failureAssociationDisableFlag passes a value of true. -
AssetDescription: string
Title:
Asset DescriptionRead Only:trueMaximum Length:255Description of the asset association to the failure set. This optional attribute provides a brief user-defined text providing information on the asset's use and characteristics. -
AssetId: integer
Title:
Asset IDValue that uniquely identifies the asset. The value is system generated and read-only. This is a required attribute if ObjectTypeCode = ORA_ASSET and no AssetNumber is provided. -
AssetNumber: string
Title:
Asset NumberMaximum Length:255Name that uniquely identifies the asset associated to the failure set. This is a required attribute if ObjectTypeCode = ORA_ASSET and no AssetID is provided. -
CaptureRequiredCode: string
Title:
Capture RequiredMaximum Length:1Default Value:NCode corresponding to one yes, no, or corrective only values. If yes, then a failure code, cause code, and resoluton code must be captured on a failure event instance before the associated work order can be completed. If corrective only, then a failure code, cause code, and resoluton code must be captured on a failure event instance before the associated work order can be completed if and only if the work order is of Work Order Type "Corrective". If no, then failure, cause, and resolution are not required to complete a work order. This attribute defaults to "No" if no value is passed. -
CaptureRequiredName: string
Title:
MeaningRead Only:trueMaximum Length:80Name corresponding to one yes, no, or corrective only values. If yes, then a failure code, cause code, and resoluton code must be captured on a failure event instance before the associated work order can be completed. If corrective only, then a failure code, cause code, and resoluton code must be captured on a failure event instance before the associated work order can be completed if and only if the work order is of Work Order Type "Corrective". If no, then failure, cause, and resolution are not required to complete a work order. This attribute defaults to "No" if no value is passed. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the failure association. The application automatically sets this value during creation. This attribute is read-only. -
CreationDate: string
(date-time)
Read Only:
trueDate when the failure association is created. The application automatically sets this value during creation. This attribute is read-only. -
FailureAssociationDisableFlag: boolean
Title:
DisableContains one of the following values: true or false. If true, then the active end date of the failure association is set to the system date and time. -
FailureSetId: integer
(int64)
Title:
Failure Set IDValue that uniquely identifies the failure set. The value is system generated and read-only. -
ItemCategoryCode: string
Title:
Item Category CodeMaximum Length:255Code that uniquely identifies the item category associated to the failure set. This is a required attribute if ObjectTypeCode = ORA_CATEGORY. -
ItemCategoryDescription: string
Read Only:
trueMaximum Length:240Description of the item category in a failure set association. This is a read-only attribute. -
ItemCategoryId: integer
Number that identifies the Item Category.
-
ItemCategoryName: string
Title:
Item Category NameMaximum Length:255Name of the item category association to the failure set. This optional attribute provides a brief user-defined text providing information on the item category's use and characteristics. -
ItemDescription: string
Read Only:
trueMaximum Length:255Description of the item in a failure set association. This is a read-only attribute. -
ItemId: integer
Read Only:
trueValue that uniquely identifies the associated item. This is a required attribute if ObjectTypeCode = ORA_ITEM. -
ItemNumber: string
Title:
Item NumberMaximum Length:255Name that uniquely identifies the associated item. This is a required attribute if ObjectTypeCode = ORA_ITEM. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate when the user most recently updated the failure association. The application automatically sets this value during creation. This attribute is read-only. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the failure association. The application assigns a value to this attribute during creation. This attribute is read-only. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32Login that the user used when updating the failure association. The application assigns a value to this attribute during creation. This attribute is read-only. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MasterOrganizationCode: string
Maximum Length:
255Abbreviation that uniquely identifies the master organization in which the associated item is created. This attribute is required when ObjectTypeCode = ORA_ITEM. -
MasterOrganizationId: integer
(int64)
Value that uniquely identifies the master organization in which the associated item is created. This attribute is required when ObjectTypeCode = ORA_ITEM.
-
ObjectTypeCode: string
Title:
Object Type CodeMaximum Length:30Abbreviation that uniquely identifies the object type association to a failure set. The alphanumeric code is a required field. Values can be ORA_CATEGORY, ORA_ITEM, ORA_ASSET, or ORA_ALL. -
ObjectTypeMeaning: string
Read Only:
trueMaximum Length:240Meaning of the abbreviation that uniquely identifies the object type associated with a failure set. This is a read-only attribute. -
SetAssociationId: integer
(int64)
Title:
Set Association IDRead Only:trueValue that uniquely identifies the failure set association. The value is system generated and read-only.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with 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.