project.add

This method adds a new project.

Call this method via the following URL:

https://app.subernova.com/api/1.0/project.add

Parameters

These are the parameters you can pass with the call:

api_key
Your API key for authentication. This can be found in your account settings.
project_name
The name of the project.
client_id
The id of the client this project should be attached to.
base_price
The base price (cost) of the project.
start_date
The project's start date in any format, eg. today, 12 may, last friday, yesterday, etc
deadline
The project's deadline in any format, eg. tuesday, june 22, 30 days later, etc
description (optional)
The project's description.
share_with_user_id[1] (optional)
The user id of the user you want to share the project with. You can share with multiple users by increasing the
[1] value for each user.

Response

Success (project added)

The project has been added successfully.

Success: Project added.

Error (no data passed)

This short message will be returned if no data were passed with the call.

Error: No data were passed.

Error (client_id invalid)

This short message will be returned if you entered a client_id that does not belong to you.

Error: Invalid client_id.

Error (share_with_user_id invalid)

This short message will be returned if you entered a share_with_user_id that does not belong to you.

Error: Invalid share_with_user_id.

Error (project not added)

This short message may be returned if SUBERNOVA's server is down or for some reason the project cannot be added, which is pretty rare.

Error: Project not added.

Error (invalid API key)

This short message will be returned if the API key passed with the call is invalid.

Error: API key is invalid.

Error (account expired)

This short message will be returned if your account has expired.

Error: Account expired.

Help

If you have any questions regarding our API or found a bug, please send us a support request.