You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By passing in the appropriate options, you can search for
27
+
available fixed asset in the system
28
+
parameters:
29
+
- name: status
30
+
in: query
31
+
description: Required when retrieving a collection of assets. See Asset Status Codes
32
+
schema:
33
+
type: string
34
+
enum: [Draft,Registered,Disposed]
35
+
example: Draft
36
+
- name: page
37
+
in: query
38
+
description: Results are paged. This specifies which page of the results to return. The default page is 1.
39
+
schema:
40
+
type: integer
41
+
example: 1
42
+
- name: pageSize
43
+
in: query
44
+
description: The number of records returned per page. By default the number of records returned is 10.
45
+
schema:
46
+
type: integer
47
+
example: 5
48
+
- name: orderBy
49
+
in: query
50
+
description: Requests can be ordered by AssetType, AssetName, AssetNumber, PurchaseDate and PurchasePrice. If the asset status is DISPOSED it also allows DisposalDate and DisposalPrice.
description: A string that can be used to filter the list to only return assets containing the text. Checks it against the AssetName, AssetNumber, Description and AssetTypeName fields.
65
+
schema:
66
+
type: string
67
+
example: Draft
68
+
security:
69
+
- apiKey: []
70
+
responses:
71
+
'200':
72
+
description: search results matching criteria
73
+
content:
74
+
application/json:
75
+
schema:
76
+
$ref: '#/components/schemas/Assets'
77
+
'400':
78
+
description: bad input parameter
79
+
post:
80
+
tags:
81
+
- Asset
82
+
summary: adds a fixed asset
83
+
operationId: createAsset
84
+
description: Adds an asset to the system
85
+
security:
86
+
- apiKey: []
87
+
responses:
88
+
'200':
89
+
description: search results matching criteria
90
+
content:
91
+
application/json:
92
+
schema:
93
+
$ref: '#/components/schemas/Asset'
94
+
'400':
95
+
description: 'invalid input, object invalid'
96
+
requestBody:
97
+
required: true
98
+
content:
99
+
application/json:
100
+
schema:
101
+
$ref: '#/components/schemas/Asset'
102
+
description: Fixed asset to add
103
+
/Assets/{id}:
104
+
get:
105
+
tags:
106
+
- Asset
107
+
summary: retrieves fixed asset by id
108
+
operationId: getAssetById
109
+
description: |
110
+
By passing in the appropriate asset id, you can search for
111
+
a specific fixed asset in the system
112
+
parameters:
113
+
- name: id
114
+
in: path
115
+
required: true
116
+
description: fixed asset id for single object
117
+
schema:
118
+
type: string
119
+
format: uuid
120
+
example: xxxx
121
+
security:
122
+
- apiKey: []
123
+
responses:
124
+
'200':
125
+
description: search results matching criteria
126
+
content:
127
+
application/json:
128
+
schema:
129
+
$ref: '#/components/schemas/Asset'
130
+
'400':
131
+
description: bad input parameter
132
+
/AssetTypes:
133
+
get:
134
+
tags:
135
+
- Asset
136
+
summary: searches fixed asset types
137
+
operationId: getAssetTypes
138
+
description: |
139
+
By passing in the appropriate options, you can search for
140
+
available fixed asset types in the system
141
+
security:
142
+
- apiKey: []
143
+
responses:
144
+
'200':
145
+
description: search results matching criteria
146
+
content:
147
+
application/json:
148
+
schema:
149
+
type: array
150
+
items:
151
+
$ref: '#/components/schemas/AssetType'
152
+
'400':
153
+
description: bad input parameter
154
+
post:
155
+
tags:
156
+
- Asset
157
+
summary: adds a fixed asset type
158
+
operationId: createAssetType
159
+
description: Adds an fixed asset type to the system
160
+
security:
161
+
- apiKey: []
162
+
responses:
163
+
'200':
164
+
description: search results matching criteria
165
+
content:
166
+
application/json:
167
+
schema:
168
+
$ref: '#/components/schemas/AssetType'
169
+
'400':
170
+
description: 'invalid input, object invalid'
171
+
'409':
172
+
description: an existing type already exists
173
+
requestBody:
174
+
content:
175
+
application/json:
176
+
schema:
177
+
$ref: '#/components/schemas/AssetType'
178
+
description: Asset type to add
179
+
/Settings:
180
+
get:
181
+
tags:
182
+
- Asset
183
+
summary: searches fixed asset settings
184
+
operationId: getAssetSettings
185
+
description: |
186
+
By passing in the appropriate options, you can search for
0 commit comments