Update one failure chain
patch
/fscmRestApi/resources/11.13.18.05/assetFailureSets/{FailureSetId}/child/failureChains/{FailureChainId}
Request
Path Parameters
-
FailureChainId(required): integer(int64)
Value that uniquely identifies the failure chain. The value is system generated and read-only.
-
FailureSetId(required): integer(int64)
Value that uniquely identifies the failure set. 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
-
FailureChainDisableFlag: boolean
Title:
Disable
Contains one of the following values: true or false. If true, then the active end date of the failure cahin is set to the system date and time. -
FailureSetId: integer
(int64)
Title:
Failure Set ID
Value that uniquely identifies the failure set. The value is system generated and read-only.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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(required):
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-failureChains-item-response
Type:
Show Source
object
-
ActiveEndDate: string
(date-time)
Title:
Active End Date
Read Only:true
Date when the failure chain becomes inactive. This attribute is read-only and is only set when the failureChainDisableFlag passes a value of true. -
CauseCategoryCode: string
Title:
Cause Category Code
Read Only:true
Maximum Length:255
Category code of the cause code associated to chain. -
CauseCategoryName: string
Title:
Cause Category Name
Read Only:true
Maximum Length:255
Category name of the cause code associated to chain. -
CauseCode: string
Title:
Cause Code
Maximum Length:30
Abbreviation that uniquely identifies the cause of failure. The cause code is required and must be a valid code. The code must use uppercase letters and alphanumeric. -
CauseCodeId: integer
(int64)
Title:
Cause Code ID
Value that uniquely identifies the cause code. The value is system generated and read-only. -
CauseDescription: string
Title:
Cause Description
Read Only:true
Maximum Length:255
Description of the cause code associated to chain. -
CauseName: string
Title:
Cause Name
Read Only:true
Maximum Length:255
Name of the cause code associated to chain. -
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created the failure chain. The application automatically sets this value during creation. This attribute is read-only. -
CreationDate: string
(date-time)
Read Only:
true
Date when the failure chain is created. The application automatically sets this value during creation. This attribute is read-only. -
FailureCategoryCode: string
Title:
Failure Category Code
Read Only:true
Maximum Length:255
Category code of the failure code associated to chain. -
FailureCategoryName: string
Title:
Failure Category Name
Read Only:true
Maximum Length:255
Category name of the failure code associated to chain. -
FailureChainDisableFlag: boolean
Title:
Disable
Contains one of the following values: true or false. If true, then the active end date of the failure cahin is set to the system date and time. -
FailureChainId: integer
(int64)
Title:
Failure Chain ID
Read Only:true
Value that uniquely identifies the failure chain. The value is system generated and read-only. -
FailureCode: string
Title:
Failure Code
Maximum Length:30
Default Value:if (FailureCodeVA.first()!= null ) { return FailureCodeVA.first().getAttribute("ConditionEventCode"); }
Abbreviation that uniquely identifies the failure mode. The failure code is required and must be a valid code. The code must use uppercase letters and alphanumeric. -
FailureCodeId: integer
(int64)
Title:
Failure Code
Value that uniquely identifies the failure code. The value is system generated and read-only. -
FailureDescription: string
Title:
Failure Description
Read Only:true
Maximum Length:255
Description of the failure code associated to chain. -
FailureName: string
Title:
Failure Name
Read Only:true
Maximum Length:255
Name of the failure code associated to chain. -
FailureSetId: integer
(int64)
Title:
Failure Set ID
Value that uniquely identifies the failure set. The value is system generated and read-only. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the user most recently updated the failure chain. The application automatically sets this value during creation. This attribute is read-only. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
User who most recently updated the failure chain. The application assigns a value to this attribute during creation. This attribute is read-only. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
Login that the user used when updating the failure chain. The application assigns a value to this attribute during creation. This attribute is read-only. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ResolutionCategoryCode: string
Title:
Resolution Category Code
Read Only:true
Maximum Length:255
Category code of the resolution code associated to chain. -
ResolutionCategoryName: string
Title:
Resolution Category Name
Read Only:true
Maximum Length:255
Category name of the resolution code associated to chain. -
ResolutionCode: string
Title:
Resolution Code
Maximum Length:30
Abbreviation that uniquely identifies the manner in which the failure was resolved. The resolution code is required and must be a valid code. The code must use uppercase letters and alphanumeric. -
ResolutionCodeId: number
Title:
Resolution Code ID
Value that uniquely identifies the resolution code. The value is system generated and read-only. -
ResolutionDescription: string
Title:
Resolution Description
Read Only:true
Maximum Length:255
Description of the resolution code associated to chain. -
ResolutionName: string
Title:
Resolution Name
Read Only:true
Maximum Length:255
Name of the resolution code associated to chain.
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.