Discussions
How to access custom project fields?
I'm evaluating the changes to move to the version 4 of the API and I'm stuck at getting the custom project fields.
I can obtain their definitions by executing a `GET https://api.projectmanager.com/api/data/projects/fields` but it's not returned by the default `GET https://api.projectmanager.com/api/data/projects`
I've tried with the `expand` param set to the name of the field I want to get (i.e. Probability) and I receive an error:
$technicalError
[1] "Could not load file or assembly 'System.Diagnostics.Tools, Version=4.1.2.0, Culture=neutral, PublicKeyToken=''. The system cannot find the file specified.\\n"
$message
[1] "Failed to get projects"
Any advice here? Thanks!
Posted by Quentin about 24 hours ago
InternalServerError when querying modifieddate
I use the .NET SDK for v4 Api and I am trying to query projects by modifieddate but I am getting an internal error.
If I query using no filter, my test project is returned correctly:
```json json
{
"Error": null,
"Success": true,
"Status": 200,
"Data": [
{
"Id": "c7111784-b4a4-439c-805e-66a21a24514d",
"Name": "My First Project",
"Description": null,
"ShortCode": "MyFirst",
"ShortId": "M",
"Folder": null,
"Status": {
"Id": "348d815d-d312-490b-8d22-535499ac2900",
"Name": "Open",
"IsDeleted": false
},
"StartDate": "2023-11-20",
"EndDate": "2024-05-27",
"TargetDate": "2024-05-27",
"PlannedStartDate": null,
"PlannedFinishDate": null,
"ActualStartDate": null,
"ActualFinishDate": null,
"Priority": {
"Id": "670845dc-1523-4c57-a73d-8878a2f7c1c3",
"Name": "Critical"
},
"ChargeCode": null,
"Manager": {
"Id": "869b7bdd-487f-4963-a3ec-d2f0153652f7",
"Name": "Jonas Lindgren",
"Initials": null,
"AvatarUrl": null
},
"Customer": null,
"Budget": null,
"HourlyRate": 0.000000,
"StatusUpdate": null,
"ModifyDate": "2023-11-27T13:20:24.253",
"CreateDate": "2023-11-27T13:20:24.253",
"IsTemplate": false,
"Favorite": false,
"Members": [
{
"Id": "b25b37fa-2a6d-43ec-a1fb-355c592c3eba",
"Initials": null,
"Name": "Andre Johansson",
"AvatarUrl": null,
"Permission": null,
"Color": null,
"PermissionOptions": null
},
{
"Id": "869b7bdd-487f-4963-a3ec-d2f0153652f7",
"Initials": null,
"Name": "Jonas Lindgren",
"AvatarUrl": null,
"Permission": null,
"Color": null,
"PermissionOptions": null
}
],
"Fields": {
"ValueKind": 1
}
}
],
"FileData": null,
"ServerDuration": 0,
"TotalRoundtrip": 700
}
```
But if I try to query where the modifieddate is within a given timestamp interval like this:
```csharp
var result = await clientV4.Project.QueryProjects(filter: "ModifyDate gt 2023-11-27T13:00:00.000 and ModifyDate lt 2023-11-27T13:00:00.000");
```
I get an **InternalServerError ** response.
What is wrong with my query?
How can I query projects that have been modified withing a given time range **with minute precision**?
Posted by André 3 days ago
Can we still use V3 for our current API build, and V4 for new items?
Is it possible to use V3 for the things we do today and V4 for the things we want to, but cannot, do?
Posted by null about 2 months ago
How to switch from v3 to v4 API?
If our team is currently using v3 of the API, how can we transition to the latest version v4? What updates are required?
Posted by null about 2 months ago
Holidays in ProjectManager
Can we use the API for our Holidays?
Posted by null about 2 months ago
API Key
Does ProjectManager require an API key?
Posted by null about 2 months ago
I'm using an older API today - how can I upgrade to V4?
The new REST API v4 provides much more functionality than the older V1 and V3 APIs. ProjectManager encourages everyone to upgrade as soon as possible.
Here's how to upgrade.
# API v3 Customers
If you're on the API v3, you can start using API v4 calls right away. Just visit the [ProjectManager v4 API keys page](https://softwaredeveloper.projectmanager.com/v4/reference/api-keys) to learn how to create an API key for v4.
Once you have an API key for v4, you can begin using one of [ProjectManager's available software development kits](https://softwaredeveloper.projectmanager.com/v4/reference/software-development-kits) or begin writing your own code by [viewing API documentation online](https://softwaredeveloper.projectmanager.com/v4/reference/get_api-data-projects).
# API v1 Customers
Developers using the V1 API can upgrade to API V4 by contacting support to schedule an upgrade at [[email protected]](mailto:[email protected]) . Reach out today!
Posted by Ted Spence 2 months ago
What programming languages should have a ProjectManager SDK?
We all know that REST is a very simple and easy to use API technology. But in some cases it just saves time to have a pre-built REST integration toolkit - that's why ProjectManager offers software development kits in a variety of programming languages.
What languages should ProjectManager.com support?
Posted by Ted Spence 2 months ago