[beta] Create a maintenance estimate

Create a priced vendor quote or expected-cost recommendation for a work order.

Rate limit: 100 requests/min (learn more about rate limits here).

To use this endpoint, select Write Work Orders under the Work Orders category when creating or editing an API token. Learn More.

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean

Include estimate external identifiers. Defaults to false.

Body Params

Create a priced recommendation or vendor quote. Only vendorQuote can be created with an approved or denied decision through Samsara approval and UTS. Native decision requests require nonempty externalIds for safe retries. Combined normalized quote content and external metadata must not exceed 245,760 bytes. Attach files through the attachment endpoint.

string
enum

Defaults to unapproved on create. Approved or denied records a decision through Samsara approval and UTS and requires a stable externalIds identifier for retries; approval never awards the estimate. Valid values: unapproved, approved, denied

Allowed:
string
enum

Recommendation or vendor quote. Defaults to vendorQuote when omitted. expectedCost requires an externally managed work order and must be created unapproved; lineItems and tax remain required. Valid values: expectedCost, vendorQuote

Allowed:
externalIds
object

Estimate external identifiers. Responses include these only when includeExternalIds=true; default omitted.

externalRequest
object

Optional provider metadata. Every child is optional. PATCH replaces the whole object, null or an empty object clears it, and omission preserves it. Nonempty provider metadata requires an actual quote or an active selected recommendation.

lineItems
array of objects
required
length between 1 and 200

Complete set of 1 to 200 priced lines when supplied.

lineItems*
string
length ≤ 4000

Notes, at most 4000 Unicode characters.

date-time

Actual quote timestamp. Omit if the source only has a date; do not invent a time or offset.

string

Same-WO/vendor denied estimate superseded by this quote.

tax
object
required

Nonnegative amount in the organization's currency. Supported currencies: usd, gbp, cad, eur, chf, mxn. Exact decimal strings are required.

string
required

Same-org vendor location UUID or external ID.

string
required

Same-org numeric work order ID.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json