with SoftLedger and ASPSMS?
SoftLedger is a powerful API that enables you to automate accounting and financial tasks by integrating with your existing financial stack. By leveraging SoftLedger API on Pipedream, you can create custom workflows that streamline financial reporting, manage inventory, automate ledger entries, and sync financial data across applications. Pipedream's serverless platform allows you to connect the SoftLedger API with hundreds of other apps to trigger actions, process data, and automate repetitive tasks without writing complex code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
softledger: {
type: "app",
app: "softledger",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.softledger.com/api/locations/me`,
headers: {
Authorization: `Bearer ${this.softledger.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aspsms: {
type: "app",
app: "aspsms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://webapi.aspsms.com/CheckUserCredentials`,
params: {
Userkey: `${this.aspsms.$auth.user_key}`,
Password: `${this.aspsms.$auth.api_password}`,
},
})
},
})