Class: UserProvidedServices

UserProvidedServices

Constructor

new UserProvidedServices(endPoint)

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

Methods

add(upsOptions) → {JSON}

Parameters:
Name Type Description
upsOptions JSON [user_provided_service_options]
Source:
Returns:
[return a JSON response]
Type
JSON

getService(guid) → {JSON}

Parameters:
Name Type Description
guid String [Service guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getServiceBindings(guid, filter) → {JSON}

Parameters:
Name Type Description
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() → {JSON}

Source:
Returns:
[return a JSON response]
Type
JSON

remove(guid) → {String}

Parameters:
Name Type Description
guid String [service_guid]
Source:
Returns:
[output]
Type
String