Class: UserProvidedServices

UserProvidedServices

new UserProvidedServices(endPoint)

Parameters:
Name Type Description
endPoint String [CC endpoint]
Source:

Methods

add(token_type, access_token, user_provided_service_options) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
user_provided_service_options JSON [user_provided_service_options]
Source:
Returns:
[return a JSON response]
Type
JSON

getService(token_type, access_token, service_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
service_guid String [Service guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getServiceBindings(token_type, access_token, service_guid, filter) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
service_guid String [service_guid]
filter JSON [search options]
Source:
Returns:
[Output]
Type
JSON
Example
var filter = {
    q': 'app_guid:' + "65be2a2d-a643-4e01-b33d-8755d5934ae6"
};

getServices(token_type, access_token) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
Source:
Returns:
[return a JSON response]
Type
JSON

remove(token_type, access_token, service_guid) → {String}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
service_guid String [service_guid]
Source:
Returns:
[output]
Type
String

setEndPoint(endPoint)

Set endpoint
Parameters:
Name Type Description
endPoint String [CC endpoint]
Source: