Skip to main content
Glama
get-job-line-items.ts777 B
import { createAction, Property } from "@activepieces/pieces-framework"; import { housecallProAuth, makeHousecallProRequest } from "../common"; import { HttpMethod } from "@activepieces/pieces-common"; export const getJobLineItems = createAction({ auth: housecallProAuth, name: "get_job_line_items", displayName: "Lists all line items for a job", description: "Retrieve all line items for a specific job", props: { job_id: Property.ShortText({ displayName: "Job ID", description: "The ID of the job", required: true, }), }, async run({ auth, propsValue }) { const response = await makeHousecallProRequest( auth, `/jobs/${propsValue['job_id']}/line_items`, HttpMethod.GET ); return response.body; }, });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server