Create one failure set association

post

/fscmRestApi/resources/11.13.18.05/assetFailureSets/{FailureSetId}/child/failureAssociations

Request

Path Parameters
Header Parameters
  • 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".
  • 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.
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Asset ID
    Value 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.
  • Title: Asset Number
    Maximum Length: 255
    Name that uniquely identifies the asset associated to the failure set. This is a required attribute if ObjectTypeCode = ORA_ASSET and no AssetID is provided.
  • Title: Capture Required
    Maximum Length: 1
    Default Value: N
    Code 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.
  • Title: Disable
    Contains 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.
  • Title: Failure Set ID
    Value that uniquely identifies the failure set. The value is system generated and read-only.
  • Title: Item Category Code
    Maximum Length: 255
    Code that uniquely identifies the item category associated to the failure set. This is a required attribute if ObjectTypeCode = ORA_CATEGORY.
  • Number that identifies the Item Category.
  • Title: Item Category Name
    Maximum Length: 255
    Name 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.
  • Title: Item Number
    Maximum Length: 255
    Name that uniquely identifies the associated item. This is a required attribute if ObjectTypeCode = ORA_ITEM.
  • Maximum Length: 255
    Abbreviation that uniquely identifies the master organization in which the associated item is created. This attribute is required when ObjectTypeCode = ORA_ITEM.
  • Value that uniquely identifies the master organization in which the associated item is created. This attribute is required when ObjectTypeCode = ORA_ITEM.
  • Title: Object Type Code
    Maximum Length: 30
    Abbreviation 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.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : assetFailureSets-failureAssociations-item-response
Type: object
Show Source
  • Title: Active End Date
    Read Only: true
    Date when the failure set association becomes inactive. This attribute is read-only and is only set when the failureAssociationDisableFlag passes a value of true.
  • Title: Asset Description
    Read Only: true
    Maximum Length: 255
    Description 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.
  • Title: Asset ID
    Value 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.
  • Title: Asset Number
    Maximum Length: 255
    Name that uniquely identifies the asset associated to the failure set. This is a required attribute if ObjectTypeCode = ORA_ASSET and no AssetID is provided.
  • Title: Capture Required
    Maximum Length: 1
    Default Value: N
    Code 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.
  • Title: Meaning
    Read Only: true
    Maximum Length: 80
    Name 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.
  • Read Only: true
    Maximum Length: 64
    User who created the failure association. The application automatically sets this value during creation. This attribute is read-only.
  • Read Only: true
    Date when the failure association is created. The application automatically sets this value during creation. This attribute is read-only.
  • Title: Disable
    Contains 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.
  • Title: Failure Set ID
    Value that uniquely identifies the failure set. The value is system generated and read-only.
  • Title: Item Category Code
    Maximum Length: 255
    Code that uniquely identifies the item category associated to the failure set. This is a required attribute if ObjectTypeCode = ORA_CATEGORY.
  • Read Only: true
    Maximum Length: 240
    Description of the item category in a failure set association. This is a read-only attribute.
  • Number that identifies the Item Category.
  • Title: Item Category Name
    Maximum Length: 255
    Name 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.
  • Read Only: true
    Maximum Length: 255
    Description of the item in a failure set association. This is a read-only attribute.
  • Read Only: true
    Value that uniquely identifies the associated item. This is a required attribute if ObjectTypeCode = ORA_ITEM.
  • Title: Item Number
    Maximum Length: 255
    Name that uniquely identifies the associated item. This is a required attribute if ObjectTypeCode = ORA_ITEM.
  • Read Only: true
    Date when the user most recently updated the failure association. The application automatically sets this value during creation. This attribute is read-only.
  • Read Only: true
    Maximum Length: 64
    User who most recently updated the failure association. The application assigns a value to this attribute during creation. This attribute is read-only.
  • Read Only: true
    Maximum Length: 32
    Login 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
  • Maximum Length: 255
    Abbreviation that uniquely identifies the master organization in which the associated item is created. This attribute is required when ObjectTypeCode = ORA_ITEM.
  • Value that uniquely identifies the master organization in which the associated item is created. This attribute is required when ObjectTypeCode = ORA_ITEM.
  • Title: Object Type Code
    Maximum Length: 30
    Abbreviation 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.
  • Read Only: true
    Maximum Length: 240
    Meaning of the abbreviation that uniquely identifies the object type associated with a failure set. This is a read-only attribute.
  • Title: Set Association ID
    Read Only: true
    Value that uniquely identifies the failure set association. The value is system generated and read-only.
Back to Top