project.edit

This method edits an existing project.

Call this method via the following URL:

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

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.
id
The id of the project you're editing.
project_name (optional)
The name of the project.
client_id (optional)
The id of the client this project should be attached to.
base_price (optional)
The base price (cost) of the project.
start_date (optional)
The project's start date in any format, eg. today, 12 may, last friday, yesterday, etc
deadline (optional)
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 edited)

The project has been edited successfully.

Success: Project edited.

Error (no data passed)

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

Error: No data were passed.

Error (invalid id)

This short message will be returned if you entered an invalid project_id

Error: Invalid id.

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 edited)

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

Error: Project not edited.

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.