Workplace CRM Documentation

Introduction


clientKey applied to API Enpoints.

Each account has a clientKey which can be used to send API requests to the server. This clientKey can be found on your CRM's settings page. For DEMO Purpose, you can use our APIs.

clientKey = a1b2c3clientkey Apply Key

Note: DELETE endpoint has been disabled for the demo clientKey.

Users

Get Users

Gets all the Users registered under the application. By default the API returns all the Users using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=users&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Create Users

Creates new Users on an existing user. Users can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=users&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "name": "{{name}}",
        "email": "{{email}}",
        "password": "{{password}}",
        "role": "{{role}}",
        "phone": "{{phone}}",
        "usernumber": "{{usernumber}}",
        "timeAdded": "{{timeAdded}}",
        "businessName": "{{businessName}}",
        "mobilePhone": "{{mobilePhone}}",
        "homePhone": "{{homePhone}}",
        "address": "{{address}}",
        "city": "{{city}}",
        "state": "{{state}}",
        "zip": "{{zip}}",
        "website": "{{website}}",
        "company": "{{company}}",
        "location": "{{location}}",
        "post": "{{post}}",
        "description": "{{description}}",
        "addedBy": "{{addedBy}}",
        "userId": "{{userId}}",
        "current_pipeline_stage": "{{current_pipeline_stage}}",
        "profile_pic": "{{profile_pic}}",
        "isSubscribed": "{{isSubscribed}}",
        "salary": "{{salary}}",
        "e_wallet_balance": "{{e_wallet_balance}}",
        "monthlysalary": "{{monthlysalary}}",
        "otime": "{{otime}}",
        "allow": "{{allow}}",
        "date": "{{date}}",
        "loginAuth": "{{loginAuth}}",
        "work_shift_status": "{{work_shift_status}}",
        "lunch_status": "{{lunch_status}}",
        "break_status": "{{break_status}}",
    }
}
Update Users

Updates existing Users. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=users&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "name": "{{new name}}",
        "email": "{{new email}}",
        "password": "{{new password}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Delete Users

Deletes existing Users. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=users&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}

Customer Fields

Get Customer Fields

Gets all the Customer Fields registered under the application. By default the API returns all the Customer Fields using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=customer_fields&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "field_name": "{{field_name}}",
        ...
    }
}
Create Customer Fields

Creates new Customer Fields on an existing user. Customer Fields can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=customer_fields&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "field_name": "{{field_name}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Customer Fields

Updates existing Customer Fields. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=customer_fields&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "field_name": "{{new field_name}}",
        "timeAdded": "{{new timeAdded}}",
        "userId": "{{new userId}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "field_name": "{{field_name}}",
        ...
    }
}
Delete Customer Fields

Deletes existing Customer Fields. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=customer_fields&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "field_name": "{{field_name}}",
        ...
    }
}

Customer Field Values

Get Customer Field Values

Gets all the Customer Field Values registered under the application. By default the API returns all the Customer Field Values using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=customer_field_values&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "field_id": "{{field_id}}",
        ...
    }
}
Create Customer Field Values

Creates new Customer Field Values on an existing user. Customer Field Values can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=customer_field_values&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "field_id": "{{field_id}}",
        "value": "{{value}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
        "customer_id": "{{customer_id}}",
    }
}
Update Customer Field Values

Updates existing Customer Field Values. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=customer_field_values&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "field_id": "{{new field_id}}",
        "value": "{{new value}}",
        "timeAdded": "{{new timeAdded}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "field_id": "{{field_id}}",
        ...
    }
}
Delete Customer Field Values

Deletes existing Customer Field Values. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=customer_field_values&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "field_id": "{{field_id}}",
        ...
    }
}

Products

Get Products

Gets all the Products registered under the application. By default the API returns all the Products using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=products&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Create Products

Creates new Products on an existing user. Products can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=products&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "title": "{{title}}",
        "image": "{{image}}",
        "description": "{{description}}",
        "options": "{{options}}",
        "upcharges": "{{upcharges}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
        "qty": "{{qty}}",
        "unit_cost": "{{unit_cost}}",
    }
}
Update Products

Updates existing Products. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=products&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "title": "{{new title}}",
        "image": "{{new image}}",
        "description": "{{new description}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Delete Products

Deletes existing Products. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=products&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}

Tasks

Get Tasks

Gets all the Tasks registered under the application. By default the API returns all the Tasks using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tasks&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Create Tasks

Creates new Tasks on an existing user. Tasks can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tasks&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "title": "{{title}}",
        "description": "{{description}}",
        "assigned_to": "{{assigned_to}}",
        "status": "{{status}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Tasks

Updates existing Tasks. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tasks&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "title": "{{new title}}",
        "description": "{{new description}}",
        "assigned_to": "{{new assigned_to}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Delete Tasks

Deletes existing Tasks. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tasks&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}

Tags

Get Tags

Gets all the Tags registered under the application. By default the API returns all the Tags using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tags&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "tagname": "{{tagname}}",
        ...
    }
}
Create Tags

