HOST: http://soa-reception-company.herokuapp.com/
For authentication, you need to pass an API token in the format "Bearer {token}"
This API uses Custom Header for its authentication.
The parameters that are needed to be sent for this type of authentication are as follows:
Authorization
create
-
Request (application/json)
- Attributes (ReceptionForm)
-
Response 200 (application/json)
OK
- Attributes (object)
-
Response 201
Created
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
getAll
-
Request (application/json)
- Attributes (ReceptionFormFilter)
-
Response 200 (application/json)
OK
- Attributes (Flux«ReceptionForm»)
-
Response 201
Created
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
approveFormsByCardIds
-
Request (application/json)
- Attributes (array[number])
-
Response 200 (application/json)
OK
- Attributes (Flux«ReceptionForm»)
-
Response 201
Created
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
declineFormsByCardIds
-
Request (application/json)
- Attributes (array[number])
-
Response 200 (application/json)
OK
- Attributes (Flux«ReceptionForm»)
-
Response 201
Created
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
- Parameters
-
id (number, required)
id
-
getById
-
Response 200 (application/json)
OK
- Attributes (object)
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
update
-
Request (application/json)
- Attributes (ReceptionForm)
-
Response 200 (application/json)
OK
- Attributes (object)
-
Response 201
Created
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
deleteById
-
Response 200 (application/json)
OK
- Attributes (object)
-
Response 204
No Content
-
Response 401
Unauthorized
-
Response 403
Forbidden
test
-
Response 200 (application/json)
OK
- Attributes (object)
-
Response 401
Unauthorized
-
Response 403
Forbidden
-
Response 404
Not Found
id
(number, optional)isLocked
(boolean, optional)name
(string, optional)password
(string, optional)roles
(array, optional)- (enum[string])
- Members
ADMIN
STUDENT
TEACHER
- Members
- (enum[string])
username
(string, optional)
prefetch
(number, optional)
approved
(boolean, optional)id
(number, optional)name
(string, optional)professionId
(number, optional)surname
(string, optional)
approved
(boolean, optional)