Create one claim

post

/fscmRestApi/resources/11.13.18.05/assetWarrantyClaims

Request

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: Active End Date
    Date that indicates if a claim is disabled. This date is set by the disabled flag = true.
  • Title: Claim Adjustment Amount
    Default Value: 0
    Total amount of the adjustments to the claim total.
  • Title: Claim Assigned To ID
    Value that uniquely identifies the employee who is assigned to the claim.
  • Title: Claim Assigned To
    Maximum Length: 255
    Name of the employee who is assigned to the claim.
  • Title: Currency Conversion Rate
    Rate of a claim currency converstion.
  • Title: Currency Conversion Type
    Maximum Length: 30
    Type of a claim currency converstion.
  • Title: Currency Conversion Type Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the claim currency conversion type. A list of accepted values is defined in the lookup type . This attribute is optional to create the warranty claim.
  • Title: Claim Date
    Date of a warranty claim. This value is required.
  • Title: Claim Description
    Maximum Length: 240
    Detailed description of the claim.
  • Title: Claim Notes
    Maximum Length: 4000
    Notes of the warranty claim.
  • Title: Claim Reference
    Maximum Length: 120
    Reference of a warranty claim reimbursement.
  • Title: Reimbursement Amount
    Default Value: 0
    Total amount of the claim reimbursement.
  • Title: Reimbursement Type Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the type of claim reimbursement. A list of accepted values is defined in the lookup type ORA_CSE_WTY_CLAIM_REIMB_TYPE. This attribute is optional for creating the warranty claim.
  • Title: Claim Resolution Date
    Resolution Date of the warranty claim. This value is optional.
  • Title: Claim Status Code
    Maximum Length: 30
    Default Value: ORA_PENDING_REVIEW
    Abbreviation that uniquely identifies the claim status. A list of accepted values is defined in the lookup type ORA_CSE_WTY_CLAIMS_STATUS. This attribute is required to create the warranty claim.
  • Title: Claim Submit by Date
    Date in which you must submit a claim to the provider.
  • Title: Claim Type Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the claim type. A list of accepted values is defined in the lookup type ORA_CSE_WTY_CLAIMS_TYPE. This attribute is optional to create the warranty claim.
  • Title: Manually Created Indicator
    Maximum Length: 1
    Indicates if a claim is manually created or not.
  • Title: Object ID
    Value that uniquely identifies the the object for which the claim was created.
  • Title: Object Type Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the object for which the claim was created. A list of accepted values is defined in the lookup type ORA_CSE_WTY_CLAIM_OBJECT_TYPE. This attribute is required to create the warranty claim.
  • Title: Warranty Provider ID
    Value that uniquely identifies the warranty provider who provides warranty coverage.
  • Title: Hourly Rate
    Value for the hourly labor rate for the provider.
  • Title: Warranty Provider ID
    Maximum Length: 255
    Number that uniquely identifies the warranty provider who provides warranty coverage.
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 : assetWarrantyClaims-item-response
Type: object
Show Source
  • Title: Active End Date
    Date that indicates if a claim is disabled. This date is set by the disabled flag = true.
  • Title: Asset Description
    Read Only: true
    Maximum Length: 255
    Description of the asset.
  • Title: Asset ID
    Read Only: true
    Value that uniquely identifies an asset.
  • Title: Asset Number
    Read Only: true
    Maximum Length: 255
    Number that uniquely identifies an asset.
  • Title: Asset Serial Number
    Read Only: true
    Maximum Length: 255
    Serial number of the asset.
  • Title: Claim Adjustment Amount
    Default Value: 0
    Total amount of the adjustments to the claim total.
  • Title: Claim Assigned To ID
    Value that uniquely identifies the employee who is assigned to the claim.
  • Title: Claim Assigned To
    Maximum Length: 255
    Name of the employee who is assigned to the claim.
  • Title: Claim Currency
    Read Only: true
    Maximum Length: 255
    Name of the claim amount currency code.
  • Title: Claim Currency Code
    Read Only: true
    Maximum Length: 20
    Abbreviation that uniquely identifies the currency code of the claim amount.
  • Title: Currency Conversion Rate
    Rate of a claim currency converstion.
  • Title: Currency Conversion Type
    Maximum Length: 30
    Type of a claim currency converstion.
  • Title: Currency Conversion Type Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the claim currency conversion type. A list of accepted values is defined in the lookup type . This attribute is optional to create the warranty claim.
  • Title: Claim Date
    Date of a warranty claim. This value is required.
  • Title: Claim Description
    Maximum Length: 240
    Detailed description of the claim.
  • Title: Work Order Equipment Cost
    Read Only: true
    Default Value: 0
    Total amount of the equipment claimed for reimbursement in the claim.
  • Title: Claim ID
    Read Only: true
    Value that uniquely identifies the warranty claim. The application creates this value when it creates the claim.
  • Title: Work Order Material Cost
    Read Only: true
    Default Value: 0
    Total amount of the materials claimed for reimbursement in the claim.
  • Title: Claim Notes
    Maximum Length: 4000
    Notes of the warranty claim.
  • Title: Claim Number
    Read Only: true
    Maximum Length: 80
    Number that uniquely identifies the warranty claim. The application creates this value when it creates the claim.
  • Title: Claim Other Amount
    Read Only: true
    Default Value: 0
    Total amount of the other repairs claimed for reimbursement in the claim.
  • Title: Claim Reference
    Maximum Length: 120
    Reference of a warranty claim reimbursement.
  • Title: Reimbursement Amount
    Default Value: 0
    Total amount of the claim reimbursement.
  • Title: Reimbursement Type
    Read Only: true
    Maximum Length: 80
    Type of claim reimbursement.
  • Title: Reimbursement Type Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the type of claim reimbursement. A list of accepted values is defined in the lookup type ORA_CSE_WTY_CLAIM_REIMB_TYPE. This attribute is optional for creating the warranty claim.
  • Title: Claim Resolution Date
    Resolution Date of the warranty claim. This value is optional.
  • Title: Work Order Labor Cost
    Read Only: true
    Default Value: 0
    Total amount of the resources claimed for reimbursement in the claim.
  • Title: Claim Standard Repair Amount
    Read Only: true
    Default Value: 0
    Total amount of the standard repairs claimed for reimbursement in the claim.
  • Title: Claim Status
    Read Only: true
    Maximum Length: 80
    Status of a warranty claim.
  • Title: Claim Status Code
    Maximum Length: 30
    Default Value: ORA_PENDING_REVIEW
    Abbreviation that uniquely identifies the claim status. A list of accepted values is defined in the lookup type ORA_CSE_WTY_CLAIMS_STATUS. This attribute is required to create the warranty claim.
  • Title: Claim Submit by Date
    Date in which you must submit a claim to the provider.
  • Title: Submission Due In
    Read Only: true
    Value for the number of days to submit a claim to the provider.
  • Title: Claim Amount
    Read Only: true
    Default Value: 0
    Total amount of the claim.
  • Title: Claim Type
    Read Only: true
    Maximum Length: 80
    Type of a warranty claim.
  • Title: Claim Type Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the claim type. A list of accepted values is defined in the lookup type ORA_CSE_WTY_CLAIMS_TYPE. This attribute is optional to create the warranty claim.
  • Read Only: true
    Maximum Length: 64
    Login username of the user who created the record.
  • Read Only: true
    Date when the record was created.
  • Read Only: true
    Date when the record was updated.
  • Read Only: true
    Maximum Length: 64
    Login user name of the user who updated the record.
  • Links
  • Title: Manually Created Indicator
    Maximum Length: 1
    Indicates if a claim is manually created or not.
  • Title: Match Transaction Codes
    Read Only: true
    Maximum Length: 1
    Indicates if the claim entitlements were created only for cost transations with matching repair transaction coding to warranty contracts.
  • Title: Object ID
    Value that uniquely identifies the the object for which the claim was created.
  • Title: Object Type
    Read Only: true
    Maximum Length: 80
    Name of the object for which the claim was created.
  • Title: Object Type Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the object for which the claim was created. A list of accepted values is defined in the lookup type ORA_CSE_WTY_CLAIM_OBJECT_TYPE. This attribute is required to create the warranty claim.
  • Title: Organization Code
    Read Only: true
    Maximum Length: 18
    Abbreviation that uniquely identifies the work order organization.
  • Title: Organization ID
    Read Only: true
    Value that uniquely identifies the work order organization.
  • Title: Primary Reason for Repair Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that uniquely identifies the work order operation reason for repair code.
  • Title: Primary Reason for Repair
    Read Only: true
    Maximum Length: 240
    Name of the work order operation reason for repair code.
  • Title: Root Asset ID
    Read Only: true
    Value that uniquely identifies a root asset.
  • Title: Warranty Provider ID
    Value that uniquely identifies the warranty provider who provides warranty coverage.
  • Title: Hourly Rate
    Value for the hourly labor rate for the provider.
  • Title: Warranty Provider Name
    Read Only: true
    Maximum Length: 360
    Name of the warranty provider who provides warranty coverage.
  • Title: Warranty Provider ID
    Maximum Length: 255
    Number that uniquely identifies the warranty provider who provides warranty coverage.
  • Title: Work Order Equipment Cost
    Read Only: true
    Total cost of the equipment resources transacted in the work order.
  • Title: Work Order ID
    Read Only: true
    Value that uniquely identifies the work order associated to the warranty claim. This attribute is read-only.
  • Title: Work Order Labor Cost
    Read Only: true
    Total cost of the people resources transacted in the work order.
  • Title: Work Order Material Cost
    Read Only: true
    Total cost of the materials transacted in the work order.
  • Title: Work Order Number
    Read Only: true
    Maximum Length: 120
    Number that uniquely identifies the work order for the claim.
  • Title: Work Order Status
    Read Only: true
    Maximum Length: 120
    Name of the work order status.
  • Title: Work Order Status Code
    Read Only: true
    Maximum Length: 30
    Abbreviation that uniquely identifies the work order status.
  • Title: Work Order Total Cost
    Read Only: true
    Total cost of the work order.
Back to Top

Examples

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/assetWarrantyClaims"

Example 1

This example describes how to create a warranty claim using a work order and a warranty provider number reference.

Example 1 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 updates.

{
"ObjectTypeCode": "ORA_WORK_ORDER",
"ObjectId": 300100571254590,
 "WarrantyProviderNumber": "44111"
}

Example 1 Response Body

The following example includes the contents of the response body in JSON format:

{
    "ClaimId": 300100573922592,
    "ClaimNumber": "300100573922592",
    "ClaimDate": "2019-12-11",
    "ObjectTypeCode": "ORA_WORK_ORDER",
    "ObjectType": "Work order",
    "ObjectId": 64448,
    "ClaimStatusCode": "ORA_PENDING_REVIEW",
    "ClaimStatus": "Pending review",
    "ClaimTypeCode": null,
    "ClaimType": null,
    "ManuallyCreatedFlag": true,
    "WorkOrderNumber": "MNTALM1031",
    "WorkOrderStatusCode": "ORA_COMPLETED",
    "WorkOrderStatus": "Completed",
    "OrganizationId": 300100113363336,
    "OrganizationCode": "MNTALM",
    "AssetId": 300100185519885,
    "AssetNumber": "Asset_01",
    "AssetDescription": "Asset_01",
    "AssetSerialNumber": null,
    "RootAssetId": null,
    "MatchToTransactionCodeFlag": null,
    "PrimaryReasonForRepairCode": null,
    "PrimaryReasonForRepairName": null,
    "WarrantyProviderId": 999992000329389,
    "WarrantyProviderNumber": "44111",
    "WarrantyProviderName": "CORNER BAKERY INC",
    "WarrantyProviderLaborRate": null,
    "ClaimSubmitByNumberOfDays": null,
    "ClaimSubmitByDate": "2023-03-23",
    "ClaimAssignedId": null,
    "ClaimAssignedToName": null,
    "WorkOrderMaterialCost": 0,
    "WorkOrderLaborCost": 0,
    "WorkOrderEquipmentCost": 0,
    "WorkOrderTotalCost": 0,
    "ClaimMaterialAmount": 0,
    "ClaimResourceAmount": 0,
    "ClaimEquipmentAmount": 0,
    "ClaimStandardRepairAmount": 0,
    "ClaimOtherAmount": 0,
    "ClaimAdjustmentAmount": 0,
    "ClaimTotalAmount": 0,
    "ClaimCurrencyCode": null,
    "ClaimCurrency": null,
    "ClaimDescription": "300100573922592",
    "ClaimResolutionDate": null,
    "ClaimReference": null,
    "ClaimReimbursementTypeCode": null,
    "ClaimReimbursementType": null,
    "ClaimReimbursementAmount": 0,
    "ClaimCurrencyConversionTypeCode": null,
    "ClaimCurrencyConversionType": null,
    "ClaimCurrencyConversionRate": null,
    "ClaimNotes": null,
    "ActiveEndDate": null,
    "CreatedBy": "MNT_QA",
    "CreationDate": "2023-03-23T18:46:29+00:00",
    "LastUpdatedBy": "MNT_QA",
    "LastUpdateDate": "2023-03-23T18:46:29.002+00:00",
    "links": [
        {
            "rel": "self",
            "href": "http://servername/fscmRestApi/resources/version/assetWarrantyClaims/300100573922592",
            "name": "assetWarrantyClaims",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
            }
        },
        {
            "rel": "canonical",
            "href": "http://servername/fscmRestApi/resources/version/assetWarrantyClaims/300100573922592",
            "name": "assetWarrantyClaims",
            "kind": "item"
        }
    ]
}

