|
98 | 98 | }
|
99 | 99 | }
|
100 | 100 | }
|
101 |
| - }, |
102 |
| - "post": { |
103 |
| - "tags": [ |
104 |
| - "attendanceRegister" |
105 |
| - ], |
106 |
| - "summary": "Insere um registro", |
107 |
| - "description": "Insere um registro", |
108 |
| - "operationId": "Post", |
109 |
| - "x-totvs": { |
110 |
| - "productInformation": [ |
111 |
| - { |
112 |
| - "product": "RM", |
113 |
| - "available": true, |
114 |
| - "note": "Este verbo não está disponível", |
115 |
| - "minimalVersion": "12.1.32" |
116 |
| - } |
117 |
| - ] |
118 |
| - }, |
119 |
| - "parameters": [ |
120 |
| - { |
121 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" |
122 |
| - } |
123 |
| - ], |
124 |
| - "requestBody": { |
125 |
| - "description": "Objeto para inserir um registro", |
126 |
| - "content": { |
127 |
| - "application/json": { |
128 |
| - "schema": { |
129 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/AttendanceRegister_1_000.json#/definitions/AttendanceRegister" |
130 |
| - } |
131 |
| - } |
132 |
| - } |
133 |
| - }, |
134 |
| - "responses": { |
135 |
| - "200": { |
136 |
| - "description": "Registro inserido com sucesso", |
137 |
| - "content": { |
138 |
| - "application/json": { |
139 |
| - "schema": { |
140 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/AttendanceRegister_1_000.json#/definitions/AttendanceRegister" |
141 |
| - } |
142 |
| - } |
143 |
| - } |
144 |
| - }, |
145 |
| - "400": { |
146 |
| - "description": "Erro no momento da alteração", |
147 |
| - "content": { |
148 |
| - "application/json": { |
149 |
| - "schema": { |
150 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" |
151 |
| - } |
152 |
| - } |
153 |
| - } |
154 |
| - } |
155 |
| - } |
156 | 101 | }
|
157 | 102 | },
|
158 | 103 | "/attendanceRegister/{id}": {
|
|
209 | 154 | }
|
210 | 155 | }
|
211 | 156 | }
|
212 |
| - }, |
213 |
| - "put": { |
214 |
| - "tags": [ |
215 |
| - "attendanceRegister" |
216 |
| - ], |
217 |
| - "summary": "Atualiza um registro", |
218 |
| - "description": "Atualiza um registro", |
219 |
| - "operationId": "Put", |
220 |
| - "x-totvs": { |
221 |
| - "productInformation": [ |
222 |
| - { |
223 |
| - "product": "RM", |
224 |
| - "available": true, |
225 |
| - "note": "Este verbo não está disponível", |
226 |
| - "minimalVersion": "12.1.32" |
227 |
| - } |
228 |
| - ] |
229 |
| - }, |
230 |
| - "parameters": [ |
231 |
| - { |
232 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" |
233 |
| - }, |
234 |
| - { |
235 |
| - "$ref": "#/components/parameters/id", |
236 |
| - "required": "true" |
237 |
| - } |
238 |
| - ], |
239 |
| - "requestBody": { |
240 |
| - "description": "Objeto para atualizar registro", |
241 |
| - "content": { |
242 |
| - "application/json": { |
243 |
| - "schema": { |
244 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/AttendanceRegister_1_000.json#/definitions/AttendanceRegister" |
245 |
| - } |
246 |
| - } |
247 |
| - } |
248 |
| - }, |
249 |
| - "responses": { |
250 |
| - "200": { |
251 |
| - "description": "Registro atualizado com sucesso", |
252 |
| - "content": { |
253 |
| - "application/json": { |
254 |
| - "schema": { |
255 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/schemas/AttendanceRegister_1_000.json#/definitions/AttendanceRegister" |
256 |
| - } |
257 |
| - } |
258 |
| - } |
259 |
| - }, |
260 |
| - "400": { |
261 |
| - "description": "Erro no momento da alteração", |
262 |
| - "content": { |
263 |
| - "application/json": { |
264 |
| - "schema": { |
265 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" |
266 |
| - } |
267 |
| - } |
268 |
| - } |
269 |
| - } |
270 |
| - } |
271 |
| - }, |
272 |
| - "delete": { |
273 |
| - "tags": [ |
274 |
| - "attendanceRegister" |
275 |
| - ], |
276 |
| - "summary": "Exclui um registro", |
277 |
| - "x-totvs": { |
278 |
| - "productInformation": [ |
279 |
| - { |
280 |
| - "product": "RM", |
281 |
| - "available": true, |
282 |
| - "note": "Este verbo não está disponível", |
283 |
| - "minimalVersion": "12.1.32" |
284 |
| - } |
285 |
| - ] |
286 |
| - }, |
287 |
| - "description": "Exclui um registro", |
288 |
| - "operationId": "Delete", |
289 |
| - "parameters": [ |
290 |
| - { |
291 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/parameters/Authorization" |
292 |
| - }, |
293 |
| - { |
294 |
| - "$ref": "#/components/parameters/id" |
295 |
| - } |
296 |
| - ], |
297 |
| - "responses": { |
298 |
| - "200": { |
299 |
| - "description": "Registro excluído com sucesso" |
300 |
| - }, |
301 |
| - "400": { |
302 |
| - "description": "Erro no momento da exclusão do registro.", |
303 |
| - "content": { |
304 |
| - "application/json": { |
305 |
| - "schema": { |
306 |
| - "$ref": "https://raw.githubusercontent.com/totvs/ttalk-standard-message/master/jsonschema/apis/types/totvsApiTypesBase.json#/definitions/ErrorModel" |
307 |
| - } |
308 |
| - } |
309 |
| - } |
310 |
| - } |
311 |
| - } |
312 | 157 | }
|
313 | 158 | }
|
314 | 159 | },
|
|
0 commit comments