with Microsoft Dataverse and Claris FileMaker Server Data API?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_dataverse: {
type: "app",
app: "microsoft_dataverse",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.microsoft_dataverse.$auth.environment_url}/api/data/v9.2/WhoAmI`,
headers: {
Accept: `application/json`,
Authorization: `Bearer ${this.microsoft_dataverse.$auth.oauth_access_token}`,
"OData-MaxVersion": `4.0`,
"OData-Version": `4.0`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
claris_filemaker_server_data_api: {
type: "app",
app: "claris_filemaker_server_data_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.claris_filemaker_server_data_api.$auth.api_url}/fmi/data/v2/databases/${this.claris_filemaker_server_data_api.$auth.database_name}/layouts`,
headers: {
Authorization: `Bearer ${this.claris_filemaker_server_data_api.$auth.oauth_access_token}`,
},
})
},
})