File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed
src/Opifer/SmartEventManager Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 2626 "additionalParameters" : {
2727 "location" : " json"
2828 }
29+ }, "getContactGroups" : {
30+ "httpMethod" : " POST" ,
31+ "uri" : " /Api/Relations/GetContactGroups" ,
32+ "summary" : " Responds to POST requests to get the contact groups." ,
33+ "responseType" : " class" ,
34+ "responseClass" : " Opifer\\ SmartEventManager\\ Relations\\ Model\\ GetContactGroupsResponse" ,
35+ "additionalParameters" : {
36+ "location" : " json"
37+ }
2938 }, "addRelation" : {
3039 "httpMethod" : " POST" ,
3140 "uri" : " /Api/Relations/AddRelation" ,
Original file line number Diff line number Diff line change 1+ <?php
2+ namespace Opifer \SmartEventManager \Relations \Model ;
3+
4+ use JMS \Serializer \Annotation as JMS ;
5+
6+ class ContactGroup
7+ {
8+
9+ /**
10+ * The ContactGroupID of the contact group.
11+ *
12+ * @var int
13+ * @JMS\Type("integer")
14+ */
15+ public $ ContactGroupID ;
16+
17+ /**
18+ * The name of the contact group.
19+ *
20+ * @var string
21+ * @JMS\Type("string")
22+ */
23+ public $ Name ;
24+
25+ }
Original file line number Diff line number Diff line change 1+ <?php
2+ namespace Opifer \SmartEventManager \Relations \Model ;
3+
4+ use JMS \Serializer \Annotation as JMS ;
5+ use Opifer \SmartEventManager \Response \Model \BaseResponse ;
6+
7+ class GetContactGroupsResponse extends BaseResponse
8+ {
9+
10+ /**
11+ * The contact groups in the ContactGroupModel.
12+ *
13+ * * @var \Opifer\SmartEventManager\General\Model\Company[]
14+ * @JMS\Type("array<Opifer\SmartEventManager\Relations\Model\ContactGroup>")
15+ */
16+ public $ ContactGroups ;
17+
18+ }
You can’t perform that action at this time.
0 commit comments