Easy Projects Logo

Easy Projects

application programming interface

Introduction

Implemented as XML/JSON over HTTP, Easy Projects. NET’s API is using all four verbs (GET/POST/PUT/DELETE). Each entity, such as Projects, Activity, or TimeEntry, has its own URL and is handled separately. In other words, we’ve tried to make the API follow the REST principles as closely as possible.

Authentication

Authentication is managed using HTTP one (only “Basic” is supported right now). Every request must include an authorization HTTP header.

Making requests

‘Content-Type’ headers must be set to ‘application/xml’ or ‘application/json’ to identify the request and response format. Default is ‘application/xml’.

Responses

If request succeeds, a status code in the 200 range is returned, and often, an XML/JSON-formatted response, too. Generally, if request causes a new record to be created (e.g. a new project, or activity, etc.), the response will use the “201 Created” status.

Any other successful operation (e.g. a successful query, delete, or update) returns a 200 status code. If request fails, a non-200 status code is returned.

Documentation

To learn more about operations available for this or that resource, open ‘http://{your ep}/rest/v1/index.html’ in your account.