Oracle® Communications Diameter Signaling Router Service Capability Exposure Function User's Guide Release 8.4 F12301-02 |
|
![]() Previous |
![]() Next |
A partner account can be registered using a self registration process or you can register an account for the partner. Both processes can also be done using a GUI interface or the REST interface. All procedures are described in this section. Refer to Diameter Signaling Router SCEF Partner User's Guide for configuration information using the GUI.
Self Registration Using REST
To self register as a partner, use the POST method from the /prm_pm_rest/services/prm_pr/services/register/Register/registers resource URL.
For more details on the request and response formats, see https://docs.oracle.com/communications/E81149_01/doc.70/e96582/resource_Partner_Account.html#resource_Partner_Account_registerSP_POST.
An example of a self registration request and response follow:
POST /prm_pm_rest/services/prm_pr/services/register/Register/registerSP HTTP/1.1 Host: 10.178.254.224:9001 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 Accept: application/json, text/javascript, */*; q=0.01 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/json x-requested-with: XMLHttpRequest Referer: http://10.178.254.224:9001/portal/partner/index/register.html Content-Length: 650 Connection: keep-alive {"registerSP":{"spInfo":{"userName":"test_user1","emailAddr":"test_user1@oracle.com", "password":"password123”,"phone":"91984538533","securityAnswerChoice":0, "securityAnswer":"tp1","firstName":"test_fn","lastName":"test_ln","company":"oracle", "companyURL":"http://oracle.com","stateOrProvince":"Karnataka","zipOrPostalCode":"560072", "streetAddress":"kudebeesanhalli","city":"Bangalaore","country":"India", "contacts":[{"city":"Bangalore","contactTimeFrom":"09:00","contactTimeTo":"17:00", "country":"India","emailAddress":"test_partner@oracle.com","firstName":"test_fn", "lastName":"test_ln"}],"userType":"PRM_SP"}}}
HTTP/1.1 200 OK Date: Thu, 30 Aug 2018 08:40:13 GMT Content-Length: 25 Content-Type: application/json {"registerSPResponse":{}}
Register an Account for a Partner Using the GUI
Register an Account for a Partner Using REST
To register a partner, use the POST method from the /portal/prm/prm_pm_rest/services/accountmanage/AccountManagement/createUser resource URL.
To authorize the request, use the operator username and password in the header of the request.
For more details on the request and response formats, see https://docs.oracle.com/communications/E81149_01/doc.70/e96582/resource_Partner_Manager_Account.html.
An example of a registration request and response follow:
POST /portal/prm/prm_pm_rest/services/accountmanage/AccountManagement/createUser HTTP/1.1 Host: 10.75.244.188:9001 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Accept: application/json, text/javascript, */*; q=0.01 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://10.75.244.188:9001/portal/partner-manager/index/main.html Content-Type: application/json AuthorizationX: Basic b3A6e0FFU310bnp2bmliSEpPbWNBdlo5QXZ0d3pzSFoxZVBBZnhNWEY3eG9CZ1kzci9ZPQ== X-Requested-With: XMLHttpRequest Content-Length: 671 Cookie: ADMINCONSOLESESSION=645Fdnqjm2LmBV4xf2yqeM9Tk3YngS0_q7GwCrZMWfNPiXsLe9xI!-676027630 Connection: keep-alive {"createUser":{"userInfo":{"userName":"testuser","emailAddr":"user1@usercompany.com", "password":"password1234","phone":"9845398765","secureityAnswerChoice":0, "secureityAnswer":"user1","firstName":"userfirstname","lastName":"userlastname", "company":"usercompany","companyURL":"http://usercompany.com","stateOrProvince":"state1", "zipOrPostalCode":"560037","streetAddress":"street1","city":"bangalore","country":"India", "contacts":[{"city":"bangalore","contactTimeFrom":"08:00","contactTimeTo":"17:00", "country":"India","emailAddress":"user1@usercompany.com","firstName":"userfirstname", "lastName":"userlastname"}],"userType":"PRM_SP"}}}
HTTP/1.1 200 OK Content-Length: 0Server: Jetty(8.0.1.0)