Example 2

This example describes how to create a warranty claim using a work order and a warranty provider ID reference.

Example 2 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 updates.

{
"ObjectTypeCode": "ORA_WORK_ORDER",
"ObjectId": 300100571254590,
"WarrantyProviderId": 999992000322154,
"ClaimStatusCode": "ORA_PENDING_REVIEW",
"ClaimAssignedId": 123456
}

Example 2 Response Body

The following example includes the contents of the response body in JSON format:

{
    "ClaimId": 300100573922592,
    "ClaimNumber": "300100573922592",
    "ClaimDate": "2019-12-11",
    "ObjectTypeCode": "ORA_WORK_ORDER",
    "ObjectType": "Work order",
    "ObjectId": 64448,
    "ClaimStatusCode": "ORA_PENDING_REVIEW",
    "ClaimStatus": "Pending review",
    "ClaimTypeCode": null,
    "ClaimType": null,
    "ManuallyCreatedFlag": true,
    "WorkOrderNumber": "MNTALM1031",
    "WorkOrderStatusCode": "ORA_COMPLETED",
    "WorkOrderStatus": "Completed",
    "OrganizationId": 300100113363336,
    "OrganizationCode": "MNTALM",
    "AssetId": 300100185519885,
    "AssetNumber": "Asset_01",
    "AssetDescription": "Asset_01",
    "AssetSerialNumber": null,
    "RootAssetId": null,
    "MatchToTransactionCodeFlag": null,
    "PrimaryReasonForRepairCode": null,
    "PrimaryReasonForRepairName": null,
    "WarrantyProviderId": 999992000329389,
    "WarrantyProviderNumber": "44111",
    "WarrantyProviderName": "CORNER BAKERY INC",
    "WarrantyProviderLaborRate": null,
    "ClaimSubmitByNumberOfDays": null,
    "ClaimSubmitByDate": "2023-03-23",
    "ClaimAssignedId": null,
    "ClaimAssignedToName": null,
    "WorkOrderMaterialCost": 0,
    "WorkOrderLaborCost": 0,
    "WorkOrderEquipmentCost": 0,
    "WorkOrderTotalCost": 0,
    "ClaimMaterialAmount": 0,
    "ClaimResourceAmount": 0,
    "ClaimEquipmentAmount": 0,
    "ClaimStandardRepairAmount": 0,
    "ClaimOtherAmount": 0,
    "ClaimAdjustmentAmount": 0,
    "ClaimTotalAmount": 0,
    "ClaimCurrencyCode": null,
    "ClaimCurrency": null,
    "ClaimDescription": "300100573922592",
    "ClaimResolutionDate": null,
    "ClaimReference": null,
    "ClaimReimbursementTypeCode": null,
    "ClaimReimbursementType": null,
    "ClaimReimbursementAmount": 0,
    "ClaimCurrencyConversionTypeCode": null,
    "ClaimCurrencyConversionType": null,
    "ClaimCurrencyConversionRate": null,
    "ClaimNotes": null,
    "ActiveEndDate": null,
    "CreatedBy": "MNT_QA",
    "CreationDate": "2023-03-23T18:46:29+00:00",
    "LastUpdatedBy": "MNT_QA",
    "LastUpdateDate": "2023-03-23T18:46:29.002+00:00",
    "links": [
        {
            "rel": "self",
            "href": "http://servername/fscmRestApi/resources/version/assetWarrantyClaims/300100573922592",
            "name": "assetWarrantyClaims",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
            }
        },
        {
            "rel": "canonical",
            "href": "http://servername/fscmRestApi/resources/version/assetWarrantyClaims/300100573922592",
            "name": "assetWarrantyClaims",
            "kind": "item"
        }
    ]
}
Back to Top