with NinjaOne and Taleez?
Emit new event when a candidate is added in Taleez. See the documentation
Emit new event when a job listing is created in Taleez. See the documentation
Creates a new support ticket in NinjaOne. See the documentation
Links an existing candidate to a job offer. See the documentation
Update details for a specific device in NinjaOne. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
taleez: {
type: "app",
app: "taleez",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.taleez.com/0/units`,
headers: {
"x-taleez-api-secret": `${this.taleez.$auth.secret_key}`,
"accept": `application/json;charset=UTF-8`,
},
params: {
page: `0`,
pageSize: `100`,
},
})
},
})