Creates new Tags on an existing user. Tags can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tags&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "tagname": "{{tagname}}",
        "ticket_id": "{{ticket_id}}",
        "color": "{{color}}",
    }
}
Update Tags

Updates existing Tags. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tags&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "tagname": "{{new tagname}}",
        "ticket_id": "{{new ticket_id}}",
        "color": "{{new color}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "tagname": "{{tagname}}",
        ...
    }
}
Delete Tags

Deletes existing Tags. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tags&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "tagname": "{{tagname}}",
        ...
    }
}

Calendar Reminders

Get Calendar Reminders

Gets all the Calendar Reminders registered under the application. By default the API returns all the Calendar Reminders using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=calendar_reminders&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Create Calendar Reminders

Creates new Calendar Reminders on an existing user. Calendar Reminders can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=calendar_reminders&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "title": "{{title}}",
        "apptDate": "{{apptDate}}",
        "description": "{{description}}",
        "timeAdded": "{{timeAdded}}",
        "apptTime": "{{apptTime}}",
        "userId": "{{userId}}",
        "customer_id": "{{customer_id}}",
    }
}
Update Calendar Reminders

Updates existing Calendar Reminders. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=calendar_reminders&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "title": "{{new title}}",
        "apptDate": "{{new apptDate}}",
        "description": "{{new description}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Delete Calendar Reminders

Deletes existing Calendar Reminders. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=calendar_reminders&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}

Leaves

Get Leaves

Gets all the Leaves registered under the application. By default the API returns all the Leaves using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=leaves&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Create Leaves

Creates new Leaves on an existing user. Leaves can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=leaves&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "name": "{{name}}",
        "start_date": "{{start_date}}",
        "end_date": "{{end_date}}",
        "description": "{{description}}",
        "admin_remarks": "{{admin_remarks}}",
        "status": "{{status}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Leaves

Updates existing Leaves. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=leaves&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "name": "{{new name}}",
        "start_date": "{{new start_date}}",
        "end_date": "{{new end_date}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Delete Leaves

Deletes existing Leaves. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=leaves&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}

Tickets

Get Tickets

Gets all the Tickets registered under the application. By default the API returns all the Tickets using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tickets&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Create Tickets

Creates new Tickets on an existing user. Tickets can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tickets&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "title": "{{title}}",
        "assigned_to": "{{assigned_to}}",
        "description": "{{description}}",
        "files": "{{files}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
        "closed_at": "{{closed_at}}",
        "customer_id": "{{customer_id}}",
        "status": "{{status}}",
        "ticket_number": "{{ticket_number}}",
        "tags": "{{tags}}",
        "notes": "{{notes}}",
    }
}
Update Tickets

Updates existing Tickets. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tickets&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "title": "{{new title}}",
        "assigned_to": "{{new assigned_to}}",
        "description": "{{new description}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Delete Tickets

Deletes existing Tickets. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=tickets&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}

Ticket Replies

Get Ticket Replies

Gets all the Ticket Replies registered under the application. By default the API returns all the Ticket Replies using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=ticket_replies&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "reply": "{{reply}}",
        ...
    }
}
Create Ticket Replies

Creates new Ticket Replies on an existing user. Ticket Replies can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=ticket_replies&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "reply": "{{reply}}",
        "files": "{{files}}",
        "ticketId": "{{ticketId}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
        "category": "{{category}}",
    }
}
Update Ticket Replies

Updates existing Ticket Replies. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=ticket_replies&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "reply": "{{new reply}}",
        "files": "{{new files}}",
        "ticketId": "{{new ticketId}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "reply": "{{reply}}",
        ...
    }
}
Delete Ticket Replies

Deletes existing Ticket Replies. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=ticket_replies&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "reply": "{{reply}}",
        ...
    }
}

Ticket Tags

Get Ticket Tags

Gets all the Ticket Tags registered under the application. By default the API returns all the Ticket Tags using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=ticket_tags&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "ticketId": "{{ticketId}}",
        ...
    }
}
Create Ticket Tags

Creates new Ticket Tags on an existing user. Ticket Tags can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=ticket_tags&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "ticketId": "{{ticketId}}",
        "tagId": "{{tagId}}",
    }
}
Update Ticket Tags

Updates existing Ticket Tags. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=ticket_tags&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "ticketId": "{{new ticketId}}",
        "tagId": "{{new tagId}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "ticketId": "{{ticketId}}",
        ...
    }
}
Delete Ticket Tags

Deletes existing Ticket Tags. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=ticket_tags&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "ticketId": "{{ticketId}}",
        ...
    }
}

Reservations

Get Reservations

Gets all the Reservations registered under the application. By default the API returns all the Reservations using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=reservations&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Create Reservations

Creates new Reservations on an existing user. Reservations can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=reservations&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "title": "{{title}}",
        "start": "{{start}}",
        "end": "{{end}}",
        "status": "{{status}}",
        "paid": "{{paid}}",
        "addedOn": "{{addedOn}}",
        "employee_id": "{{employee_id}}",
        "note": "{{note}}",
        "address": "{{address}}",
        "Company": "{{Company}}",
    }
}
Update Reservations

