Skip to content

Commit fcfd903

Browse files
authored
Merge pull request #165 from XeroAPI/wobinb-patch-8
Add getQuotesAsPDF
2 parents 380c1a9 + c5a4e2e commit fcfd903

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

accounting-yaml/xero_accounting.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11675,6 +11675,35 @@ contact: {}, date:"2020-01-01", user:{} } ] } ] }'
1167511675
$ref: '#/components/responses/400Error'
1167611676
requestBody:
1167711677
$ref: '#/components/requestBodies/historyRecords'
11678+
'/Quotes/{QuotesID}/pdf':
11679+
parameters:
11680+
- $ref: '#/components/parameters/requiredHeader'
11681+
x-related-model: Quote
11682+
get:
11683+
security:
11684+
- OAuth2: [accounting.transactions.read]
11685+
tags:
11686+
- Accounting
11687+
operationId: getQuoteAsPdf
11688+
x-path: '/Quotes/{QuoteID}'
11689+
summary: Allows you to retrieve quotes as PDF files
11690+
parameters:
11691+
- required: true
11692+
in: path
11693+
name: QuoteID
11694+
description: Unique identifier for an Quote
11695+
example: "00000000-0000-0000-000-000000000000"
11696+
schema:
11697+
type: string
11698+
format: uuid
11699+
responses:
11700+
'200':
11701+
description: Success - return response of byte array pdf version of specified Quotes
11702+
content:
11703+
application/pdf:
11704+
schema:
11705+
type: string
11706+
format: binary
1167811707
'/Quotes/{QuoteID}/Attachments':
1167911708
parameters:
1168011709
- $ref: '#/components/parameters/requiredHeader'

0 commit comments

Comments
 (0)