with Azure API for FHIR and Microsoft Viva Goals?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
azure_api_for_fhir: {
type: "app",
app: "azure_api_for_fhir",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.azure_api_for_fhir.$auth.account_name}.azurehealthcareapis.com/Patient`,
headers: {
Authorization: `Bearer ${this.azure_api_for_fhir.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_viva_goals: {
type: "app",
app: "microsoft_viva_goals",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/beta/employeeExperience/goals/exportJobs`,
headers: {
Authorization: `Bearer ${this.microsoft_viva_goals.$auth.oauth_access_token}`,
},
})
},
})