Updates existing Reservations. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=reservations&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "title": "{{new title}}",
        "start": "{{new start}}",
        "end": "{{new end}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Delete Reservations

Deletes existing Reservations. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=reservations&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}

Files

Get Files

Gets all the Files registered under the application. By default the API returns all the Files using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=files&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Create Files

Creates new Files on an existing user. Files can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=files&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "name": "{{name}}",
        "new_name": "{{new_name}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Files

Updates existing Files. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=files&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "name": "{{new name}}",
        "new_name": "{{new new_name}}",
        "timeAdded": "{{new timeAdded}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Delete Files

Deletes existing Files. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=files&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}

Notes

Get Notes

Gets all the Notes registered under the application. By default the API returns all the Notes using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=notes&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "note": "{{note}}",
        ...
    }
}
Create Notes

Creates new Notes on an existing user. Notes can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=notes&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "note": "{{note}}",
        "customerId": "{{customerId}}",
        "document": "{{document}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Notes

Updates existing Notes. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=notes&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "note": "{{new note}}",
        "customerId": "{{new customerId}}",
        "document": "{{new document}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "note": "{{note}}",
        ...
    }
}
Delete Notes

Deletes existing Notes. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=notes&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "note": "{{note}}",
        ...
    }
}

Documents

Get Documents

Gets all the Documents registered under the application. By default the API returns all the Documents using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=documents&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Create Documents

Creates new Documents on an existing user. Documents can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=documents&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "title": "{{title}}",
        "customerId": "{{customerId}}",
        "document": "{{document}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Documents

Updates existing Documents. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=documents&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "title": "{{new title}}",
        "customerId": "{{new customerId}}",
        "document": "{{new document}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Delete Documents

Deletes existing Documents. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=documents&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}

Payments

Get Payments

Gets all the Payments registered under the application. By default the API returns all the Payments using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=payments&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Create Payments

Creates new Payments on an existing user. Payments can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=payments&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "title": "{{title}}",
        "description": "{{description}}",
        "amount": "{{amount}}",
        "status": "{{status}}",
        "method": "{{method}}",
        "debitcredit": "{{debitcredit}}",
        "devnote": "{{devnote}}",
        "userId": "{{userId}}",
        "timeAdded": "{{timeAdded}}",
        "payment_type": "{{payment_type}}",
        "subscription_id": "{{subscription_id}}",
    }
}
Update Payments

Updates existing Payments. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=payments&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "title": "{{new title}}",
        "description": "{{new description}}",
        "amount": "{{new amount}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Delete Payments

Deletes existing Payments. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=payments&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}

Pipelines

Get Pipelines

Gets all the Pipelines registered under the application. By default the API returns all the Pipelines using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=pipelines&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "pipeline_name": "{{pipeline_name}}",
        ...
    }
}
Create Pipelines

Creates new Pipelines on an existing user. Pipelines can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=pipelines&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "pipeline_name": "{{pipeline_name}}",
        "description": "{{description}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
        "color": "{{color}}",
    }
}
Update Pipelines

Updates existing Pipelines. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=pipelines&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "pipeline_name": "{{new pipeline_name}}",
        "description": "{{new description}}",
        "timeAdded": "{{new timeAdded}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "pipeline_name": "{{pipeline_name}}",
        ...
    }
}
Delete Pipelines

Deletes existing Pipelines. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=pipelines&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "pipeline_name": "{{pipeline_name}}",
        ...
    }
}

Projects

Get Projects

Gets all the Projects registered under the application. By default the API returns all the Projects using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=projects&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Create Projects

Creates new Projects on an existing user. Projects can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=projects&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "title": "{{title}}",
        "description": "{{description}}",
        "customerId": "{{customerId}}",
        "long_description": "{{long_description}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
        "status": "{{status}}",
        "kanban_board_contents": "{{kanban_board_contents}}",
        "cover_photo": "{{cover_photo}}",
    }
}
Update Projects

Updates existing Projects. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=projects&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "title": "{{new title}}",
        "description": "{{new description}}",
        "customerId": "{{new customerId}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Delete Projects

Deletes existing Projects. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=projects&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}

Orders

Get Orders

Gets all the Orders registered under the application. By default the API returns all the Orders using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=orders&action=get&clientId=a1b2c3clientkey
{
    "where": {
        ...
    }
}
Create Orders

Creates new Orders on an existing user. Orders can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=orders&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
    }
}
Update Orders

Updates existing Orders. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=orders&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        ...
    },
    "where": {
        ...
    }
}
Delete Orders

Deletes existing Orders. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=orders&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        ...
    }
}

Assets

Get Assets

Gets all the Assets registered under the application. By default the API returns all the Assets using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=assets&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Create Assets

