CallbackService
Service handling Callback calls with specific endpoints.
Method Summary
Public Methods | ||
public |
Validates the conditions and executes a single callback. |
|
public |
Returns the information associated with a callback or all callbacks if no id present. |
|
public |
getCallback(id: *): Promise Returns the information associated with a callback. |
|
public |
Returns all the callbacks. |
Public Methods
public execute(id: *): Promise source
Validates the conditions and executes a single callback.
Params:
Name | Type | Attribute | Description |
id | * | {Number} The ID value of the callback. |
public get(id: Number): Promise source
Returns the information associated with a callback or all callbacks if no id present.
Params:
Name | Type | Attribute | Description |
id | Number |
|
The ID value of the callback. |
Throw:
If missing token or missing required parameters |
public getCallback(id: *): Promise source
Returns the information associated with a callback.
Params:
Name | Type | Attribute | Description |
id | * | {Number} The ID value of the callback. |