SMF Op - CcsAccountExist
Overview
The CcsAccountExists operation checks to see if a CCS Account exists.
This operation is used by the IN Tester when we want to test if a CCS Account exists in the SMF database.
- Direction: OUTBOUND
- From: SMF (IN Tester)
- To: SMF (Database Under Test)
Attributes
The operation attributes are as follows:
Attribute | Type | Description |
---|---|---|
type
|
String |
db.smf.CcsAcctExists
|
label
|
String |
An optional label for this node if it is to be the target of a branch operation.
|
arguments
|
Object | *[Required]* The structure of the CCS Account Exists Arg to construct and send. |
Example
This is an example entry within the operations
array:
{
"type": "db.smf.CcsAcctExists",
"arguments": {
"be_acct_id": 1
},
"tests": [
{ "kpath": "rows.Exists", "type": "integer", "value": "0" }
]
}
Arguments
The following outbound arguments are supported:
Argument | Type | Notes |
---|---|---|
be_acct_id
|
Integer | The BE (Billing Engine) Account ID to query accounts for. |
Result
It is expected that the result will contain the following:
Column | Type | Description |
---|---|---|
Exists
|
Integer | 1 if Exists 0 if Not Exists |