My Oracle Support Banner

How To Create A Contract Line Item Using REST API (JSON Format) Via CURL Client (Doc ID 2498124.1)

Last updated on JUNE 04, 2019

Applies to:

Oracle Prime Cloud Service - Version 19.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to add a contract line item via the Rest API, the following error occurs.

ERROR

Method Not Allowed

STEPS

The issue can be reproduced at will with the following steps:

  1. Start a curl command using the following - curl -u My user name:My password -H "Version:3" -X POST https://Host:Port/primeapi/restapi/contractLineItem/{"lineItemId":"xxxx","itemCode":"xxx","name":"Name","lineItemType":"LUMP_SUM","quantity":"1","UnitPrice":"85540"}
  2. Notice error.

Changes

 

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
Changes
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.