Les ressources du projet sont les listes définies d’objets qui peuvent être attachés à des tâches au sein d’un projet. Vous pouvez interroger ces ressources pour vous aider à construire des requêtes de tâches plus précises.
Utilisez ce point de terminaison pour interroger la liste des utilisateurs d’un projet.
Utilisez ce point de terminaison pour interroger la liste des sous-traitants d’un projet.
Utilisez ce point de terminaison pour interroger l’arborescence des dossiers d’un projet.
Utilisez ce point de terminaison pour interroger la liste des paquets d’un projet.
Utilisez ce point de terminaison pour interroger la liste des calendriers d’un projet.
Utilisez ce point de terminaison pour interroger la liste des emplacements d’un projet.
Utilisez ce point de terminaison pour interroger la liste des raisons de retard d’un projet.
Utilisez ce point de terminaison pour interroger la liste des mesures de production d’un projet.
Get users
gb | au
projectId
access token
OK
Unauthorized
Unprocessable Entity
Internal Server Error
GET /{region}/v1/projects/{projectId}/users HTTP/1.1
Host: app.aphex.co/
X-API-Key: text
Accept: */*
{
"paging": {
"next": {
"after": "text",
"link": "text"
}
},
"results": [
{
"displayName": "text",
"email": "text",
"id": "text"
}
]
}Get subcontractors
gb | au
projectId
access token
OK
Unauthorized
Unprocessable Entity
Internal Server Error
GET /{region}/v1/projects/{projectId}/subcontractors HTTP/1.1
Host: app.aphex.co/
X-API-Key: text
Accept: */*
{
"paging": {
"next": {
"after": "text",
"link": "text"
}
},
"results": [
{
"id": "text",
"name": "text"
}
]
}Get folders
gb | au
projectId
access token
OK
Unauthorized
Unprocessable Entity
Internal Server Error
GET /{region}/v1/projects/{projectId}/folders HTTP/1.1
Host: app.aphex.co/
X-API-Key: text
Accept: */*
{
"paging": {
"next": {
"after": "text",
"link": "text"
}
},
"results": [
{
"code": "text",
"id": "text",
"name": "text",
"parentId": "text",
"path": "text"
}
]
}Get packages
gb | au
projectId
access token
OK
Unauthorized
Unprocessable Entity
Internal Server Error
GET /{region}/v1/projects/{projectId}/packages HTTP/1.1
Host: app.aphex.co/
X-API-Key: text
Accept: */*
{
"paging": {
"next": {
"after": "text",
"link": "text"
}
},
"results": [
{
"code": "text",
"id": "text",
"name": "text"
}
]
}Get calendars
gb | au
projectId
access token
OK
Unauthorized
Unprocessable Entity
Internal Server Error
GET /{region}/v1/projects/{projectId}/calendars HTTP/1.1
Host: app.aphex.co/
X-API-Key: text
Accept: */*
{
"paging": {
"next": {
"after": "text",
"link": "text"
}
},
"results": [
{
"id": "text",
"name": "text",
"type": "five-day"
}
]
}Get locations
gb | au
projectId
access token
OK
Unauthorized
Unprocessable Entity
Internal Server Error
GET /{region}/v1/projects/{projectId}/locations HTTP/1.1
Host: app.aphex.co/
X-API-Key: text
Accept: */*
{
"paging": {
"next": {
"after": "text",
"link": "text"
}
},
"results": [
{
"id": "text",
"name": "text",
"type": "map"
}
]
}Get delay reasons
gb | au
projectId
access token
OK
Unauthorized
Unprocessable Entity
Internal Server Error
GET /{region}/v1/projects/{projectId}/delayReasons HTTP/1.1
Host: app.aphex.co/
X-API-Key: text
Accept: */*
{
"paging": {
"next": {
"after": "text",
"link": "text"
}
},
"results": [
{
"category": "text",
"id": "text",
"name": "text"
}
]
}Get production measures
gb | au
projectId
access token
OK
Stored value, not a display label. Meters/Metres and Tonnes/Tons are distinct.
Unauthorized
Unprocessable Entity
Internal Server Error
GET /{region}/v1/projects/{projectId}/productionMeasures HTTP/1.1
Host: app.aphex.co/
X-API-Key: text
Accept: */*
{
"paging": {
"next": {
"after": "text",
"link": "text"
}
},
"results": [
{
"id": "text",
"name": "text",
"targetRateEnabled": true,
"targetRateValue": 1,
"taskCount": 1,
"unit": "text",
"unitName": "text"
}
]
}