My Oracle Support Banner

Fusion HCM Rest Api Error: "The Value Of The Attribute SalaryBasisId: Components Are Required For This Salary Basis And Hence Isn't Valid" (Doc ID 2754789.1)

Last updated on FEBRUARY 23, 2021

Applies to:

Oracle Fusion Global Human Resources Cloud Service - Version 11.13.21.01.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to perfrom a POST on /hcmRestApi/resources/11.13.18.05/salaries,
the following error occurs.

ERROR
-----------------------
The value of the attribute SalaryBasisId: Components are required for this salary basis and hence isn't valid


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
URL: /hcmRestApi/resources/11.13.18.05/salaries
Method: POST
Payload: {
  "ActionId": "300000000xxxxxx",
  "AssignmentId": "100000000xxxxxx",
  "DateFrom": "2021-03-10",
"DateTo": "4712-12-31",
  "SalaryBasisId": "30000000xxxxxxxx",
  "SalaryAmount": "6000.01",
  "salaryComponents": [
  {
  "ComponentReasonCode": "ADJUSTMENT",
  "AdjustmentAmount": "474.7"
  }
  ]
  }


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.