Creates new Assets on an existing user. Assets can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=assets&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "name": "{{name}}",
        "model": "{{model}}",
        "classification": "{{classification}}",
        "location": "{{location}}",
        "value": "{{value}}",
        "maintenance_date": "{{maintenance_date}}",
        "maintenance_provider": "{{maintenance_provider}}",
        "Service_Records": "{{Service_Records}}",
        "addedBy": "{{addedBy}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Assets

Updates existing Assets. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=assets&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "name": "{{new name}}",
        "model": "{{new model}}",
        "classification": "{{new classification}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Delete Assets

Deletes existing Assets. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=assets&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}

Password Resets

Get Password Resets

Gets all the Password Resets registered under the application. By default the API returns all the Password Resets using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=password_resets&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "userId": "{{userId}}",
        ...
    }
}
Create Password Resets

Creates new Password Resets on an existing user. Password Resets can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=password_resets&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "userId": "{{userId}}",
        "passwordResetId": "{{passwordResetId}}",
        "resetlinktimestamp": "{{resetlinktimestamp}}",
        "email": "{{email}}",
    }
}
Update Password Resets

Updates existing Password Resets. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=password_resets&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "userId": "{{new userId}}",
        "passwordResetId": "{{new passwordResetId}}",
        "resetlinktimestamp": "{{new resetlinktimestamp}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "userId": "{{userId}}",
        ...
    }
}
Delete Password Resets

Deletes existing Password Resets. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=password_resets&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "userId": "{{userId}}",
        ...
    }
}

Emails

Get Emails

Gets all the Emails registered under the application. By default the API returns all the Emails using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=emails&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "subject": "{{subject}}",
        ...
    }
}
Create Emails

Creates new Emails on an existing user. Emails can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=emails&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "subject": "{{subject}}",
        "message": "{{message}}",
        "email": "{{email}}",
        "date": "{{date}}",
        "from_email": "{{from_email}}",
        "server_id": "{{server_id}}",
        "email_uid": "{{email_uid}}",
        "userId": "{{userId}}",
    }
}
Update Emails

Updates existing Emails. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=emails&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "subject": "{{new subject}}",
        "message": "{{new message}}",
        "email": "{{new email}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "subject": "{{subject}}",
        ...
    }
}
Delete Emails

Deletes existing Emails. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=emails&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "subject": "{{subject}}",
        ...
    }
}

Newsletters

Get Newsletters

Gets all the Newsletters registered under the application. By default the API returns all the Newsletters using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=newsletters&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Create Newsletters

Creates new Newsletters on an existing user. Newsletters can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=newsletters&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "title": "{{title}}",
        "description": "{{description}}",
        "cta": "{{cta}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Newsletters

Updates existing Newsletters. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=newsletters&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "title": "{{new title}}",
        "description": "{{new description}}",
        "cta": "{{new cta}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}
Delete Newsletters

Deletes existing Newsletters. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=newsletters&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "title": "{{title}}",
        ...
    }
}

Notifications

Get Notifications

Gets all the Notifications registered under the application. By default the API returns all the Notifications using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=notifications&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "notification_id": "{{notification_id}}",
        "to_user_id": "{{to_user_id}}",
        ...
    }
}
Create Notifications

Creates new Notifications on an existing user. Notifications can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=notifications&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "notification_id": "{{notification_id}}",
        "to_user_id": "{{to_user_id}}",
        "title": "{{title}}",
        "description": "{{description}}",
        "redirect_url": "{{redirect_url}}",
        "created_at": "{{created_at}}",
        "status": "{{status}}",
    }
}
Update Notifications

Updates existing Notifications. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=notifications&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "notification_id": "{{new notification_id}}",
        "to_user_id": "{{new to_user_id}}",
        "title": "{{new title}}",
        "description": "{{new description}}",
        ...
    },
    "where": {
        "notification_id": "{{notification_id}}",
        "to_user_id": "{{to_user_id}}",
        ...
    }
}
Delete Notifications

Deletes existing Notifications. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=notifications&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "notification_id": "{{notification_id}}",
        "to_user_id": "{{to_user_id}}",
        ...
    }
}

Email Servers

Get Email Servers

Gets all the Email Servers registered under the application. By default the API returns all the Email Servers using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=email_servers&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "email": "{{email}}",
        ...
    }
}
Create Email Servers

Creates new Email Servers on an existing user. Email Servers can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=email_servers&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "email": "{{email}}",
        "password": "{{password}}",
        "port_no": "{{port_no}}",
        "ip_address": "{{ip_address}}",
        "userId": "{{userId}}",
    }
}
Update Email Servers

Updates existing Email Servers. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=email_servers&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "email": "{{new email}}",
        "password": "{{new password}}",
        "port_no": "{{new port_no}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "email": "{{email}}",
        ...
    }
}
Delete Email Servers

Deletes existing Email Servers. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=email_servers&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "email": "{{email}}",
        ...
    }
}

Questionnaires

Get Questionnaires

Gets all the Questionnaires registered under the application. By default the API returns all the Questionnaires using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "form_name": "{{form_name}}",
        ...
    }
}
Create Questionnaires

