Projects
Retrieve projects from the Basecone office.
GET projects?companyid=:companyId&code=:code
Request properties
| Property | Type | Description | Optional |
|---|---|---|---|
| code | String | Code of cost center | Yes |
| companyId | Guid | Company unique Identifier. | No |
Projects collection properties
| Property | Type | Description |
|---|---|---|
| id | Guid | Unique identifier of project |
| code | string | Code of project |
| name | string | Name of project |
| fullName | string | Full name of project |
For details on collections see collection details.
Example response:
{
"projects": [
{
"id": "8251ecaa-ef25-4c00-8b0d-8f3d1901afa0",
"code": "00000",
"name": "Jose KPL",
"fullName": "Jose KPL (00000)"
}
],
"_links": [
{
"rel": "self",
"href": "http://localhost:54434/projects?companyid=ea3f03ea-d192-4a8f-98ca-9b579daf71f0&limit=20&offset=0"
}
],
"_metadata": {
"total": 1,
"count": 1
}
}
