We can get Document ID once we upload the files to UCM using Erpintegrations REST API as shown below:

We can get UCM id from this document ID using generic SOAP WSDL with the details below:
WSDL:
https://xxxxx.fa.xxxx.oraclecloud.com/idcws/GenericSoapPort?WSDL
Method:
GenericSoapOperation
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucm="http://www.oracle.com/UCM"> <soapenv:Header/> <soapenv:Body> <ucm:GenericRequest webKey="cs"> <ucm:Service IdcService="GET_FILE"> <ucm:Document> <ucm:Field name="dID">2700074</ucm:Field> </ucm:Document> </ucm:Service> </ucm:GenericRequest> </soapenv:Body> </soapenv:Envelope>
Response:


