When using the Fusioo API, you will be interacting with common resources used within Fusioo. With the first version (v1) of the API you will have access to the three main Fusioo building blocks:
If you are going to use the Fusioo API, you may need additional information on these resources. To find the Developer Information within Fusioo:
Apps are the basic building block in Fusioo. They are used to track, manage and display your business information.
When using the API, there are two methods that will let you retrieve information on the Apps in your Fusioo workspace.
These are the properties that will be returned when retrieving an App:
Property | Description |
name |
The name you have given to the Fusioo App. |
id |
The App unique identifier. This is required when using the Create Record, Get Records and Get App methods. |
single_record_name |
The name given to a single App record. For example a Project in the Projects App. |
fields |
An array of App Fields. Each Field object will include meta-data information, such as:
|
When retrieving an App, you will find an array of App Fields. The Fields will be sorted based on their defined sequence.
The Field id is automatically created for each Field. You can use the method Get App to find the id of each Field in that App or find it from the Developer Information section.
Different Field types available:
Example data |
"title": "Start using the API" |
Can be used to sort records |
Yes |
Sample JSON object |
|
Format accepted |
"description": "Default description" |
Can be used to sort records |
No |
Sample JSON object |
|
Format accepted |
"hourly_cost": 25 |
Can be used to sort records |
Yes |
Sample JSON object |
|
Format accepted |
"due_date": "2016-09-15"
The International Standard IS0 8601 is used to represent date and time in the Fusioo API. Format for dates is YYYY-MM-DD |
Can be used to sort records |
Yes |
Sample JSON object |
|
Format accepted |
"event_starting_time": "2016-09-15T07:00:00-0500"
Format for dates is YYYY-MM-DD. Format for time is hh:mm:ss. The -0500 indicates the timezone offset. If no offset is sent, the time is assumed to be in UTC. |
Can be used to sort records |
Yes |
Sample JSON object |
|
Format accepted |
"task_duration": "2016-09-09T08:00:00|2016-09-09T09:00:00"
|
Can be used to sort records |
Yes |
Sample JSON object |
|
Format accepted |
"is_completed": true
|
Can be used to sort records |
Yes |
Sample JSON object |
|
Format accepted |
"website": "https://www.projectwebsite.com"
|
Can be used to sort records |
Yes |
Sample JSON object |
|
Format accepted |
"email": "default@fusioo.com"
|
Can be used to sort records |
Yes |
Sample JSON object |
|
Format accepted |
"list": ["Created"]
When
Either |
Can be used to sort records |
Yes - only when the allow_multiple option is set to false |
Sample JSON object |
|
Format accepted |
List of strings: "checklist": ["Completed Task [complete]"]
or a list of objects "checklist": [{'id':'i9784', 'name':'Task not completed', 'status': 'incomplete'}]
When a list of objects is used, the name attribute is required. For both cases, the order of the list is used to determine the sequence. If the status is not set, the items are set to incomplete by default. |
Can be used to sort records |
No |
Sample JSON object |
|
Format accepted |
"assigned_to": ["John Doe"]
When
Either |
Can be used to sort records |
Yes - only when the allow_multiple option is set to false |
Sample JSON object |
|
Format accepted |
"available_for": ["Admins","Developers"]
When
Either |
Can be used to sort records |
Yes - only when the allow_multiple option is set to false |
Sample JSON object |
|
Format accepted |
"clients": ["i79369","ib6c69"]
When
Either
Note: For related records, both the |
Can be used to sort records |
No |
Sample JSON object |
|
Format accepted |
This is a read only Field type and it's value can't be updated. |
Can be used to sort records |
Yes |
Sample JSON object |
|
Format accepted |
multipart/form-data The File Field is different from the other Fields since you need to add the File object to your call. Multiple file operations are supported, including - Get, Download, Create and Delete. More details can be found here. |
Can be used to sort records |
No |
Sample JSON object (Get File) |
|
Records represent the data stored within a Fusioo App. Each time you create a new Task, Project, Issue, Event – you are creating a new record.
When using the API, there are two methods that will let you retrieve records in the authenticated Users workspace.
When retrieving a record, the properties returned depend on the Fields available in that specific App.
The record object will contain both Custom and Default Fields.
Each Field in the record is structured in the following manner: "Field Id":"Field content for the retrieved record"
Field content can be a string, number, boolean, array - depending on the Field Type. For more information on the formats used for each Field type, refer to the Fields section.
Here's an example:
{
"id":"i1f50f3d640c945a094f4847962badfd2",
"title":"Task retrieved using the API",
"description":null,
"deadline":"2016-09-27T15:00:00",
"is_completed":false,
"website":"https://www.fusioo.net",
"email":"support@fusioo.com",
"status":[
"In progress"
],
"assigned_to":[
"John Doe",
"Charlotte Smith"
],
"created":"2016-09-17T20:44:52",
"last_modified":"2016-09-22T20:44:52",
"created_by":[
"Lauren Moss"
],
"last_modified_by":[
"Lauren Moss"
]
}
Type above and the results will be displayed here.