Home
Xero
Xero Getquote Example
Xero Getquote Example
Accounting Bank Feeds Finance Financial Services Invoicing Payroll Small Business
Xero Getquote Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationId method path summary requestExamples responseExamples
Example Payload
{
"operationId": "getQuote",
"method": "GET",
"path": "/Quotes/{QuoteID}",
"summary": "Xero Retrieves a specific quote using a unique quote Id",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"SummarizeErrors": true,
"Id": "e3626c45-77f1-4ab0-ba9b-3593c7bcd25c",
"Status": "OK",
"ProviderName": "provider-name",
"DateTimeUTC": "/Date(1580607864786)/",
"Quotes": [
{
"QuoteID": "1f90e77a-7b88-4462-874f-1aa675be8fef",
"QuoteNumber": "QU-0007",
"Reference": "MyQuote",
"Terms": "These are my terms",
"Contact": {
"ContactID": "4bc3ecb2-8e2a-4267-a171-0e0ce7e5ac2a",
"Name": "ABC Limited",
"EmailAddress": "john.smith@gmail.com",
"FirstName": "John",
"LastName": "Smith"
},
"LineItems": [
{
"LineItemID": "09b47d9f-f78d-4bab-b226-957f55bfb1b5",
"AccountCode": "400",
"Description": "Half day training - Microsoft Office",
"UnitAmount": 500.0,
"LineAmount": 500.0,
"ItemCode": "Train-MS",
"Quantity": 1.0,
"TaxAmount": 0.0,
"TaxType": "NONE",
"Tracking": [
{
"TrackingCategoryID": "9bd3f506-6d91-4625-81f0-0f9147f099f4",
"TrackingOptionID": "d30e2a0d-ae6f-4806-88ca-d8ebdba2af73",
"Name": "Avengers",
"Option": "IronMan"
}
]
}
],
"Date": "/Date(1580515200000)/",
"DateString": "2020-02-01 00:00:00",
"ExpiryDate": "/Date(1581724800000)/",
"ExpiryDateString": "2020-02-15 00:00:00",
"Status": "DRAFT",
"CurrencyRate": 1.54715,
"CurrencyCode": "NZD",
"SubTotal": 500.0,
"TotalTax": 0.0,
"Total": 500.0,
"TotalDiscount": 0.0,
"Title": "",
"Summary": "",
"BrandingThemeID": "324587a9-7eed-46c0-ad64-fa941a1b5b3e",
"UpdatedDateUTC": "/Date(1580607757040)/",
"LineAmountTypes": "EXCLUSIVE"
}
]
}
}
]
}