OurTradie provides solutions for online tradesmen and property managers. It doesn't really matter what type of work or service you are selling or buying on the Internet: from building to electrical work and even dog grooming services. This program will help both tradies and their customers feel empowered and choose the best options to suit their business purposes. We help tradies, property managers, tenants and landlords work through maintenance tasks more efficiently together.
GET |
|
Parameter | Description | Required |
response_type | The value of this field should always be: code | Yes |
client_id | The "Client Id" value generated in ourtradie. | Yes |
authorize | An integer value should be pass. | Yes |
redirect_uri |
The URI your responses will be sent back to after authorization. This value must match with redirect url you specified on api access. |
Yes |
state |
A unique string value of your choice that is
hard to guess. Used to prevent CSRF.
|
Yes |
Parameter | Description |
code | Authorization code from OAuth 2.0 endpoint. |
state | The unique string value you passed on request. |
GET |
|
Parameter | Description | Required |
code | Use the code got from authorize method. | Yes |
client_id | The "Client Id" value generated in ourtradie. | Yes |
client_secret | The "Client Secret" value generated in ourtradie. | Yes |
grant_type | While using authorization code to get token, value should always be: authorization_code | Yes |
Parameter | Description |
access_token | Accesstoken generated from OAuth 2.0 endpoint. |
expires_in | Token expiration time in minutes. |
token_type | Type of OAuth generated token. |
refresh_token | Accesstoken generated from OAuth 2.0 endpoint. Once access token expired, Use this to get new access token. |
GET |
|
Parameter | Description | Required |
refresh_token | Use the refresh_token previously got. | Yes |
client_id | The "Client Id" value generated in ourtradie. | Yes |
client_secret | The "Client Secret" value generated in ourtradie. | Yes |
grant_type | While using refresh token to get token, value should always be: refresh_token | Yes |
Parameter | Description |
access_token | Accesstoken generated from OAuth 2.0 endpoint. |
expires_in | Token expiration time in minutes. |
token_type | Type of OAuth generated token. |
refresh_token | Accesstoken generated from OAuth 2.0 endpoint. Once access token expired, Use this to get new access token. |
POST |
|
Listing customers using api.
Parameter | Description |
AgencyNumber | Customer Number (ID). |
AgencyName | Name of the Customer. |
InternalID | Unique code of the Customer. |
PhoneNumber | Customer Contact Number. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Tenant's Detail by Email using api
Parameter | Description | Required |
Tenant's Email | Yes |
Parameter | Description |
RenterId | Tenant Number (ID). |
PropertyAddress | Address of the Tenant. |
RenterName | Name of the Tenant. |
PropertyRef | Unique Code of the Property. |
AgencyName | Name of the Agency. |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Tenant's Detail by Mobile Number using api
Parameter | Description | Required |
Mobile Number | Tenant's Mobile Number | Yes |
Parameter | Description |
RenterId | Tenant Number (ID). |
PropertyAddress | Address of the Tenant. |
RenterName | Name of the Tenant. |
PropertyRef | Unique Code of the Property. |
AgencyName | Name of the Agency. |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Tenant's Rental Detail using api
Parameter | Description | Required |
PropertyRef | Unique Code of the Property. | |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
RentDue | Rent Due Amount. |
RentDateDue | Rent Due Date. |
RentStatus | Rent Status. |
Frequency | Rent Frequency. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Tenant's Contract Detail using api
Parameter | Description | Required |
PropertyRef | Unique Code of the Property. | |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
ContractTerm | Contract Term Period. |
MoveInDate | Contract Start Date. |
NotificationPeriod | Notification Period. |
EndDate | Contract End Date. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Agency Prefered Plumber using api.
Parameter | Description | Required |
PropertyRef | Unique Code of the Property. | |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
CompanyName | Name of the Plumbing Company. |
PersonName | Tradie Name. |
PersonEmail | Tradie Email. |
PersonMobile | Tradie Mobile Number. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Agency Prefered Electrician using api.
Parameter | Description | Required |
PropertyRef | Unique Code of the Property. | |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
CompanyName | Name of the Electrician Company. |
PersonName | Tradie Name. |
PersonEmail | Tradie Email. |
PersonMobile | Tradie Mobile Number. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Agency Prefered HandyMan using api.
Parameter | Description | Required |
PropertyRef | Unique Code of the Property. | |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
CompanyName | Name of the HandyMan Company. |
PersonName | Tradie Name. |
PersonEmail | Tradie Email. |
PersonMobile | Tradie Mobile Number. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Agency Prefered LockSmith using api.
Parameter | Description | Required |
PropertyRef | Unique Code of the Property. | |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
CompanyName | Name of the LockSmith Company. |
PersonName | Tradie Name. |
PersonEmail | Tradie Email. |
PersonMobile | Tradie Mobile Number. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Property Manager Contact Details using api.
Parameter | Description | Required |
PropertyRef | Unique Code of the Property. | |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
Name | Name of the Property Manager. |
Email of the Property Manager. | |
OfficePhone | Property Manger's Phone Number. |
OfficeLocationAddress | Property Manger's Office Location Address. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Bond Detail using api.
Parameter | Description | Required |
PropertyRef | Unique Code of the Property. | |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
PaidAmount | Bond Paid Amount. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Retrieve Agency's Detail.
Parameter | Description | Required |
PropertyRef | Unique Code of the Property. | |
AgencyInternalID | Unique Code of the Agency. |
Parameter | Description |
Address | Address of the Agency. |
OfficeName | Agency Office Name. |
Phone | Mobile Number of the Agency. |
Email of the Agency. | |
OperatingHours | Working Hours of the Agency. |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Save Property Conversation Log using api.
Parameter | Description | Required |
Tenant's Email | Yes | |
Log Transcript | Log Data | Yes |
Parameter | Description |
Save Response | True/False |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |
POST |
|
Save Agency Log using api.
Parameter | Description | Required |
Agency's Email | Yes | |
Log Transcript | Log Data | Yes |
Parameter | Description |
Save Response | True/False |
Parameter | Description |
error | If api call failed, will get error message. |
error_description | Failed response description will obtain this field. |