Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Adding project codes to the API docs #55

Merged
merged 3 commits into from Oct 24, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions endpoints/reports/projects.md
Expand Up @@ -28,6 +28,7 @@ https://api.resourceguruapp.com/v1/example-corp/reports/projects?start_date=2013
{
"id": 148,
"name": "Project A",
"project_code": "PA01",
"client_name": "Client A",
"client_id": 12,
"color": "#FFCC00",
Expand All @@ -38,6 +39,7 @@ https://api.resourceguruapp.com/v1/example-corp/reports/projects?start_date=2013
{
"id": 149,
"name": "Project B",
"project_code": "PB02",
"client_name": "Client A",
"client_id": 12,
"color": "#CCFF00",
Expand All @@ -62,6 +64,7 @@ https://api.resourceguruapp.com/v1/example-corp/reports/projects?start_date=2013
|---|---|---|
|id | integer | Unique identifier of Project.|
|name | string | Name of this Project.|
|project_name|string|This project's assigned project code.|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KrofDrakula Should be project_code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gah, yeah... missed that one.

|client_name | string | Name of Client that this Project belongs to.|
|client_id | string | Unique identifier of Client that this Project belongs to. |
|color | string | Color used to highlight this Project.|
Expand Down Expand Up @@ -94,6 +97,7 @@ https://api.resourceguruapp.com/v1/example-corp/reports/projects/148?start_date=
{
"id": 148,
"name": "Project A",
"project_code": "PA01",
"client_name": "",
"color": "#FFCC00",
"booked": 0,
Expand Down Expand Up @@ -137,6 +141,7 @@ https://api.resourceguruapp.com/v1/example-corp/reports/projects/0?start_date=20
|---|---|---|
|id | integer | Unique identifier of Project.|
|name | string | Name of this Project.|
|project_code|string|The project's associated project code.|
|client_name | string | Name of Client that this Project belongs to.|
|color | string | Color used to highlight this Project.|
|booked | integer | Time booked in minutes for this Project.|
Expand Down