My Oracle Support Banner

REST Create Contract With Null Value In Payload Gives 404 Bad Request (Doc ID 2793257.1)

Last updated on NOVEMBER 22, 2021

Applies to:

Oracle Fusion Enterprise Contracts Management Cloud Service - Version 11.13.21.04.0 and later
Information in this document applies to any platform.

Symptoms

 On : 11.13.21.01.0 version, Webservice

When we pass any field with null value we are getting 400 bad request.

POST: https:///fscmRestApi/resources/latest/contracts/300000198041020/child/ContractLine
Request:

{
"LineTypeId": 300000000105613,
"LineTypeName": "Item",
"ItemName": "ADO_Item_Sub1",
"ItemNameTxt": "ADO_Item_Sub1",
"ItemDescription": "ADO_Item_Sub1",
"StartDate": "2021-05-07",
"ContractAllLineDesFlexVA":
[{
"site": null,
"tarifa2": "2022-05-25",
"__FLEX_Context": "Invoice Description",
"__FLEX_Context_DisplayValue": "Invoice Description",
"test": null
}
]
}

 

Response: 400 bad request

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
References


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