My Oracle Support Banner

Unable to Create Note From The REST Web Service (Doc ID 2482608.1)

Last updated on DECEMBER 22, 2020

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.13.18.05.0 and later
Information in this document applies to any platform.

Goal

On : 11.13.18.05.0 version, Opportunities


Whenever user is trying to update the Notetext user is finding junck charecters in the SUI

User is following the doc: https://docs.oracle.com/en/cloud/saas/sales/r13-update18a/faaps/op-crmrestapi-resources-11.13.18.02-opportunities-optyid-child-note-noteid-patch.html

Method: POST
1) Request Payload:
{
"VisibilityCode": "EXTERNAL",
"SourceObjectCode": "OPPORTUNITY",
"CurrencyCode": "LKR",
"CurcyConvRateType": "Corporate",
"NoteTypeCode": "GENERAL",
"CorpCurrencyCode": "USD",
"NoteTxt": "VGVzdCBOb3RlIFVzaW5nIFJlc3QgMTA="
}

Response: Success

2) Request Payload:
{
"VisibilityCode": "EXTERNAL",
"SourceObjectCode": "OPPORTUNITY",
"CurrencyCode": "LKR",
"CurcyConvRateType": "Corporate",
"NoteTypeCode": "GENERAL",
"CorpCurrencyCode": "USD",
"NoteTxt": "qwerty"
}
Response: Error
Unable to parse the provided payload
3) Request Payload:
{
"VisibilityCode": "EXTERNAL",
"SourceObjectCode": "OPPORTUNITY",
"CurrencyCode": "LKR",
"CurcyConvRateType": "Corporate",
"NoteTypeCode": "GENERAL",
"CorpCurrencyCode": "USD"
}

Response:Error
Attribute NoteTxt in NoteEO is required.

2) Request Payload:
{
"VisibilityCode": "EXTERNAL",
"SourceObjectCode": "OPPORTUNITY",
"CurrencyCode": "LKR",
"CurcyConvRateType": "Corporate",
"NoteTypeCode": "GENERAL",
"CorpCurrencyCode": "USD",
"NoteTxt": "TEST Note"
}
Response: 201 created, but able to see Junk charecters in SUI
Here observerd is whenever the simple text is updated, the response is SUCCESS with Junck charecters updated in SUI and when the encoded value is sent the response is SUCCESS and proper text is updated in SUI.
NOTETEXT field is encoding the values sent from REST API to SUI
 

Solution

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
Goal
Solution


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