Skip to content

Commit bb7af27

Browse files
committed
Merge branch 'master' into sid-development
2 parents 1b56781 + 3e11f5a commit bb7af27

File tree

2 files changed

+34
-64
lines changed

2 files changed

+34
-64
lines changed

accounting-yaml/xero_accounting.yaml

Lines changed: 29 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -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'

assets-yaml/xero_assets.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ paths:
113113
"purchaseDate":"2020-01-01T00:00:00",
114114
"purchasePrice":100.0000,
115115
"disposalPrice":0.0,
116-
"assetStatus":"Draft",
116+
"assetStatus":"DRAFT",
117117
"trackingItems":[
118118
],
119119
"bookDepreciationSetting":{
@@ -149,7 +149,7 @@ paths:
149149
"purchaseDate":"2020-01-01T00:00:00",
150150
"purchasePrice":100.0000,
151151
"disposalPrice":0.0,
152-
"assetStatus":"Draft",
152+
"assetStatus":"DRAFT",
153153
"trackingItems":[
154154
155155
],
@@ -206,7 +206,7 @@ paths:
206206
"purchaseDate":"2020-01-01T00:00:00",
207207
"purchasePrice":100.0000,
208208
"disposalPrice":23.2300,
209-
"assetStatus":"Draft",
209+
"assetStatus":"DRAFT",
210210
"trackingItems":[],
211211
"bookDepreciationSetting":{
212212
"depreciableObjectId":"2257c64a-77ca-444c-a5ea-fa9a588c7039",
@@ -264,7 +264,7 @@ paths:
264264
"purchaseDate":"2020-01-01",
265265
"purchasePrice":100.0,
266266
"disposalPrice":23.23,
267-
"assetStatus":"Draft",
267+
"assetStatus":"DRAFT",
268268
"bookDepreciationSetting":{
269269
"depreciationMethod":"StraightLine",
270270
"averagingMethod":"ActualDays",
@@ -317,7 +317,7 @@ paths:
317317
"purchaseDate":"2020-01-01T00:00:00",
318318
"purchasePrice":100.0000,
319319
"disposalPrice":23.0000,
320-
"assetStatus":"Draft",
320+
"assetStatus":"DRAFT",
321321
"trackingItems":[
322322
323323
],

0 commit comments

Comments
 (0)