Table of Contents | ||||
---|---|---|---|---|
|
...
Page Properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Logic
...
Filter services by search params.
Render found services with all fields from PRM DB.
Filters
See on Apiary
Request structure
...
Request to process the request using a token in the headers
Headers
Наприклад:
Content-Type:application/json
...
API paragraph not found
Processing
...
Service logic
Service returns all services grouped by service_groups (skipping services and service groups if them service_inclusion.is_active = false) filtered by submitted parameters from redis (origin PRM DB)
Get service_group
Get services
Get service_inclusions (where service_inclusion.is_active = true)
Filter list above by submitted search parameters
Render a response according to specification with found service entities.
Response structure
See on Apiary
Response tree structure
Expand | ||
---|---|---|
| ||
Node 1
Node 2
Node 3
Node 4
Node 5
|
Example:
Expand | ||
---|---|---|
| ||
|
...