ServiceManager API for automation Follow
How to Export / Import from the Service Manager using an API
From time to time Administrators would like to access admin functions from the Service Manager from an API.
AuraPlayer offers a REST API to access admin functions in an easy way.
To perform a Service Manager backup we can run the REST API:
To perform a Service Manager restore from an Import from a backup file:
Request performed in curl:
curl -F "file=@<filename>" http://<host>:<port>/ServiceManager/Macro/RestoreWhere <host> is the hostname of the server where the Service manager is installed
curl -F "file=@test_backup.zip" http://localhost:8080/ServiceManager/Macro/Restore
Get List of URLs of Forms/HTML/DB that the Services are pointing to an existing server
Change URLs of Forms/HTML/DB that the Services are pointing to
Update System Properties
This API sets the properties to the newly provided content.
It doesn't perform merge of any kind, no logic of any kind, not keeping old values - just replaces the file with the provided content as is.
Update/merge specific properties
If a property exists it will be updated to the new value, otherwise it will be appended; Properties not specified in the request won't be affected.
append.keys = resp,icx_ticket,config,server module
append.fields = resp,icx_ticket,config,servermodule
*append.defaults - special parameter settings: value should be: key1=value1&key2=value2 AND it should be URI encoded. for example:
config=/test1/applmgr/1200/fnd/12.0.0/forms/US/FNDSCSGN&servermodule='TEST1' is encoded to:
Change default value of Input field
If you want to change the default input field with specific name across all services.
For example: change default username of all DB services when you move to production.