-
Notifications
You must be signed in to change notification settings - Fork 5
/
openapi.yaml
279 lines (279 loc) · 8.02 KB
/
openapi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
openapi: 3.0.3
info:
title: ADP APIs
description: ADP API endpoints.
version: 1.0.0
contact: {}
x-api-status-urls: false
x-konfig-ignore:
potential-incorrect-type: true
servers:
- url: '{{service-root}}'
- url: '{{security-token-service}}'
tags:
- description: ''
name: HR
- description: ''
name: Payroll
- description: Request an OAuth Bearer Token
name: Token Request
- description: ''
name: Core
- description: ''
name: Staffing
- description: ''
name: Talent
- description: ''
name: Time
paths:
/hr/v2/workers:
get:
tags:
- HR
summary: Worker V2 (List with Top 5 and Prevent Cache)
operationId: Hr_listTop5PreventCache
description: Request a collection of the top 5 workers using a URI cache-buster.
parameters:
- name: $top
in: query
schema:
type: string
example: '5'
- name: preventCache
in: query
schema:
type: string
example: TIMESTAMP
- name: $filter
in: query
schema:
type: string
example: >-
workers/workAssignments/homeOrganizationalUnits/typeCode/codeValue
eq 'Department' and
workers/workAssignments/homeOrganizationalUnits/nameCode/codeValue
eq '001000'
requestBody:
content:
application/octet-stream:
schema:
description: >-
WARNING: Missing schema in media type object. Missing schema has
been filled with this AnyType schema.
responses:
'200':
description: ''
/hr/v2/workers/{anthony-albright-aoid}:
parameters:
- name: anthony-albright-aoid
in: path
required: true
schema:
type: string
get:
tags:
- HR
summary: Worker V2 (Single by AOID)
operationId: Hr_getWorkerByAoid
description: Request a single worker given their AOID.
parameters:
- name: preventCache
in: query
schema:
type: string
example: TIMESTAMP
requestBody:
content:
application/octet-stream:
schema:
description: >-
WARNING: Missing schema in media type object. Missing schema has
been filled with this AnyType schema.
responses:
'200':
description: ''
/core/v1/operations/workerInformationManagement/hr.v2.workers/{key}:
parameters:
- name: key
in: path
required: true
schema:
type: string
get:
tags:
- HR
summary: Worker V2 (Check Async Request Status)
operationId: Hr_checkAsyncRequestStatus
description: >-
Check the status of an async request to the Worker API given the key
returned as part of the original asyn response's "link" header.
parameters:
- name: $select
in: query
schema:
type: string
example: processingStatus
requestBody:
content:
application/octet-stream:
schema:
description: >-
WARNING: Missing schema in media type object. Missing schema has
been filled with this AnyType schema.
responses:
'200':
description: ''
/hr/v2/worker-demographics:
get:
tags:
- HR
summary: Worker Demographics V2 (List with Top 5 and Prevent Cache)
operationId: Hr_listTop5PreventCache
description: >-
Request demographic data for a collection of the top 5 workers using a
URI cache-buster.
parameters:
- name: $top
in: query
schema:
type: string
example: '5'
- name: preventCache
in: query
schema:
type: string
example: TIMESTAMP
- name: $filter
in: query
schema:
type: string
example: >-
workers/workAssignments/homeOrganizationalUnits/typeCode/codeValue
eq 'Department' and
workers/workAssignments/homeOrganizationalUnits/nameCode/codeValue
eq '001000'
requestBody:
content:
application/octet-stream:
schema:
description: >-
WARNING: Missing schema in media type object. Missing schema has
been filled with this AnyType schema.
responses:
'200':
description: ''
/hr/v2/worker-demographics/{anthony-albright-aoid}:
parameters:
- name: anthony-albright-aoid
in: path
required: true
schema:
type: string
get:
tags:
- HR
summary: Worker Demographics V2 (Single by AOID)
operationId: Hr_getWorkerDemographicsByAoid
description: Request demographic data for a single worker given their AOID.
parameters:
- name: preventCache
in: query
schema:
type: string
example: TIMESTAMP
requestBody:
content:
application/octet-stream:
schema:
description: >-
WARNING: Missing schema in media type object. Missing schema has
been filled with this AnyType schema.
responses:
'200':
description: ''
/payroll/v1/payroll-output:
get:
tags:
- Payroll
summary: Payroll Outputs V1 (List for Region / Company Code / Year / Week)
operationId: Payroll_listPayrollOutputs
description: >-
Fetches a list of payroll outputs given a Region Code, Company Code,
Year and Week.
parameters:
- name: $filter
in: query
schema:
type: string
example: >-
payrollScheduleReference/payrollYear eq 2018 and
payrollScheduleReference/payrollWeekNumber eq 10 and
payrollGroupCode/codeValue eq %26Y%26 and
payrollRegionCode/codeValue eq BALT
- name: $count
in: query
schema:
type: string
example: 'true'
- name: use-cache
in: query
schema:
type: string
example: 'false'
- name: level
in: query
schema:
type: string
example: details
- name: $select
in: query
schema:
type: string
example: >-
earnings,reportableEarningsAndBenefits,reimbursements,statutoryDeductions,nonStatutoryDeductions,memos,configurationTags
requestBody:
content:
application/octet-stream:
schema:
description: >-
WARNING: Missing schema in media type object. Missing schema has
been filled with this AnyType schema.
responses:
'200':
description: ''
/auth/oauth/v2/token:
post:
tags:
- Token Request
summary: Token Request (Authorization Header)
operationId: TokenRequest_createWithAuthorizationHeader
description: >-
A request to get an OAuth bearer token for our demo ADP Workforce Now by
adding an Authorization header containing the base-64 encoded
credentials.
parameters:
- name: grant_type
in: query
schema:
type: string
example: client_credentials
- name: client_id
in: query
schema:
type: string
example: '{{client-id}}'
- name: client_secret
in: query
schema:
type: string
example: '{{client-secret}}'
requestBody:
content:
application/octet-stream:
schema:
description: >-
WARNING: Missing schema in media type object. Missing schema has
been filled with this AnyType schema.
responses:
'200':
description: ''