Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions plugins/google-calendar-book-meeting/.codeblocks/block_0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://www.googleapis.com/calendar/v3/calendars/primary/events' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
15 changes: 15 additions & 0 deletions plugins/google-calendar-book-meeting/.codeblocks/block_1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
curl --request POST \
--url 'https://www.googleapis.com/calendar/v3/calendars/primary/events' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"summary": "{{event_title}}",
"description": "{{event_description}}",
"start": {"dateTime": "{{start_date_time}}", "timeZone": "{{user_time_zone}}"},
"end": {"dateTime": "{{end_date_time}}", "timeZone": "{{user_time_zone}}"},
"attendees": [{"email": "{{attendee_email}}", "optional": false}, ...],
"recurrence": ["{{recurrence_rules}}"],
"transparency": "{{show_as}}",
"visibility": "{{visibility}}",
"eventType": "{{event_type}}"
}'
8 changes: 8 additions & 0 deletions plugins/google-calendar-book-meeting/.codeblocks/block_2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
curl --request POST \
--url 'https://api.zoom.us/v2/users/me/meetings' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"topic": "{{meeting_title}}",
"type": 1
}'
9 changes: 9 additions & 0 deletions plugins/google-calendar-book-meeting/.codeblocks/block_3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
curl --request PATCH \
--url 'https://www.googleapis.com/calendar/v3/calendars/primary/events/{{event_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'If-Match: {{etag}}' \
--header 'Content-Type: application/json' \
--data '{
"description": "{{zoom_details}}",
"location": "{{zoom_join_url}}"
}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \\
--url '<https://www.googleapis.com/calendar/v3/calendars/primary/events?timeMin={{start_date_range}>}&timeMax={{end_date_range}}&singleEvents=true&orderBy=startTime&maxResults=350' \\
--header 'Authorization: Bearer {{access_token}}' \\
--header 'Content-Type: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://www.googleapis.com/calendar/v3/calendars/primary/events' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://www.googleapis.com/calendar/v3/calendars/primary/events/{{event_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://www.googleapis.com/calendar/v3/calendars/primary/events/{{recurring_event_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
curl --request PATCH \
--url 'https://www.googleapis.com/calendar/v3/calendars/primary/events/{{series_master_event_id}}?sendUpdates=all' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'If-Match: {{etag}}' \
--header 'Content-Type: application/json' \
--data '{
"recurrence": ["{{updated_recurrence_rules}}"]
}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl --request POST \
--url 'https://www.googleapis.com/calendar/v3/calendars/primary/events' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{{cloned_event_body}}'
12 changes: 12 additions & 0 deletions plugins/google-calendar-update-meeting/.codeblocks/block_6.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
curl --request PATCH \\
--url '<https://www.googleapis.com/calendar/v3/calendars/primary/events/{{event_id}>}?sendUpdates=all' \\
--header 'Authorization: Bearer {{access_token}}' \\
--header 'If-Match: {{etag}}' \\
--header 'Content-Type: application/json' \\
--data '{
"summary": "{{event_title}}",
"description": "{{event_description}}",
"start": {"dateTime": "{{new_start_date_time}}", "timeZone": "{{user_time_zone}}"},
"end": {"dateTime": "{{new_end_date_time}}", "timeZone": "{{user_time_zone}}"},
"attendees": [...]
}'
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
curl --request POST \
--url https://<YOUR_UKG_HOST>/api/v1/commons/persons/extensions/multi_read \
--header 'Authorization: {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"where": {
"employees": {
"key": "useremailaddress",
"values": [
"{{USER_EMAIL}}"
]
},
"includeBaseWages": false,
"includeAccrualPolicyDetails": false
}
}'
curl --request GET \
--url 'https://api.moveworks.ai/export/v1/records/interactions/$count?$orderby=created_time&$filter=created_time gt '{{start_date}}T00:00:00Z' and created_time lt '{{end_date}}T00:00:00Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
curl --request GET \
--url 'https://<YOUR_UKG_HOST>/api/v1/scheduling/timeoff/request_subtypes?person_number={{USER_NUMBER}}' \
--header 'Authorization: {{access_token}}' \
--header 'Content-Type: application/json'
--url 'https://api.moveworks.ai/export/v1/records/interactions?$skip={{skip}}&$orderby=created_time&$filter=created_time gt '{{start_date}}T00:00:00Z' and created_time lt '{{end_date}}T00:00:00Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
curl --request GET \
--url 'https://<YOUR_UKG_HOST>/api/v1/scheduling/timeoff/accruals?date={{date}}&subtype_name={{subtype_name}}&employee_id={{user_id}}' \
--header 'Authorization: {{access_token}}' \
--header 'Content-Type: application/json'
--url 'https://api.moveworks.ai/export/v1/records/users/$count?$orderby=id&$filter=last_updated_time gt '{{yesterday_date}}T06:27:58.321Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://api.moveworks.ai/export/v1/records/users?$skip={{skip}}&$filter=last_updated_time gt '{{yesterday_date}}T06:27:58.321Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://api.moveworks.ai/export/v1/records/conversations/$count?$orderby=created_time&$filter=created_time gt '{{start_date}}T00:00:00Z' and created_time lt '{{end_date}}T00:00:00Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://api.moveworks.ai/export/v1/records/conversations?$skip={{skip}}&$orderby=created_time&$filter=created_time gt '{{start_date}}T00:00:00Z' and created_time lt '{{end_date}}T00:00:00Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://api.moveworks.ai/export/v1/records/plugin-calls/$count?$orderby=created_time&$filter=created_time gt '{{start_date}}T00:00:00Z' and created_time lt '{{end_date}}T00:00:00Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://api.moveworks.ai/export/v1/records/plugin-calls?$skip={{skip}}&$orderby=created_time&$filter=created_time gt '{{start_date}}T00:00:00Z' and created_time lt '{{end_date}}T00:00:00Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://api.moveworks.ai/export/v1/records/plugin-resources/$count?$orderby=created_time&$filter=created_time gt '{{start_date}}T00:00:00Z' and created_time lt '{{end_date}}T00:00:00Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://api.moveworks.ai/export/v1/records/plugin-resources?$skip={{skip}}&$orderby=created_time&$filter=created_time gt '{{start_date}}T00:00:00Z' and created_time lt '{{end_date}}T00:00:00Z'' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Accept: application/json'
4 changes: 4 additions & 0 deletions plugins/outlook-book-meeting/.codeblocks/block_0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/me/mailboxSettings' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
19 changes: 19 additions & 0 deletions plugins/outlook-book-meeting/.codeblocks/block_1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
curl --request POST \
--url 'https://graph.microsoft.com/v1.0/me/events' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"subject": "{{event_title}}",
"body": { "contentType": "HTML", "content": "{{event_description}}" },
"start": { "dateTime": "{{start_date_time}}", "timeZone": "{{user_time_zone}}" },
"end": { "dateTime": "{{end_date_time}}", "timeZone": "{{user_time_zone}}" },
"attendees": [
{ "type": "required", "emailAddress": { "address": "{{attendee_email}}" } }
],
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness",
"recurrence": "{{recurrence}}",
"showAs": "{{show_as}}",
"sensitivity": "{{sensitivity}}",
"isAllDay": false
}'
8 changes: 8 additions & 0 deletions plugins/outlook-book-meeting/.codeblocks/block_2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
curl --request POST \
--url 'https://api.zoom.us/v2/users/me/meetings' \
--header 'Authorization: Bearer {{zoom_access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"topic": "{{event_title}}",
"type": 1
}'
11 changes: 11 additions & 0 deletions plugins/outlook-book-meeting/.codeblocks/block_3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
curl --request PATCH \
--url 'https://graph.microsoft.com/v1.0/me/events/{{event_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"body": {
"contentType": "HTML",
"content": "<p><strong>Zoom</strong></p><p><a href=\"{{join_url}}\">Join Zoom Meeting</a><br/>{{join_url}}<br/><br/>Meeting ID: {{zoom_meeting_id}}<br/>Passcode: {{password}}</p>"
},
"location": { "displayName": "{{join_url}}" }
}'
4 changes: 4 additions & 0 deletions plugins/outlook-cancel-meeting/.codeblocks/block_0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/me/mailboxSettings' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
5 changes: 5 additions & 0 deletions plugins/outlook-cancel-meeting/.codeblocks/block_1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/users/{{email}}/calendarView?startDateTime={{start_date_range}}&endDateTime={{end_date_range}}&$orderby=start/dateTime&$top=350' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--header 'Prefer: outlook.timezone="{{timezone}}"'
4 changes: 4 additions & 0 deletions plugins/outlook-cancel-meeting/.codeblocks/block_2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/me/events/{{event_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
7 changes: 7 additions & 0 deletions plugins/outlook-cancel-meeting/.codeblocks/block_3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
curl --request POST \
--url 'https://graph.microsoft.com/v1.0/me/events/{{event_id}}/cancel' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"comment": "{{reason_for_cancellation}}"
}'
13 changes: 13 additions & 0 deletions plugins/outlook-cancel-meeting/.codeblocks/block_4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
curl --request PATCH \
--url 'https://graph.microsoft.com/v1.0/me/events/{{series_master_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"recurrence": {
"pattern": "{{recurrence_pattern}}",
"range": {
"type": "endDate",
"endDate": "{{day_before_selected_occurrence}}"
}
}
}'
4 changes: 4 additions & 0 deletions plugins/outlook-lookup-availability/.codeblocks/block_0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/me/mailboxSettings' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
24 changes: 24 additions & 0 deletions plugins/outlook-lookup-availability/.codeblocks/block_1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
curl --request POST \
--url 'https://graph.microsoft.com/v1.0/me/findMeetingTimes' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--header 'Prefer: outlook.timezone="{{timezone}}"' \
--data '{
"attendees": [
{ "type": "required", "emailAddress": { "address": "{{required_attendee_email}}" } },
{ "type": "optional", "emailAddress": { "address": "{{optional_attendee_email}}" } }
],
"timeConstraint": {
"activityDomain": "work",
"timeSlots": [
{
"start": { "dateTime": "{{start_datetime}}", "timeZone": "{{timezone}}" },
"end": { "dateTime": "{{end_datetime}}", "timeZone": "{{timezone}}" }
}
]
},
"meetingDuration": "PT{{duration_in_minutes}}M",
"isOrganizerOptional": false,
"locationConstraint": { "isRequired": false, "suggestLocation": true },
"returnSuggestionReasons": true
}'
4 changes: 4 additions & 0 deletions plugins/outlook-respond-meeting/.codeblocks/block_0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/me/mailboxSettings' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
5 changes: 5 additions & 0 deletions plugins/outlook-respond-meeting/.codeblocks/block_1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/users/{{email}}/calendarView?startDateTime={{start_date_range}}&endDateTime={{end_date_range}}&$orderby=start/dateTime&$top=350' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--header 'Prefer: outlook.timezone="{{timezone}}"'
11 changes: 11 additions & 0 deletions plugins/outlook-respond-meeting/.codeblocks/block_2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
curl --request POST \
--url 'https://graph.microsoft.com/v1.0/me/events/{{event_id}}/{{action}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"comment": "{{comment}}",
"proposedNewTime": {
"start": { "dateTime": "{{start_date_time}}", "timeZone": "{{proposal_timezone}}" },
"end": { "dateTime": "{{end_date_time}}", "timeZone": "{{proposal_timezone}}" }
}
}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/me/mailboxSettings' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/users/{{email}}/calendarView?startDateTime={{start_date_range}}&endDateTime={{end_date_range}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--header 'Prefer: outlook.timezone="{{timezone}}"'
4 changes: 4 additions & 0 deletions plugins/outlook-update-meeting/.codeblocks/block_0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/me/mailboxSettings' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
5 changes: 5 additions & 0 deletions plugins/outlook-update-meeting/.codeblocks/block_1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/users/{{email}}/calendarView?startDateTime={{start_date_range}}&endDateTime={{end_date_range}}&$orderby=start/dateTime&$top=350' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--header 'Prefer: outlook.timezone="{{timezone}}"'
4 changes: 4 additions & 0 deletions plugins/outlook-update-meeting/.codeblocks/block_2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url 'https://graph.microsoft.com/v1.0/me/events/{{event_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json'
14 changes: 14 additions & 0 deletions plugins/outlook-update-meeting/.codeblocks/block_3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
curl --request PATCH \
--url 'https://graph.microsoft.com/v1.0/me/events/{{event_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"subject": "{{event_title}}",
"body": { "contentType": "HTML", "content": "{{event_description}}" },
"start": { "dateTime": "{{new_start_date_time}}", "timeZone": "{{user_timezone}}" },
"end": { "dateTime": "{{new_end_date_time}}", "timeZone": "{{user_timezone}}" },
"location": { "displayName": "{{location_display_name}}" },
"attendees": [
{ "type": "required", "emailAddress": { "address": "{{attendee_email}}" } }
]
}'
14 changes: 14 additions & 0 deletions plugins/outlook-update-meeting/.codeblocks/block_4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
curl --request POST \
--url 'https://graph.microsoft.com/v1.0/me/events' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"subject": "{{event_title}}",
"body": { "contentType": "HTML", "content": "{{event_description}}" },
"start": { "dateTime": "{{start_date_time}}", "timeZone": "{{user_time_zone}}" },
"end": { "dateTime": "{{end_date_time}}", "timeZone": "{{user_time_zone}}" },
"attendees": [...],
"recurrence": { "pattern": "{{pattern}}", "range": { "startDate": "{{occurrence_start_date}}" } },
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
curl --location 'https://your.domain.com/api/v3.0/expense/expensegroupconfigurations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{generated_bearer_token}}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
curl --location 'https://your.domain.com/api/v3.0/expense/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{generated_bearer_token}}' \
--header 'Content-Type: application/json' \
--data '{
"name": "{{report_name}}"
}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
curl --location 'https://your.domain.com/api/v3.0/expense/entries' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{generated_bearer_token}}' \
--header 'Content-Type: application/json' \
--data '{
"ReportID": "{{report_id}}",
"ExpenseTypeCode": "{{expense_type_code}}",
"PaymentTypeID": "{{payment_type_id}}",
"TransactionDate": "{{transaction_date}}",
"TransactionAmount": {{transaction_amount}},
"TransactionCurrencyCode": "{{currency_code}}",
"VendorDescription": "{{vendor_description}}",
"Comment": "{{comment}}"
}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --location 'https://your.domain.com/api/image/v1.0/expenseentry/{{expense_entry_id}}' \
--header 'Authorization: Bearer {{generated_bearer_token}}' \
--header 'Content-Type: image/jpeg' \
--data-binary '@{{receipt_file_path}}'
Loading
Loading