latestOpenAPI 3.0.12026-08-192092911.2 MB

916e669fc527

Quotes

Get a quote

Retrieve the details of a single quote (required scope finance:read)

get/v1/finance/quotes/{quoteId}

Path parameters

quoteIdinteger required

The unique identifier of the quote

Headers

Customer-Idinteger required

The customer identifier

Response

OK

idinteger

The unique identifier of the quote

jobIdinteger nullable

The unique identifier of the job associated with this quote, if applicable

jobGroupIdinteger nullable

The unique identifier of the job group associated with this quote, if applicable

contactIdinteger

The unique identifier of the contact associated with this quote

contractIdinteger nullable

The unique identifier of the contract associated with this quote, if applicable.<br/>Shown even if the contract has been soft deleted

createdAtstring date-time

The dateTime the quote was created

referencestring

The reference of the quote

currencyCode'EUR' | 'AUD' | 'GBP' | 'BGN' | 'CAD' | 'CZK' | 'DKK' | 'HUF' | 'ILS' | 'LVL' | 'LTL' | 'MXN' | 'NZD' | 'NOK' | 'PLN' | 'RON' | 'RUB' | 'ZAR' | 'SEK' | 'CHF' | 'AED' | 'USD' | 'UNKNOWN'

CurrencyCode definitions enum, matches currencies available in the BigChange Client Site with an unknown value to handle unrecognised currencies returned from the database<p>Possible values:</p><ul><li><b>EUR</b>: Euro</li><li><b>AUD</b>: Australian Dollar</li><li><b>GBP</b>: Pound Sterling</li><li><b>BGN</b>: Bulgarian Lev</li><li><b>CAD</b>: Canadian Dollar</li><li><b>CZK</b>: Czech Koruna</li><li><b>DKK</b>: Danish Krone</li><li><b>HUF</b>: Forint</li><li><b>ILS</b>: New Israeli Sheqel</li><li><b>LVL</b>: Latvian Lats - replaced by Euro</li><li><b>LTL</b>: Lithuanian Litas - replaced by Euro</li><li><b>MXN</b>: Mexican Peso</li><li><b>NZD</b>: New Zealand Dollar</li><li><b>NOK</b>: Norwegian Krone</li><li><b>PLN</b>: Zloty</li><li><b>RON</b>: Romanian Leu</li><li><b>RUB</b>: Russian Ruble</li><li><b>ZAR</b>: Rand</li><li><b>SEK</b>: Swedish Krona</li><li><b>CHF</b>: Swiss Franc</li><li><b>AED</b>: UAE Dirham</li><li><b>USD</b>: US Dollar</li><li><b>UNKNOWN</b>: Unknown currency</li></ul>

deliverySiteContactIdinteger nullable

The unique identifier of the delivery site contact associated with this quote, if applicable

nominalCodeIdinteger nullable

The unique identifier of the nominal code associated with this quote, if applicable

departmentCodeIdinteger nullable

The unique identifier of the department associated with this quote, if applicable

clientNotesstring

Notes on the quote

internalNotesstring

Internal notes not visible to the client

sentAtstring date-time nullable

The date and time when the quote was sent, if applicable

acceptedAtstring date-time nullable

The date and time when the quote was accepted, if applicable

rejectedAtstring date-time nullable

The date and time when the quote was rejected, if applicable

cancelledAtstring date-time nullable

The date and time when the quote was cancelled, if applicable

costnumber double nullable

The cost of the quote

totalExclTaxnumber double

The total amount excluding tax

totalInclTaxnumber double

The total amount including tax

totalPaidnumber double

The total amount paid

daysValidForinteger nullable

The number of days the quote is valid for

Example response

{
  "id": 12345,
  "jobId": 54321,
  "jobGroupId": 67890,
  "contractId": 101112,
  "createdAt": "2022-11-29T16:50:16.0000000+00:00",
  "reference": "quoteNote101",
  "currencyCode": "EUR",
  "deliverySiteContactId": 56789,
  "nominalCodeId": 45678,
  "departmentCodeId": 23456,
  "clientNotes": "Please pay within 30 days",
  "internalNotes": "Follow up in two weeks",
  "sentAt": "2024-01-15T10:30:00.0000000+00:00",
  "acceptedAt": "2024-01-20T11:00:00.0000000+00:00",
  "rejectedAt": "2024-01-20T11:00:00.0000000+00:00",
  "cancelledAt": "2024-02-20T14:45:00.0000000+00:00",
  "cost": 850.5,
  "totalExclTax": 1000,
  "totalInclTax": 1200,
  "totalPaid": 1200,
  "daysValidFor": 10,
  "customFields": [
    {
      "definitionId": 5514123,
      "value": "Purple",
      "definition": {
        "caption": "Favourite colour",
        "type": "boolean",
        "listOptions": [
          "Red",
          "Blue",
          "Green",
          "Purple"
        ],
        "isRequired": true,
        "isEditable": true,
        "default": "10"
      },
      "systemListValueMetadata": {
        "label": "John Doe",
        "entityType": "resource"
      }
    }
  ]
}