Get Collections Actions
get
/bcws/webresources/v1.0/collections/actions
Gets all collections actions, including their ID, name, and description.
Request
There are no request parameters for this operation.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
The collections actions were returned successfully.
Root Schema : configurations
Type:
Show Source
object
-
extension: object
extension
The extended attributes.
-
flags(required): array
flags
A flag.
-
keyvals(required): array
keyvals
A set of key-value pairs.
-
mapping(required): array
mapping
A mapping.
-
thresholds(required): array
thresholds
A threshold. The minimum required parameters are: key and value.
Nested Schema : extension
Type:
object
The extended attributes.
Nested Schema : keyvals
Type:
array
A set of key-value pairs.
Show Source
-
Array of:
object Keyvals
A set of key-value pairs.
Nested Schema : thresholds
Type:
array
A threshold. The minimum required parameters are: key and value.
Show Source
-
Array of:
object Thresholds
A threshold. The minimum required parameters are: key and value.
Nested Schema : Flags
Type:
object
A flag.
Show Source
-
desc(required): string
A description of the flag.
-
key(required): string
The name of the flag.
-
value: boolean
The value associated with the flag, which can be true or false.
-
version: string
The version of the flag.
Nested Schema : Keyvals
Type:
object
A set of key-value pairs.
Show Source
-
desc(required): string
The key-value pair's description.
-
key(required): string
The key name.
-
value(required): string
The value.
-
version: string
The version of the key-value pair.
Nested Schema : Mapping
Type:
object
A mapping.
Show Source
-
desc(required): string
The mapping's description.
-
key(required): string
The mapping's key.
-
map(required): array
map
A map.
-
version: string
The version of the mapping.
Nested Schema : Map
Type:
object
A map.
Show Source
-
id(required): string
The map ID.
-
key(required): string
The key.
Nested Schema : Thresholds
Type:
object
A threshold. The minimum required parameters are: key and value.
Show Source
-
desc(required): string
The description of the threshold.
-
key(required): string
Unique name for configuration acting as an upper limit for pagination size, number of records to fetch, timeouts, etc.
-
value: integer
(int32)
The threshold value.
-
version: string
The version of the threshold.
500 Response
An internal server error occurred.
Examples
This example shows how to get a list of collections actions by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".
cURL Command
curl -X GET 'http://hostname:port/bcws/webresources/version/collections/actions'
where:
- hostname is the URL for the Billing Care REST server.
- port is the port for the Billing Care REST server.
- version is the version of the API you're using, such as v1.0.
Example of Response Body
This example shows the contents of the response body in JSON format.
{
"extension": null,
"keyvals": [
{
"key": "0.0.0.1+-config-collections-action+823",
"value": "Inactivate Services of Billinfo",
"desc": "Inactivate Services of Billinfo",
"version": null
},
{
"key": "0.0.0.1+-config-collections-action+826",
"value": "Collect Payment",
"desc": "Collect Payment",
"version": null
},
{
"key": "0.0.0.1+-config-collections-action+822",
"value": "Close Services of Billinfo",
"desc": "Close Services of Billinfo",
"version": null
},
{
"key": "0.0.0.1+-config-collections-action+824",
"value": "Refer to outside agency",
"desc": "Refer to outside agency",
"version": null
},
{
"key": "0.0.0.1+-config-collections-action-custom-late_fee+125732",
"value": "Move to collections",
"desc": "",
"version": null
},
{
"key": "0.0.0.1+-config-collections-action+825",
"value": "Promise to Pay",
"desc": "Promise to Pay",
"version": null
},
{
"key": "0.0.0.1+-config-collections-action+821",
"value": "Writeoff Billinfo",
"desc": "Writeoff Billinfo",
"version": null
}
],
"flags": [],
"thresholds": [],
"mapping": []
}