My Oracle Support Banner

FA:SCM Common: Unable To Get Or Create Translated Data For UOM Using Rest Api (Doc ID 2914680.1)

Last updated on DECEMBER 13, 2022

Applies to:

Oracle Supply Chain Collaboration Cloud Service - Version 11.13.22.07.0 and later
Information in this document applies to any platform.

Goal

user facing "404 Not Found" error while trying to get translated data for UOM using the Rest API.
URL - https://fa-xxxx-xxxx-saasfxxxxxx.fa.ocs.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/unitsOfMeasure/xxx/child/translatedData
Operation - GET
Response - 404 Not Found

While to create an UOM with translated data we are getting error for that as well.
URL - https://fa-xxxx-xxxx-saasfaprod1.fa.ocs.oraclecloud.com/fscmRestApi/resources/11.13.18.05/unitsOfMeasure
Operation - POST
Response - 400 Bad Request. Invalid attribute "translatedData" in the payload.
Request -
{
  "UOMCode" : "CM2",
  "UOMClass" : "1003",
  "UOMClassName" : "Area",
  "UOM" : "Square Centimeter",
  "Description" : "Square Centimeter",
  "UOMReciprocalDescription" : null,
  "UOMPluralDescription" : null,
  "BaseUnitFlag" : false,
  "DisableDate" : null,
  "StandardConversion" : 100,
  "StandardConversionEndDate" : null,
  "translatedData": [
  {"ES": "Centímetro Cuadrado"}
  ],
  "DFF": [
  {"isoCode": "CMK"}
  ]
}

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.