{ "operationId": "createQuotes", "method": "PUT", "path": "/Quotes", "summary": "Xero Create one or more quotes", "requestExamples": [ { "contentType": "application/json", "example": { "Quotes": [ { "Contact": { "ContactID": "00000000-0000-0000-0000-000000000000" }, "LineItems": [ { "Description": "Foobar", "Quantity": 1, "UnitAmount": 20, "AccountCode": "12775" } ], "Date": "2020-02-01" } ] } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "SummarizeErrors": false, "Id": "29571f5a-bf73-4bb6-9de5-86be44e6bf2e", "Status": "OK", "ProviderName": "provider-name", "DateTimeUTC": "/Date(1580607782916)/", "Quotes": [ { "QuoteID": "60031d53-6488-4321-9cbd-c1db6dbf9ba4", "QuoteNumber": "QU-0008", "Terms": "", "Contact": { "ContactID": "6a65f055-b0e0-471a-a933-d1ffdd89393f", "Name": "John Smith-82160", "EmailAddress": "" }, "LineItems": [ { "LineItemID": "26995857-0eea-45fb-b46c-f8ea896ec46e", "AccountCode": "12775", "Description": "Foobar", "UnitAmount": 20.0, "LineAmount": 20.0, "ItemCode": "", "Quantity": 1.0, "TaxAmount": 0.0, "Tracking": [] } ], "Date": "/Date(1580515200000)/", "DateString": "2020-02-01 00:00:00", "Status": "DRAFT", "CurrencyRate": 1.0, "CurrencyCode": "USD", "SubTotal": 20.0, "TotalTax": 0.0, "Total": 20.0, "UpdatedDateUTC": "/Date(1580607782913)/", "LineAmountTypes": "EXCLUSIVE", "StatusAttributeString": "OK" } ] } } ] }