Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error Not authorized. Operation: create while invoking POST REST API call

User_JKWCIFeb 15 2018

Hi, I am trying to create a work order in Fusion (Release 12) through a REST service.

Following is the request I am sending through Chrome Advanced REST client:

POST /manufacturingApi/resources/11.12.1.0/workOrders/ HTTP/1.1

HOST: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxx

accept-language: en-US

content-type: application/vnd.oracle.adf.resourceitem+json

content-length: 183

{ "OrganizationId" : "300000001588072",

  "InventoryItemId" : "300000001609300",

  "PlannedStartQuantity" : "10",

  "PlannedStartDate" : "2018-02-15",

  "ExplosionFlag" : "true"}

I receive a error response -

Not authorized. Operation: create

401 Unauthorized 

However using the same authentication (user id) I am able to create the same transaction in SaaS front end.

Any pointer to solve this will be helpful please.

Comments
Post Details
Added on Feb 15 2018
1 comment
685 views