Update one claim
patch
/fscmRestApi/resources/11.13.18.05/assetWarrantyClaims/{assetWarrantyClaimsUniqID}
Request
Path Parameters
-
assetWarrantyClaimsUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Asset Warranty Claims resource and used to uniquely identify an instance of Asset Warranty Claims. The client should not generate the hash key value. Instead, the client should query on the Asset Warranty Claims collection resource in order to navigate to a specific instance of Asset Warranty Claims to get the hash key.
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
-
ActiveEndDate: string
(date)
Title:
Active End Date
Date that indicates if a claim is disabled. This date is set by the disabled flag = true. -
ClaimAdjustmentAmount: number
Title:
Claim Adjustment Amount
Default Value:0
Total amount of the adjustments to the claim total. -
ClaimAssignedId: integer
(int64)
Title:
Claim Assigned To ID
Value that uniquely identifies the employee who is assigned to the claim. -
ClaimAssignedToName: string
Title:
Claim Assigned To
Maximum Length:255
Name of the employee who is assigned to the claim. -
ClaimCurrencyConversionRate: number
Title:
Currency Conversion Rate
Rate of a claim currency converstion. -
ClaimCurrencyConversionType: string
Title:
Currency Conversion Type
Maximum Length:30
Type of a claim currency converstion. -
ClaimCurrencyConversionTypeCode: string
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. -
ClaimDate: string
(date)
Title:
Claim Date
Date of a warranty claim. This value is required. -
ClaimDescription: string
Title:
Claim Description
Maximum Length:240
Detailed description of the claim. -
ClaimNotes: string
Title:
Claim Notes
Maximum Length:4000
Notes of the warranty claim. -
ClaimReference: string
Title:
Claim Reference
Maximum Length:120
Reference of a warranty claim reimbursement. -
ClaimReimbursementAmount: number
Title:
Reimbursement Amount
Default Value:0
Total amount of the claim reimbursement. -
ClaimReimbursementTypeCode: string
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. -
ClaimResolutionDate: string
(date)
Title:
Claim Resolution Date
Resolution Date of the warranty claim. This value is optional. -
ClaimStatusCode: string
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. -
ClaimSubmitByDate: string
(date)
Title:
Claim Submit by Date
Date in which you must submit a claim to the provider. -
ClaimTypeCode: string
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. -
ManuallyCreatedFlag: boolean
Title:
Manually Created Indicator
Maximum Length:1
Indicates if a claim is manually created or not. -
ObjectId: integer
(int64)
Title:
Object ID
Value that uniquely identifies the the object for which the claim was created. -
WarrantyProviderId: integer
(int64)
Title:
Warranty Provider ID
Value that uniquely identifies the warranty provider who provides warranty coverage. -
WarrantyProviderLaborRate: number
Title:
Hourly Rate
Value for the hourly labor rate for the provider. -
WarrantyProviderNumber: string
Title:
Warranty Provider ID
Maximum Length:255
Number that uniquely identifies the warranty provider who provides warranty coverage.
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 : assetWarrantyClaims-item-response
Type:
Show Source
object
-
ActiveEndDate: string
(date)
Title:
Active End Date
Date that indicates if a claim is disabled. This date is set by the disabled flag = true. -
AssetDescription: string
Title:
Asset Description
Read Only:true
Maximum Length:240
Description of the asset. -
AssetId: integer
(int64)
Title:
Asset ID
Read Only:true
Value that uniquely identifies an asset. -
AssetNumber: string
Title:
Asset Number
Read Only:true
Maximum Length:80
Number that uniquely identifies an asset. -
AssetSerialNumber: string
Title:
Asset Serial Number
Read Only:true
Maximum Length:80
Serial number of the asset. -
ClaimAdjustmentAmount: number
Title:
Claim Adjustment Amount
Default Value:0
Total amount of the adjustments to the claim total. -
ClaimAssignedId: integer
(int64)
Title:
Claim Assigned To ID
Value that uniquely identifies the employee who is assigned to the claim. -
ClaimAssignedToName: string
Title:
Claim Assigned To
Maximum Length:255
Name of the employee who is assigned to the claim. -
ClaimCurrency: string
Title:
Claim Currency
Read Only:true
Maximum Length:255
Name of the claim amount currency code. -
ClaimCurrencyCode: string
Title:
Claim Currency Code
Read Only:true
Maximum Length:20
Abbreviation that uniquely identifies the currency code of the claim amount. -
ClaimCurrencyConversionRate: number
Title:
Currency Conversion Rate
Rate of a claim currency converstion. -
ClaimCurrencyConversionType: string
Title:
Currency Conversion Type
Maximum Length:30
Type of a claim currency converstion. -
ClaimCurrencyConversionTypeCode: string
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. -
ClaimDate: string
(date)
Title:
Claim Date
Date of a warranty claim. This value is required. -
ClaimDescription: string
Title:
Claim Description
Maximum Length:240
Detailed description of the claim. -
ClaimEquipmentAmount: number
Title:
Work Order Equipment Cost
Read Only:true
Default Value:0
Total amount of the equipment claimed for reimbursement in the claim. -
ClaimId: integer
(int64)
Title:
Claim ID
Read Only:true
Value that uniquely identifies the warranty claim. The application creates this value when it creates the claim. -
ClaimMaterialAmount: number
Title:
Work Order Material Cost
Read Only:true
Default Value:0
Total amount of the materials claimed for reimbursement in the claim. -
ClaimNotes: string
Title:
Claim Notes
Maximum Length:4000
Notes of the warranty claim. -
ClaimNumber: string
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. -
ClaimOtherAmount: number
Title:
Claim Other Amount
Read Only:true
Default Value:0
Total amount of the other repairs claimed for reimbursement in the claim. -
ClaimReference: string
Title:
Claim Reference
Maximum Length:120
Reference of a warranty claim reimbursement. -
ClaimReimbursementAmount: number
Title:
Reimbursement Amount
Default Value:0
Total amount of the claim reimbursement. -
ClaimReimbursementType: string
Title:
Reimbursement Type
Read Only:true
Maximum Length:80
Type of claim reimbursement. -
ClaimReimbursementTypeCode: string
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. -
ClaimResolutionDate: string
(date)
Title:
Claim Resolution Date
Resolution Date of the warranty claim. This value is optional. -
ClaimResourceAmount: number
Title:
Work Order Labor Cost
Read Only:true
Default Value:0
Total amount of the resources claimed for reimbursement in the claim. -
ClaimStandardRepairAmount: number
Title:
Claim Standard Repair Amount
Read Only:true
Default Value:0
Total amount of the standard repairs claimed for reimbursement in the claim. -
ClaimStatus: string
Title:
Claim Status
Read Only:true
Maximum Length:80
Status of a warranty claim. -
ClaimStatusCode: string
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. -
ClaimSubmitByDate: string
(date)
Title:
Claim Submit by Date
Date in which you must submit a claim to the provider. -
ClaimSubmitByNumberOfDays: number
Title:
Submission Due In
Read Only:true
Value for the number of days to submit a claim to the provider. -
ClaimTotalAmount: number
Title:
Claim Amount
Read Only:true
Default Value:0
Total amount of the claim. -
ClaimType: string
Title:
Claim Type
Read Only:true
Maximum Length:80
Type of a warranty claim. -
ClaimTypeCode: string
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. -
CreatedBy: string
Read Only:
true
Maximum Length:64
Login username of the user who created the record. -
CreationDate: string
(date-time)
Read Only:
true
Date when the record was created. -
LastUpdateDate: string
(date-time)
Read Only:
true
Date when the record was updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
Login user name of the user who updated the record. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ManuallyCreatedFlag: boolean
Title:
Manually Created Indicator
Maximum Length:1
Indicates if a claim is manually created or not. -
MatchToTransactionCodeFlag: boolean
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. -
ObjectId: integer
(int64)
Title:
Object ID
Value that uniquely identifies the the object for which the claim was created. -
ObjectType: string
Title:
Object Type
Read Only:true
Maximum Length:80
Name of the object for which the claim was created. -
ObjectTypeCode: string
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. -
OrganizationCode: string
Title:
Organization Code
Read Only:true
Maximum Length:18
Abbreviation that uniquely identifies the work order organization. -
OrganizationId: integer
(int64)
Title:
Organization ID
Read Only:true
Value that uniquely identifies the work order organization. -
PrimaryReasonForRepairCode: string
Title:
Primary Reason for Repair Code
Read Only:true
Maximum Length:30
Abbreviation that uniquely identifies the work order operation reason for repair code. -
PrimaryReasonForRepairName: string
Title:
Primary Reason for Repair
Read Only:true
Maximum Length:240
Name of the work order operation reason for repair code. -
RootAssetId: integer
(int64)
Title:
Root Asset ID
Read Only:true
Value that uniquely identifies a root asset. -
WarrantyProviderId: integer
(int64)
Title:
Warranty Provider ID
Value that uniquely identifies the warranty provider who provides warranty coverage. -
WarrantyProviderLaborRate: number
Title:
Hourly Rate
Value for the hourly labor rate for the provider. -
WarrantyProviderName: string
Title:
Warranty Provider Name
Read Only:true
Maximum Length:360
Name of the warranty provider who provides warranty coverage. -
WarrantyProviderNumber: string
Title:
Warranty Provider ID
Maximum Length:255
Number that uniquely identifies the warranty provider who provides warranty coverage. -
WorkOrderEquipmentCost: number
Title:
Work Order Equipment Cost
Read Only:true
Total cost of the equipment resources transacted in the work order. -
WorkOrderId: integer
(int64)
Title:
Work Order ID
Read Only:true
Value that uniquely identifies the work order associated to the warranty claim. This attribute is read-only. -
WorkOrderLaborCost: number
Title:
Work Order Labor Cost
Read Only:true
Total cost of the people resources transacted in the work order. -
WorkOrderMaterialCost: number
Title:
Work Order Material Cost
Read Only:true
Total cost of the materials transacted in the work order. -
WorkOrderNumber: string
Title:
Work Order Number
Read Only:true
Maximum Length:120
Number that uniquely identifies the work order for the claim. -
WorkOrderStatus: string
Title:
Work Order Status
Read Only:true
Maximum Length:120
Name of the work order status. -
WorkOrderStatusCode: string
Title:
Work Order Status Code
Read Only:true
Maximum Length:30
Abbreviation that uniquely identifies the work order status. -
WorkOrderTotalCost: number
Title:
Work Order Total Cost
Read Only:true
Total cost of the work order.
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.
Examples
This example describes how to update a warranty claim's reimbursement details and assignment.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/assetWarrantyClaims/assetWarrantyClaimsUniqID"
For example:
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/assetWarrantyClaims/300100573922592"
Example 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.
{ "ClaimAdjustmentAmount": -4555, "ClaimAssignedId": 123456 "ClaimResolutionDate": "2023-03-27", "ClaimReference": "Refer 23232ABC", "ClaimReimbursementTypeCode": "NEW_REMB", "ClaimReimbursementAmount": 1234.89, "ClaimSubmitByDate": "2023-12-27" }
Example 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" } ] }