Create one failure chain
post
/fscmRestApi/resources/11.13.18.05/assetFailureSets/{FailureSetId}/child/failureChains
Request
Path Parameters
-
FailureSetId(required): integer(int64)
Value that uniquely identifies the failure set. The value is system generated and read-only.
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.
-
Upsert-Mode: string
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-
CauseCode: string
Title:
Cause CodeMaximum Length:30Abbreviation 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 IDValue that uniquely identifies the cause code. The value is system generated and read-only. -
FailureChainDisableFlag: boolean
Title:
DisableContains 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. -
FailureCode: string
Title:
Failure CodeMaximum Length:30Abbreviation 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 CodeValue that uniquely identifies the failure code. The value is system generated and read-only. -
FailureSetId: integer
(int64)
Title:
Failure Set IDValue that uniquely identifies the failure set. The value is system generated and read-only. -
ResolutionCode: string
Title:
Resolution CodeMaximum Length:30Abbreviation 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 IDValue that uniquely identifies the resolution code. 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:
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-failureChains-item-response
Type:
Show Source
object-
ActiveEndDate: string
(date-time)
Title:
Active End DateRead Only:trueDate 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 CodeRead Only:trueMaximum Length:255Category code of the cause code associated to chain. -
CauseCategoryName: string
Title:
Cause Category NameRead Only:trueMaximum Length:255Category name of the cause code associated to chain. -
CauseCode: string
Title:
Cause CodeMaximum Length:30Abbreviation 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 IDValue that uniquely identifies the cause code. The value is system generated and read-only. -
CauseDescription: string
Title:
Cause DescriptionRead Only:trueMaximum Length:255Description of the cause code associated to chain. -
CauseName: string
Title:
Cause NameRead Only:trueMaximum Length:255Name of the cause code associated to chain. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the failure chain. The application automatically sets this value during creation. This attribute is read-only. -
CreationDate: string
(date-time)
Read Only:
trueDate when the failure chain is created. The application automatically sets this value during creation. This attribute is read-only. -
FailureCategoryCode: string
Title:
Failure Category CodeRead Only:trueMaximum Length:255Category code of the failure code associated to chain. -
FailureCategoryName: string
Title:
Failure Category NameRead Only:trueMaximum Length:255Category name of the failure code associated to chain. -
FailureChainDisableFlag: boolean
Title:
DisableContains 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 IDRead Only:trueValue that uniquely identifies the failure chain. The value is system generated and read-only. -
FailureCode: string
Title:
Failure CodeMaximum Length:30Abbreviation 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 CodeValue that uniquely identifies the failure code. The value is system generated and read-only. -
FailureDescription: string
Title:
Failure DescriptionRead Only:trueMaximum Length:255Description of the failure code associated to chain. -
FailureName: string
Title:
Failure NameRead Only:trueMaximum Length:255Name of the failure code associated to chain. -
FailureSetId: integer
(int64)
Title:
Failure Set IDValue that uniquely identifies the failure set. The value is system generated and read-only. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate 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:
trueMaximum Length:64User 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:
trueMaximum Length:32Login 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:
LinksThe link relations associated with the resource instance. -
ResolutionCategoryCode: string
Title:
Resolution Category CodeRead Only:trueMaximum Length:255Category code of the resolution code associated to chain. -
ResolutionCategoryName: string
Title:
Resolution Category NameRead Only:trueMaximum Length:255Category name of the resolution code associated to chain. -
ResolutionCode: string
Title:
Resolution CodeMaximum Length:30Abbreviation 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 IDValue that uniquely identifies the resolution code. The value is system generated and read-only. -
ResolutionDescription: string
Title:
Resolution DescriptionRead Only:trueMaximum Length:255Description of the resolution code associated to chain. -
ResolutionName: string
Title:
Resolution NameRead Only:trueMaximum Length:255Name of the resolution code associated to chain.
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.