Go to primary content
Oracle® Communications Diameter Signaling Router Service Capability Exposure Function User's Guide
Release 8.4
F12301-02
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

Assign a Partner to a Group

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

  1. Access the partner and API management portal at https://<AppServerx-XMI-IP>:9002/portal/partner/index/partnerLogin.html.
  2. Login with the operator account.
  3. Click on the Partners tab.
  4. Select Assign Group from the Actions options.
  5. Select the group to which the partner is to be assigned.
  6. Click OK.

Figure A-30 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:

Request:
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"}}
Response:
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":{}}