Projects

Get a Project

GET https://api.tiny.plus/v2/projects/{{id}}

This endpoint allows you to get a full Project record.

Path Parameters

Query Parameters

Headers

{
    "id": 1233
    "name": "RACF, Auchenflower",
    "record_status": "active",
    "description": "A new aged care facility.",
    "assigned_user": 1231,
    ...
}

Example Usage

var settings = {
  "url": "https://api.tiny.plus/v2/projects/{{id}}",
  "method": "GET",
  "headers": {
    "Authorization": "{{user_access_token}}"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

List Projects

GET https://api.tiny.plus/v2/projects

This endpoint allows you to get a paginated list of Projects, optionally filtered by criteria.

Query Parameters

Headers

{
    total_records: 125,
    returned_records: 50,
    records: [
        {
            id: 1234,
            name: 'Example Project',
            ...
        },
        {
            id: 1235,
            name: 'Second Example Project',
            ...
        }
    ]
}

Example Usage

var settings = {
  "url": "https://api.tiny.plus/v2/projects?me&return_format=array",
  "method": "GET",
  "headers": {
    "Authorization": "{{user_access_token}}"
  }
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

Create a Project

POST https://api.tiny.plus/v2/projects

You can create a new tiny+ project with this endpoint. The only required field to create a Project in tiny+ is name, however we recommend you provide as much information as possible.

Headers

Request Body

{
    id: [your new ID]
}

Update a Project

PATCH https://api.tiny.plus/v2/projects/{{id}}

You can edit a tiny+ Project with this endpoint. In the request body, you only need to provide the fields that you would like to change. These can be provided as either a JSON object or in application/x-www-form-urlencoded format.

Path Parameters

Headers

Request Body

Delete a Project

DELETE https://api.tiny.plus/v2/projects/{{id}}

Delete a Project record.

Path Parameters

Headers

Projects Field Reference

Last updated