A quote is a finance scenario attached to an application. V1 is read-only — only index and show are exposed in routes/api.php.
Attributes
The shape returned by App\Http\Resources\V1\QuoteResource::toArray():
| Attribute | Type | Description |
|---|---|---|
ID |
string (UUID) | Stable public identifier. |
EnterpriseID |
string (UUID) | UUID of the owning enterprise — derived via Team::find($team_id)->uuid. |
Application |
object | array | Embedded ApplicationResource when the application relation is loaded. Both the list endpoint (Quote::with('application')) and the show endpoint ($quote->load('application')) eager-load it, so Application is always present in V1 responses. |
CreatedAt |
string (ISO 8601) | Record creation timestamp. |
UpdatedAt |
string (ISO 8601) | Record updated timestamp. |
The embedded application carries the full Application attributes shape.
List quotes
GET /api/v1/quotes
Returns a paginated list of quotes belonging to the enterprise identified by EnterpriseID. Page size is fixed at 100.
Request headers
| Header | Required | Description |
|---|---|---|
Authorization |
Yes | Bearer {token}. |
Accept |
Yes | application/json. |
EnterpriseID |
Yes | UUID of the enterprise. |
Responses
200— paginatedQuotesResourcecollection.403 Forbidden— caller is not a member of the enterprise.
Retrieve a quote
GET /api/v1/quotes/{quote:uuid}
Responses
200— singleQuoteResourceenvelope.403 Forbidden— caller is not a member of the enterprise or the quote'steam_iddoes not match.