add cid to TwingleCampaign.get and .getsingle specs
This commit is contained in:
parent
fa093e4b68
commit
47e7d2a668
2 changed files with 23 additions and 0 deletions
|
@ -17,6 +17,14 @@ function _civicrm_api3_twingle_campaign_Getsingle_spec(&$spec) {
|
|||
'api.required' => 0,
|
||||
'description' => E::ts('The Twingle Campaign ID'),
|
||||
];
|
||||
|
||||
$spec['cid'] = [
|
||||
'name' => 'cid',
|
||||
'title' => E::ts('Twingle Campaign CID'),
|
||||
'type' => CRM_Utils_Type::T_STRING,
|
||||
'api.required' => 0,
|
||||
'description' => E::ts('A unique identifier for a TwingleCampaign generated by a hashing its id + name'),
|
||||
];
|
||||
$spec['name'] = [
|
||||
'name' => 'name',
|
||||
'title' => E::ts('Campaign Name'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue