Run your entire business with a single solution
Microsoft Dynamics 365 Business Central is a powerful tool that can help
businesses automate their processes and improve their bottom line. The API
allows businesses to connect to their Business Central instance and access
their data. With the API, businesses can perform actions such as:
The possibilities are endless! Businesses can use the API to build custom
solutions that fit their specific needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dynamics_365_business_central_api: {
type: "app",
app: "dynamics_365_business_central_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/beta/me`,
headers: {
Authorization: `Bearer ${this.dynamics_365_business_central_api.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})