@@ -5381,65 +5381,6 @@ paths:
53815381 }
53825382 ]
53835383 }'
5384- post:
5385- security:
5386- - OAuth2: [accounting.settings]
5387- tags:
5388- - Accounting
5389- operationId: updateEmployee
5390- summary: Allows you to update a specific employee used in Xero payrun
5391- parameters:
5392- - required: true
5393- in: path
5394- name: EmployeeID
5395- description: Unique identifier for a Employee
5396- example: "00000000-0000-0000-000-000000000000"
5397- schema:
5398- type: string
5399- format: uuid
5400- responses:
5401- '200':
5402- description: Success - return response of type Employees array with updated Employee
5403- content:
5404- application/json:
5405- schema:
5406- $ref: '#/components/schemas/Employees'
5407- example: '{
5408- "Id": "862a4881-cab6-498d-9443-77f0f5a3f5ea",
5409- "Status": "OK",
5410- "ProviderName": "Java Partner Example",
5411- "DateTimeUTC": "\/Date(1552325081334)\/",
5412- "Employees": [
5413- {
5414- "EmployeeID": "ad3db144-6362-459c-8c36-5d31d196e629",
5415- "Status": "ACTIVE",
5416- "FirstName": "Bruce",
5417- "LastName": "Banner",
5418- "ExternalLink": {
5419- "Url": "http://twitter.com/#!/search/Nick+Fury",
5420- "Description": "Go to external link"
5421- },
5422- "UpdatedDateUTC": "\/Date(1552325081303+0000)\/"
5423- }
5424- ]
5425- }'
5426- '400':
5427- $ref: '#/components/responses/400Error'
5428- requestBody:
5429- required: true
5430- content:
5431- application/json:
5432- schema:
5433- $ref: '#/components/schemas/Employees'
5434- example: '{
5435- employees:[
5436- {
5437- employeeID:"00000000-0000-0000-000-000000000000",
5438- firstName:"Natasha",
5439- lastName:"Romanoff"
5440- }
5441- ]
5442- }'
54435384 /ExpenseClaims:
54445385 parameters:
54455386 - $ref: '#/components/parameters/requiredHeader'
@@ -11734,6 +11675,35 @@ contact: {}, date:"2020-01-01", user:{} } ] } ] }'
1173411675 $ref: '#/components/responses/400Error'
1173511676 requestBody:
1173611677 $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
1173711707 '/Quotes/{QuoteID}/Attachments':
1173811708 parameters:
1173911709 - $ref: '#/components/parameters/requiredHeader'
0 commit comments