Cisco Cisco Prime Home 6.3 Entwickleranleitung

Seite von 78
Cisco Prime Home – Integration Guide
 
 
OL-28557-01   v5.0.1
 
28 
 
 
Endpoint
… /prime-home/api/v2/templates/subscribers  
A template subscriber, used in conjunction with 
.../prime-
home/api/v2/subscribers
 
Method 
In 
Out 
GET 
{subscriber-v2}
 
 
Endpoint
… /prime-home/api/v2/subscribers 
The TOC used for creating new subscribers. See also 
.../prime-
home/api/v2/templates/subscriber
.  
 
The minimum fields which must be set are: 
• 
subscriberCode
The unique, external, identifier for that subscriber. 
 
 
If you do not want the subscriber to have access to the control panel, then set 
credentials to an empty object.
 
 
subscriber.credentials = {};
 
 
Method 
In 
Out 
POST 
{subscriber-v2}
 
{subscriber-v2}
 
 
 
Endpoint
… /prime-home/api/v2/subscribers/subscriberId  
This document contains information about a single subscriber and is used to modify 
that subscriber's data. 
subscriberId
 can be in the form of the internal subscriber 
numeric id, or "
code:subscriber code
Method 
In 
Out 
GET 
{subscriber-v2}
 
PUT 
 
{subscriber-v2} 
 
 
 
In order to delete a subscriber, you must call DELETE on 
.../prime-
home/api/v1/subscribers/subscriberId