My Oracle Support Banner

After upgraded from 8.2.1 to 9.0, REST API 's adding elements are not working any more (Doc ID 2884523.1)

Last updated on APRIL 17, 2024

Applies to:

Oracle Communications Session Delivery Manager - Version 8.2 and later
Information in this document applies to any platform.

Goal

After upgrade from OCSDM 8.2.1 to 9.0 version, REST API for adding elements are not working any more.

The following steps are working:
URI: http://t-sipc-nnc.corproot.net/rest/v1.0/admin/login
URI: http://t-sipc-nnc.corproot.net/rest/v1.0/configuration/devices/ID4/loadConfig

The following step is not working (add config element):
URI: http://t-sipc-nnc.corproot.net/rest/v1.0/configuration/deviceConfigs/ID4/configElements/add

For this we are receiving 404 response. The following informations are sent with this request:
{'elementTypePath': 'sessionAgent', 'attributes': {'attribute': [{'name': 'hostname', 'value': 's01.100.a.900505.gated.swisscom.ch'}, {'name': 'ipAddress', 'value': '1.1.1.1'}, {'name': 'transMethod', 'value': 'UDP+TCP'}, {'name': 'realmID', 'value': 'gateMSA'}, {'name': 'description', 'value': 's01.100.a.900505.gated.swisscom.ch'}, {'name': 'pingMethod', 'value': 'OPTIONS;hops=0'}, {'name': 'pingInterval', 'value': 30}, {'name': 'inManipulationId', 'value': 'fromEsbcCube'}, {'name': 'outManipulationId', 'value': 'toEsbcCube'}, {'name': 'rfc2833-mode', 'value': 'preferred'}, {'name': 'rfc2833-payload', 'value': 101}, {'name': 'codecPolicy', 'value': 'g711ag711u'}]}, 'childrenElements': {'childrenElement': [{'elementTypePath': 'sessionAgent/trunkGroup', 'attributes': {'attribute': [{'name': 'name', 'value': '100:a.900505.gated.swisscom.ch'}]}}]}}

This worked on 8.2.1 .
 

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
References


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