Oracle® Communications Diameter Signaling Router Service Capability Exposure Function User's Guide Release 8.4 F12301-02 |
|
![]() Previous |
![]() Next |
Once a partner account is created and approved, it is added to a group. To create a group, use either the GUI interface or the REST interface. Both procedures are described in this section.
Create a Partner Group Using the GUI
Figure A-29 Create Partner Group
Create a Partner Group Using REST
To create a partner group, use the POST method from the /portal/prm/prm_pm_rest/services/partner_manager/group/PartnerManagerSlaGroup/createServiceProviderGroup 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 to create a partner group request and response follow:
POST /portal/prm/prm_pm_rest/services/partner_manager/group/PartnerManagerSlaGroup/createServiceProviderGroup 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: 143 Cookie: ADMINCONSOLESESSION=645Fdnqjm2LmBV4xf2yqeM9Tk3YngS0_q7GwCrZMWfNPiXsLe9xI!-676027630 Connection: keep-alive {"createServiceProviderGroup":{"groupName":"user2_group","rate":{"reqLimit":"10000","timePeriod":1},"quota":{"qtaLimit":"1000000","days":"1"}}}
HTTP/1.1 200 OK Date: Tue, 30 Jan 2018 06:46:09 GMT Content-Length: 41 Content-Type: application/json X-FRAME-OPTIONS: DENY {"createServiceProviderGroupResponse":{}}