with NinjaOne and SolarWinds Service Desk?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ninjaone: {
type: "app",
app: "ninjaone",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.ninjaone.$auth.region}.ninjarmm.com/v2/users`,
headers: {
Authorization: `Bearer ${this.ninjaone.$auth.oauth_access_token}`,
},
})
},
})
The SolarWinds Service Desk API provides a way to automate and integrate your IT service management processes. Using this API in Pipedream, you can create, update, and track service requests, manage incidents, problems, and changes, access asset information, and leverage user data within your workflows. It's about connecting your service desk with other apps to streamline processes, reduce response times, and enhance service delivery.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
solarwinds_service_desk: {
type: "app",
app: "solarwinds_service_desk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.samanage.com/users.json`,
headers: {
"X-Samanage-Authorization": `Bearer ${this.solarwinds_service_desk.$auth.json_web_token}`,
"Accept": `application/json`,
},
})
},
})