Ressources du projet
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.
Obtenir les utilisateurs
Utilisez ce point de terminaison pour interroger la liste des utilisateurs 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"
}
]
}Obtenir les sous-traitants
Utilisez ce point de terminaison pour interroger la liste des sous-traitants d’un projet.
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"
}
]
}Obtenir les dossiers
Utilisez ce point de terminaison pour interroger l’arborescence des dossiers d’un projet.
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"
}
]
}Obtenir les paquets
Utilisez ce point de terminaison pour interroger la liste des paquets d’un projet.
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"
}
]
}Obtenir les calendriers
Utilisez ce point de terminaison pour interroger la liste des calendriers d’un projet.
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"
}
]
}Obtenir les emplacements
Utilisez ce point de terminaison pour interroger la liste des emplacements d’un projet.
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"
}
]
}Obtenir les raisons de retard
Utilisez ce point de terminaison pour interroger la liste des raisons de retard d’un projet.
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"
}
]
}Obtenir les mesures de production
Utilisez ce point de terminaison pour interroger la liste des mesures de production d’un projet.
Get production measures
gb | au
projectId
access token
OK
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"
}
]
}Mis à jour
Ce contenu vous a-t-il été utile ?