Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Unable to Create a Pending Worker using REST API — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to Create a Pending Worker using REST API

Accepted answer
20
Views
5
Comments
edited Jul 25, 2020 1:38PM in HCM Integrations 5 comments

Summary

Getting POSTMAN Error: 404 Bad Request "URL request parameter Content-Type cannot be used in this context."

Content

Hi Team,

 

I am new to this process and the GET method is working properly. 

But the issue with the POST method. 

I am trying to create a pending worker using REST API but getting error. 

Error: 404 Bad Request "URL request parameter Content-Type cannot be used in this context."

Help me get this resolved. 

Please find the below details: 

URL: https://XXXX-test.fa.us2.oraclecloud.com/hcmRestApi/resources/11.13.18.05/workers

Parameters: 

REST-Framework-Version : 4
Content-Type : application/vnd.oracle.adf.resourceitem+json
effective-Of : RangeStartDate=2020-06-02

 

PAYLOAD: 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!