Creates new Questionnaires on an existing user. Questionnaires can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "form_name": "{{form_name}}",
        "description": "{{description}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Questionnaires

Updates existing Questionnaires. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "form_name": "{{new form_name}}",
        "description": "{{new description}}",
        "timeAdded": "{{new timeAdded}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "form_name": "{{form_name}}",
        ...
    }
}
Delete Questionnaires

Deletes existing Questionnaires. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "form_name": "{{form_name}}",
        ...
    }
}

Questionnaires Questions

Get Questionnaires Questions

Gets all the Questionnaires Questions registered under the application. By default the API returns all the Questionnaires Questions using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires_questions&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "question": "{{question}}",
        ...
    }
}
Create Questionnaires Questions

Creates new Questionnaires Questions on an existing user. Questionnaires Questions can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires_questions&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "question": "{{question}}",
        "type": "{{type}}",
        "questionnaire_id": "{{questionnaire_id}}",
        "html": "{{html}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Questionnaires Questions

Updates existing Questionnaires Questions. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires_questions&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "question": "{{new question}}",
        "type": "{{new type}}",
        "questionnaire_id": "{{new questionnaire_id}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "question": "{{question}}",
        ...
    }
}
Delete Questionnaires Questions

Deletes existing Questionnaires Questions. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires_questions&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "question": "{{question}}",
        ...
    }
}

Questionnaires Answers

Get Questionnaires Answers

Gets all the Questionnaires Answers registered under the application. By default the API returns all the Questionnaires Answers using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires_answers&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "question_id": "{{question_id}}",
        ...
    }
}
Create Questionnaires Answers

Creates new Questionnaires Answers on an existing user. Questionnaires Answers can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires_answers&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "question_id": "{{question_id}}",
        "answer": "{{answer}}",
        "questionnaire_id": "{{questionnaire_id}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Questionnaires Answers

Updates existing Questionnaires Answers. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires_answers&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "question_id": "{{new question_id}}",
        "answer": "{{new answer}}",
        "questionnaire_id": "{{new questionnaire_id}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "question_id": "{{question_id}}",
        ...
    }
}
Delete Questionnaires Answers

Deletes existing Questionnaires Answers. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=questionnaires_answers&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "question_id": "{{question_id}}",
        ...
    }
}

Inventory History

Get Inventory History

Gets all the Inventory History registered under the application. By default the API returns all the Inventory History using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=inventory_history&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "product_id": "{{product_id}}",
        ...
    }
}
Create Inventory History

Creates new Inventory History on an existing user. Inventory History can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=inventory_history&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "product_id": "{{product_id}}",
        "product_name": "{{product_name}}",
        "quantity": "{{quantity}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
        "action": "{{action}}",
    }
}
Update Inventory History

Updates existing Inventory History. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=inventory_history&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "product_id": "{{new product_id}}",
        "product_name": "{{new product_name}}",
        "quantity": "{{new quantity}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "product_id": "{{product_id}}",
        ...
    }
}
Delete Inventory History

Deletes existing Inventory History. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=inventory_history&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "product_id": "{{product_id}}",
        ...
    }
}

Work Shifts

Get Work Shifts

Gets all the Work Shifts registered under the application. By default the API returns all the Work Shifts using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=work_shifts&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "start_time": "{{start_time}}",
        ...
    }
}
Create Work Shifts

Creates new Work Shifts on an existing user. Work Shifts can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=work_shifts&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "start_time": "{{start_time}}",
        "end_time": "{{end_time}}",
        "status": "{{status}}",
        "userId": "{{userId}}",
        "timeAdded": "{{timeAdded}}",
    }
}
Update Work Shifts

Updates existing Work Shifts. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=work_shifts&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "start_time": "{{new start_time}}",
        "end_time": "{{new end_time}}",
        "status": "{{new status}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "start_time": "{{start_time}}",
        ...
    }
}
Delete Work Shifts

Deletes existing Work Shifts. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=work_shifts&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "start_time": "{{start_time}}",
        ...
    }
}

Shift Details

Get Shift Details

Gets all the Shift Details registered under the application. By default the API returns all the Shift Details using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=shift_details&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "shift_id": "{{shift_id}}",
        ...
    }
}
Create Shift Details

Creates new Shift Details on an existing user. Shift Details can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=shift_details&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "shift_id": "{{shift_id}}",
        "type": "{{type}}",
        "start_time": "{{start_time}}",
        "status": "{{status}}",
        "userId": "{{userId}}",
        "end_time": "{{end_time}}",
    }
}
Update Shift Details

Updates existing Shift Details. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=shift_details&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "shift_id": "{{new shift_id}}",
        "type": "{{new type}}",
        "start_time": "{{new start_time}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "shift_id": "{{shift_id}}",
        ...
    }
}
Delete Shift Details

Deletes existing Shift Details. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=shift_details&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "shift_id": "{{shift_id}}",
        ...
    }
}

Messages

Get Messages

Gets all the Messages registered under the application. By default the API returns all the Messages using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=messages&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "toUser": "{{toUser}}",
        ...
    }
}
Create Messages

Creates new Messages on an existing user. Messages can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=messages&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "toUser": "{{toUser}}",
        "fromUser": "{{fromUser}}",
        "message": "{{message}}",
        "status": "{{status}}",
        "timeAdded": "{{timeAdded}}",
    }
}
Update Messages

Updates existing Messages. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=messages&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "toUser": "{{new toUser}}",
        "fromUser": "{{new fromUser}}",
        "message": "{{new message}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "toUser": "{{toUser}}",
        ...
    }
}
Delete Messages

Deletes existing Messages. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=messages&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "toUser": "{{toUser}}",
        ...
    }
}

Share File

Get Share File

Gets all the Share File registered under the application. By default the API returns all the Share File using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=share_file&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "shared_with": "{{shared_with}}",
        ...
    }
}
Create Share File

Creates new Share File on an existing user. Share File can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=share_file&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "shared_with": "{{shared_with}}",
        "shared_from": "{{shared_from}}",
        "file_id": "{{file_id}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Share File

Updates existing Share File. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=share_file&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "shared_with": "{{new shared_with}}",
        "shared_from": "{{new shared_from}}",
        "file_id": "{{new file_id}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "shared_with": "{{shared_with}}",
        ...
    }
}
Delete Share File

Deletes existing Share File. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=share_file&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "shared_with": "{{shared_with}}",
        ...
    }
}

AuthPayments

Get AuthPayments

Gets all the AuthPayments registered under the application. By default the API returns all the AuthPayments using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=authPayments&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "transaction_id": "{{transaction_id}}",
        ...
    }
}
Create AuthPayments

Creates new AuthPayments on an existing user. AuthPayments can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=authPayments&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "transaction_id": "{{transaction_id}}",
        "amount": "{{amount}}",
        "currency": "{{currency}}",
        "payment_status": "{{payment_status}}",
        "captured_at": "{{captured_at}}",
    }
}
Update AuthPayments

Updates existing AuthPayments. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=authPayments&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "transaction_id": "{{new transaction_id}}",
        "amount": "{{new amount}}",
        "currency": "{{new currency}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "transaction_id": "{{transaction_id}}",
        ...
    }
}
Delete AuthPayments

Deletes existing AuthPayments. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=authPayments&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "transaction_id": "{{transaction_id}}",
        ...
    }
}

Invoices

Get Invoices

Gets all the Invoices registered under the application. By default the API returns all the Invoices using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=invoices&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "user_id": "{{user_id}}",
        ...
    }
}
Create Invoices

Creates new Invoices on an existing user. Invoices can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=invoices&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "user_id": "{{user_id}}",
        "client_id": "{{client_id}}",
        "custom_description": "{{custom_description}}",
        "total": "{{total}}",
        "attachment": "{{attachment}}",
        "timeAdded": "{{timeAdded}}",
        "title": "{{title}}",
    }
}
Update Invoices

Updates existing Invoices. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=invoices&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "user_id": "{{new user_id}}",
        "client_id": "{{new client_id}}",
        "custom_description": "{{new custom_description}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "user_id": "{{user_id}}",
        ...
    }
}
Delete Invoices

Deletes existing Invoices. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=invoices&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "user_id": "{{user_id}}",
        ...
    }
}

Invoices Products

Get Invoices Products

Gets all the Invoices Products registered under the application. By default the API returns all the Invoices Products using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=invoices_products&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "invoice_id": "{{invoice_id}}",
        ...
    }
}
Create Invoices Products

Creates new Invoices Products on an existing user. Invoices Products can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=invoices_products&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "invoice_id": "{{invoice_id}}",
        "product_id": "{{product_id}}",
        "items": "{{items}}",
        "category": "{{category}}",
        "cost": "{{cost}}",
        "quantity": "{{quantity}}",
        "subtotal": "{{subtotal}}",
    }
}
Update Invoices Products

Updates existing Invoices Products. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=invoices_products&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "invoice_id": "{{new invoice_id}}",
        "product_id": "{{new product_id}}",
        "items": "{{new items}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "invoice_id": "{{invoice_id}}",
        ...
    }
}
Delete Invoices Products

Deletes existing Invoices Products. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=invoices_products&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "invoice_id": "{{invoice_id}}",
        ...
    }
}

Crud

Get Crud

Gets all the Crud registered under the application. By default the API returns all the Crud using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=crud&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "employee": "{{employee}}",
        ...
    }
}
Create Crud

Creates new Crud on an existing user. Crud can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=crud&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "employee": "{{employee}}",
        "salary": "{{salary}}",
        "month": "{{month}}",
        "year": "{{year}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Crud

Updates existing Crud. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=crud&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "employee": "{{new employee}}",
        "salary": "{{new salary}}",
        "month": "{{new month}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "employee": "{{employee}}",
        ...
    }
}
Delete Crud

Deletes existing Crud. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=crud&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "employee": "{{employee}}",
        ...
    }
}

Daily Attendence

Get Daily Attendence

Gets all the Daily Attendence registered under the application. By default the API returns all the Daily Attendence using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=daily_attendence&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Create Daily Attendence

Creates new Daily Attendence on an existing user. Daily Attendence can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=daily_attendence&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "name": "{{name}}",
        "start_time": "{{start_time}}",
        "end_time": "{{end_time}}",
        "working_hrs": "{{working_hrs}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
    }
}
Update Daily Attendence

Updates existing Daily Attendence. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=daily_attendence&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "name": "{{new name}}",
        "start_time": "{{new start_time}}",
        "end_time": "{{new end_time}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}
Delete Daily Attendence

Deletes existing Daily Attendence. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=daily_attendence&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "name": "{{name}}",
        ...
    }
}

Transaction

Get Transaction

Gets all the Transaction registered under the application. By default the API returns all the Transaction using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=transaction&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "transaction_id": "{{transaction_id}}",
        "amount": "{{amount}}",
        ...
    }
}
Create Transaction

Creates new Transaction on an existing user. Transaction can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=transaction&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "transaction_id": "{{transaction_id}}",
        "amount": "{{amount}}",
        "transaction_type": "{{transaction_type}}",
        "status": "{{status}}",
    }
}
Update Transaction

Updates existing Transaction. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=transaction&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "transaction_id": "{{new transaction_id}}",
        "amount": "{{new amount}}",
        "transaction_type": "{{new transaction_type}}",
        "status": "{{new status}}",
        ...
    },
    "where": {
        "transaction_id": "{{transaction_id}}",
        "amount": "{{amount}}",
        ...
    }
}
Delete Transaction

Deletes existing Transaction. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=transaction&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "transaction_id": "{{transaction_id}}",
        "amount": "{{amount}}",
        ...
    }
}

Salary

Get Salary

Gets all the Salary registered under the application. By default the API returns all the Salary using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=salary&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "salary": "{{salary}}",
        ...
    }
}
Create Salary

Creates new Salary on an existing user. Salary can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=salary&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "salary": "{{salary}}",
        "month": "{{month}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
        "username": "{{username}}",
    }
}
Update Salary

Updates existing Salary. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=salary&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "salary": "{{new salary}}",
        "month": "{{new month}}",
        "timeAdded": "{{new timeAdded}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "salary": "{{salary}}",
        ...
    }
}
Delete Salary

Deletes existing Salary. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=salary&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "salary": "{{salary}}",
        ...
    }
}

Userform

Get Userform

Gets all the Userform registered under the application. By default the API returns all the Userform using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=userform&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "username": "{{username}}",
        ...
    }
}
Create Userform

Creates new Userform on an existing user. Userform can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=userform&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "username": "{{username}}",
        "email": "{{email}}",
        "phone": "{{phone}}",
        "company": "{{company}}",
        "timeAdded": "{{timeAdded}}",
        "userId": "{{userId}}",
        "status": "{{status}}",
    }
}
Update Userform

Updates existing Userform. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=userform&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "username": "{{new username}}",
        "email": "{{new email}}",
        "phone": "{{new phone}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "username": "{{username}}",
        ...
    }
}
Delete Userform

Deletes existing Userform. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=userform&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "username": "{{username}}",
        ...
    }
}

Permissions

Get Permissions

Gets all the Permissions registered under the application. By default the API returns all the Permissions using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=permissions&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "userId": "{{userId}}",
        ...
    }
}
Create Permissions

Creates new Permissions on an existing user. Permissions can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=permissions&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "userId": "{{userId}}",
        "permission": "{{permission}}",
        "module": "{{module}}",
    }
}
Update Permissions

Updates existing Permissions. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=permissions&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "userId": "{{new userId}}",
        "permission": "{{new permission}}",
        "module": "{{new module}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "userId": "{{userId}}",
        ...
    }
}
Delete Permissions

Deletes existing Permissions. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=permissions&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "userId": "{{userId}}",
        ...
    }
}

TimeTracker

Get TimeTracker

Gets all the TimeTracker registered under the application. By default the API returns all the TimeTracker using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=timeTracker&action=get&clientId=a1b2c3clientkey
{
    "where": {
        ...
    }
}
Create TimeTracker

Creates new TimeTracker on an existing user. TimeTracker can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=timeTracker&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
    }
}
Update TimeTracker

Updates existing TimeTracker. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=timeTracker&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        ...
    },
    "where": {
        ...
    }
}
Delete TimeTracker

Deletes existing TimeTracker. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=timeTracker&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        ...
    }
}

Knowledge Base

Get Knowledge Base

Gets all the Knowledge Base registered under the application. By default the API returns all the Knowledge Base using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=knowledge_base&action=get&clientId=a1b2c3clientkey
{
    "where": {
        ...
    }
}
Create Knowledge Base

Creates new Knowledge Base on an existing user. Knowledge Base can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=knowledge_base&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
    }
}
Update Knowledge Base

