Skip to content

Latest commit

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Breezz RestAPI

This is an up-to-date wrapper for the Breezz.io REST API. Initially, we found it quite frustrating working with the API - hopefully this wrapper will make everything easier for you.

Find more information about the Breezz REST API at http://breezz.io/Support

Please email support@breezz.io if you find any bugs.

Index

Authentication

To make a REST API call, you must include request headers including the Authorization header ==> Find your TOKENID

Create

URL:

https://app.breezz.io/api/record/{ObjectID}

Method:

POST

Json exemple:

{"accountname" : "jhon","telephone1" : "+4406339060","idnumber" : "123456","billingcity" : "London"}

More exemple in PHP | python | ASP.NET |

Update

URL:

https://app.breezz.io/api/record/{ObjectID}/{id}

Method:

PUT

Json exemple:

{"accountname" : "jhon","telephone1" : "+4406339060","idnumber" : "123456","billingcity" : "London"}

More exemple in PHP | python | ASP.NET |

Delete

URL:

https://app.breezz.io/api/record/{ObjectID}/{id}

Method:

DELETE

More exemple in PHP | python | ASP.NET |

Query

URL:

https://app.breezz.io/api/query

Method:

POST

Json exemple:

{"objecttype": 1,"page_size": 50,"page_number": 1,"fields": "accountname,idnumber,telephone1","query": "(idnumber = 12345678) AND (accountname = 'john')","sort_by": "accountname","sort_type": "desc"}

More exemple in PHP | python | ASP.NET |

FieldDescriptionExample
objecttypeThe number of the objectAccounts=1, Contact=2,Deals=4 (See more..)
page_sizeThe number of results per pageMin:1 Max:500
page_numberThe page of the resultstart at: 1
fieldsWhich fields to show on the resultfor all field: *
queryThe query you want to search((idnumber = 1234) AND (idnumber = 5678))
sort_bySelect field to sort byaccountname/idnumber/telephone1
sort_typeSelect type to sortdesc/asc

Type of query:

OperatorDescriptionExample
=Find result equal to"query": "(idnumber = 1234)"
!=Find result not equal to"query": "(idnumber != 1234)"
>Greater than"query": "(age1 > age2)"
<Less than"query": "(age1 < age2)"
<=Greater than or equal to"query": "(age1 <= age2)"
>=Less than or equal to"query": "(age1 >= age2)"
ORPerforms a logical-OR of its bool operands"query": "((idnumber = 1234) OR (idnumber = 456789))"
ANDPerforms a logical-AND of its bool"query": "((idnumber = 1234) AND (accountname = 'משה'))"
is-nullLook for NULL values"query": "(idnumber is-null 1234567)"
is-not-nullLook for not NULL values"query": "(idnumber is-not-null 1234567)"
start-withFind if the string starts with the string"query": "(idnumber start-with 1234567)"
end-withFind if the string ends with the string"query": "(idnumber end-with 1234567)"
not-start-withFind if the string does not start with the string"query": "(idnumber not-start-with 1234567)"
not-end-withFind if the string does not end with the string"query": "(idnumber not-end-with 1234567)"

You can combine the AND and OR Conditions

Note

  • AND & OR conditions allow you to test multiple conditions.
  • Don't forget the order of the operation parentheses!

Go to your Breezz account and let's start!

About

Breezz Rest API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors