Skip to content

Instantly share code, notes, and snippets.

@nfrigus
Last active February 22, 2016 09:18
Show Gist options
  • Save nfrigus/a8d346b4e17ca8b5cf91 to your computer and use it in GitHub Desktop.
Save nfrigus/a8d346b4e17ca8b5cf91 to your computer and use it in GitHub Desktop.
RD request template

request

{
	"offset": 0,
	"limit": 10,
	"order": {
		"column1" : "ASC",
		"column2" : "DESC"
	},
	"filter": [CRITERIA_LIST],
}

criteria

{
  "column": "column_name",
  "operator": "LIKE",
  "value": "filter_falue",
}

Operator field supports opertaors similar to sql:

  • < - less than
    • more than
  • = - equals
  • <> - not equals
  • LIKE - match pattern
  • NOT LIKE - not match pattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment