Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GET report_sti/_search
- {
- "size": 1000,
- "query": {
- "filtered": {
- "query": {
- "match_all": {}
- },
- "filter": {
- "and": {
- "filters": [
- {
- "and": {
- "filters": [
- {
- "has_child": {
- "filter": {
- "and": {
- "filters": [
- {
- "has_child": {
- "filter": {
- "and": {
- "filters": [
- {
- "term": {
- "entity.id": 1605
- }
- }
- ]
- }
- }
- , "type": "requested_procedure"
- }
- }
- ]
- }
- },
- "type": "requested_procedure_step"
- }
- },
- {
- "range": {
- "entity.json.date": {
- "from": "2015-08-03",
- "to": "2015-08-10"
- }
- }
- },
- {
- "term": {
- "entity.json.scheduleRoom": 155
- }
- }
- ]
- }
- }
- ]
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement