Run your entire business with a single solution
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
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}`,
},
})
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}