Updates existing Knowledge Base. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=knowledge_base&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        ...
    },
    "where": {
        ...
    }
}
Delete Knowledge Base

Deletes existing Knowledge Base. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=knowledge_base&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        ...
    }
}

Project Payment

Get Project Payment

Gets all the Project Payment registered under the application. By default the API returns all the Project Payment using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=project_payment&action=get&clientId=a1b2c3clientkey
{
    "where": {
        ...
    }
}
Create Project Payment

Creates new Project Payment on an existing user. Project Payment can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=project_payment&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
    }
}
Update Project Payment

Updates existing Project Payment. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=project_payment&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        ...
    },
    "where": {
        ...
    }
}
Delete Project Payment

Deletes existing Project Payment. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=project_payment&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        ...
    }
}

Module

Get Module

Gets all the Module registered under the application. By default the API returns all the Module using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=module&action=get&clientId=a1b2c3clientkey
{
    "where": {
        "id": "{{id}}",
        "module_url": "{{module_url}}",
        ...
    }
}
Create Module

Creates new Module on an existing user. Module can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=module&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
        "id": "{{id}}",
        "module_url": "{{module_url}}",
        "module_name": "{{module_name}}",
        "view": "{{view}}",
        "inserts": "{{inserts}}",
        "updates": "{{updates}}",
        "deletes": "{{deletes}}",
        "action": "{{action}}",
        "userId": "{{userId}}",
    }
}
Update Module

Updates existing Module. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=module&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        "module_url": "{{new module_url}}",
        "module_name": "{{new module_name}}",
        "view": "{{new view}}",
        ...
    },
    "where": {
        "id": "{{id}}",
        "module_url": "{{module_url}}",
        ...
    }
}
Delete Module

Deletes existing Module. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=module&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        "id": "{{id}}",
        "module_url": "{{module_url}}",
        ...
    }
}

Time Tracker

Get Time Tracker

Gets all the Time Tracker registered under the application. By default the API returns all the Time Tracker using the GET request, but more filters can be applied by passing other parameters as where parameter through a POST request. The details are sent in a form of a JSON object.

GET POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=time_tracker&action=get&clientId=a1b2c3clientkey
{
    "where": {
        ...
    }
}
Create Time Tracker

Creates new Time Tracker on an existing user. Time Tracker can be registered with the help of the following api. The details are sent in a form of a JSON object.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=time_tracker&action=create&clientId=a1b2c3clientkey
JSON Input:
{
    "create": {
    }
}
Update Time Tracker

Updates existing Time Tracker. The updated value are send as the update parameter, and the where conditions are sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=time_tracker&action=update&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "update": {
        ...
    },
    "where": {
        ...
    }
}
Delete Time Tracker

Deletes existing Time Tracker. The endpoint takes the id parameter, and other options conditions can also be sent in the where parameter.

POSThttps://projects.anomoz.com/ke/smsCampaigner/api.php?module=time_tracker&action=delete&clientId=a1b2c3clientkey

Values are sent in a form of a JSON object. Here is a sample request.

JSON Input:
{
    "where": {
        ...
    }
}

Example Request


<?require("./global.php");

// PHP HELPER FUNCTIONS
function curl_postfields_flatten($data$prefix '') {
    
  if (!
is_array($data)) {
    return 
$data// in case someone sends an url-encoded string by mistake
  
}

  
$output = array();
  foreach(
$data as $key => $value) {
    
$final_key $prefix "{$prefix}[{$key}]" $key;
    if (
is_array($value)) {
      
// @todo: handle name collision here if needed
      
$output += curl_postfields_flatten($value$final_key);
    }
    else {
      
$output[$final_key] = $value;
    }
  }
  return 
$output;
}

function 
sendApiRequest($url$type$inputJson){
    
$ch curl_init($url);

    if(
strtolower($type)=="get"){
        
$type_bool false;
    }else{
        
$type_bool true;
    }
    
curl_setopt_array($ch, [
        
CURLOPT_URL => $url,
        
CURLOPT_RETURNTRANSFER => true,
        
CURLOPT_POST => $type_bool,
        
CURLOPT_POSTFIELDS => curl_postfields_flatten($inputJson),
    ]);
    
    
$response curl_exec($ch);
    
curl_close($ch);
    return (
$response);
}




// EXAMPLE CODE TO CALL AN API
$apiUrl "https://projects.anomoz.com/ke/smsCampaigner/api.php?module=customer_fields&action=update&clientId=a1b2c3clientkey";

$inputJson = [
  
'update' => 
  [
    
'field_name' => '{{new field_name}}',
    
'timeAdded' => '{{new timeAdded}}',
    
'userId' => '{{new userId}}',
  ],
  
'where' => 
  [
    
'id' => '{{id}}',
    
'field_name' => '{{field_name}}',
  ],
];

$response sendApiRequest($apiUrl"post"$inputJson);

echo 
"Response from API:<br>";
var_dump($response);
?>
<hr>