Remax Rest API - Version 1.0
Contact: ben@fyclabs.com
Introduction
Getting Started
Welcome to the Remax Mexico Developer's website.
You can authenticate to the API by providing your API key in the HTTP authorization bearer token header.
Remax uses simple token-based authentication. Your API key carries the same privileges as your user account, so be sure to keep it secret!
You can authenticate to the API by providing your API key in the HTTP authorization bearer token header.
Authorization: bearer YOUR_TOKENhttps://us-central1-remax-api.cloudfunctions.net/apiRequest Access
All API requests must be authenticated and made over HTTPS. To request a token please reach out to developers@remax.com.mx
Building Fetches
When building the options object provide the api with a queryParam of options and include a JSON string with your options.
Method: GET
Example: ?options=
Filter
Type:{ [key]:[string | number] }
A key value pair that tells the api to filter the records
Example :
"filter": {
"archivado": 0
}
Order
An array of order by statements. The first element in the array provides the field while the second provides the direction.
"order": [
["fecha_inicio", "DESC"],
["oficina_id", "ASC"]
]
Limit
An integer for limiting the number of records. Max number of records is 1000
"limit": 1000
Offset
An integer for setting the offset
"offset": 1001
Putting it all together
{
"filter": {
"archivado": 0
},
"order": [
["fecha_inicio", "DESC"],
["oficina_id", "ASC"]
],
"limit": 1000,
"offset": 1001
}
Building Inserts
...Coming SoonBuilding Updates
...Coming SoonBuilding Deletes
...Coming SoonDataTypes
Status Codes
Success Code
200 OK User error codes
These errors generally indicate a problem on the client side. If you are getting one of these, check your code and the request details.
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
413 Request Entity Too Large
422 Invalid Request