with Microsoft Dynamics 365 Sales and Dachser?
Emit new event when the ownership of an account changes.
Emit new event when an account is activated or deactivated.
Emit new event when a contact is added to an account.
Emit new event when a new task or activity is created for an account.
Emit new event when a new account is created.
Retrieve the delivery order status using reference and customer details. See the documentation
Retrieve the full history for a shipment by tracking number and customer ID. See the documentation
Retrieve the current status for a shipment by tracking number and customer ID. See the documentation
Create a custom entity. See the documentation
Search for a contact by id, name, or using a custom filter. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_dynamics_365_sales: {
type: "app",
app: "microsoft_dynamics_365_sales",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.microsoft_dynamics_365_sales.$auth.api_url}/api/data/v9.2/WhoAmI`,
headers: {
Authorization: `Bearer ${this.microsoft_dynamics_365_sales.$auth.oauth_access_token}`,
"odata-maxversion": `4.0`,
"odata-version": `4.0`,
"content-type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dachser: {
type: "app",
app: "dachser",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-gateway.dachser.com/rest/v2/incominggoodsdocuments?date=2027-10-01`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.dachser.$auth.api_token}`,
},
})
},
})