Oracle® Communications Diameter Signaling Router SCEF User's Guide Release 8.3 E93572 |
|
![]() Previous |
![]() Next |
After a partner account and group have been created, the operator needs to add the account to the group. This can be done using either the GUI interface or REST interface.
Assign a Partner to a Group Using the GUI
Figure A-26 Add Partner to Group
Assign a Partner to a Group Using REST
To assign a partner to a group, use the POST method from the /portal/prm/prm_pm_rest/services/partner_manager/group/PartnerManagerSlaGroup/confirmMovePartnerToGroup 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_Group.html.
An example of how to add a partner to a group request and response follow:
POST /portal/prm/prm_pm_rest/services/partner_manager/group/PartnerManagerSlaGroup/confirmMovePartnerToGroup 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 b3A6e0FFU31UT0RyWXN5dE0yMWJMZ1VndVJTVTJWbk1XV3FSaFFNRlBLRDhaVG1RbHdJPQ== X-Requested-With: XMLHttpRequest Content-Length: 107 Cookie: ADMINCONSOLESESSION=645Fdnqjm2LmBV4xf2yqeM9Tk3YngS0_q7GwCrZMWfNPiXsLe9xI!-676027630 Connection: keep-alive {"confirmMovePartnerToGroup":{"partnerName":"testuser","newGroupName":"user1_group","action":"EXPAND_SLA"}}
HTTP/1.1 200 OK Date: Tue, 30 Jan 2018 06:50:24 GMT Content-Length: 40 Content-Type: application/json X-FRAME-OPTIONS: DENY {"confirmMovePartnerToGroupResponse":{}}