File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ To use the `HubSpot CRM Engagement Calls` connector in your Ballerina applicatio
139
139
Import the ` hubspot.crm.engagements.calls` module and ` oauth2` module.
140
140
141
141
` ` ` ballerina
142
- import ballerinax/hubspot.crm.engagements.calls as hscalls;
143
142
import ballerina/oauth2;
143
+ import ballerinax/hubspot.crm.engagements.calls as hscalls;
144
144
` ` `
145
145
146
146
# ## Step 2: Instantiate a new connector
@@ -188,7 +188,7 @@ public function main() returns error? {
188
188
189
189
` ` ` ballerina
190
190
public function main() returns error? {
191
- hs_calls :SimplePublicObjectInputForCreate payloadCreate = {
191
+ hscalls :SimplePublicObjectInputForCreate payloadCreate = {
192
192
properties: {
193
193
" hs_timestamp" : " 2025-02-17T01:32:44.872Z" ,
194
194
" hs_call_title" : " Support call" ,
@@ -215,7 +215,7 @@ public function main() returns error? {
215
215
]
216
216
};
217
217
218
- hs_calls :SimplePublicObject responseCreated = check hubspot-> /.post(payloadCreate);
218
+ hscalls :SimplePublicObject responseCreated = check hubspot-> /.post(payloadCreate);
219
219
string callId = responseCreated.id;
220
220
io:println(" Call created successfully with ID: " + callId);
221
221
}
Original file line number Diff line number Diff line change @@ -131,8 +131,8 @@ To use the `HubSpot CRM Engagement Calls` connector in your Ballerina applicatio
131
131
Import the ` hubspot.crm.engagements.calls` module and ` oauth2` module.
132
132
133
133
` ` ` ballerina
134
- import ballerinax/hubspot.crm.engagements.calls as hscalls;
135
134
import ballerina/oauth2;
135
+ import ballerinax/hubspot.crm.engagements.calls as hscalls;
136
136
` ` `
137
137
138
138
# ## Step 2: Instantiate a new connector
@@ -180,7 +180,7 @@ public function main() returns error? {
180
180
181
181
` ` ` ballerina
182
182
public function main() returns error? {
183
- hs_calls :SimplePublicObjectInputForCreate payloadCreate = {
183
+ hscalls :SimplePublicObjectInputForCreate payloadCreate = {
184
184
properties: {
185
185
" hs_timestamp" : " 2025-02-17T01:32:44.872Z" ,
186
186
" hs_call_title" : " Support call" ,
@@ -207,7 +207,7 @@ public function main() returns error? {
207
207
]
208
208
};
209
209
210
- hs_calls :SimplePublicObject responseCreated = check hubspot-> /.post(payloadCreate);
210
+ hscalls :SimplePublicObject responseCreated = check hubspot-> /.post(payloadCreate);
211
211
string callId = responseCreated.id;
212
212
io:println(" Call created successfully with ID: " + callId);
213
213
}
You can’t perform that action at this time.
0 commit comments