Hello,
I 'm using the API to interact with Projeqtor from an ERP.
My need:
1/ Create a new resource/user from API ==> OK
2/ Be able to add imputation on administrative Project tasks for this resource. To do so, API needs the "idAssignement" for this task/resource
I then ask API to get this idAssignment but it seems it's not done automatically after resource creation.
I discovered that this assignement is done when accessing the imputations table from GUI for this resource.
I also guess there is a batch running (nightly) to make this assignation (to be confirmed)
My question: Is there a way to force the assignation of a new ressource to administrative tasks from API just after resource creation?
Thanks.
Br
Assignment is a relation between a plannable item (activity, meeting) and a resource.
So you need to have a project...
... that contains an activity ...
... and assign the resource to the activity.
Then you get an assignment with an id.
Thank you, yes I get this for classical project.
But project with type "Administrative" is specific in the way i do not have to assign a ressource to each activity for this kind of project as this is done automatically by projeqtor.
The fact is i want it to be done (automatically) straight after ressource creation from API, which doen't seem to be the case.
One solution would be to make the assignement manually from API, for each activities of Administrative project but this sounds heavy.
Br
But project with type "Administrative" is specific in the way i do not have to assign a ressource to each activity for this kind of project as this is done automatically by projeqtor.
You don't have to do this if you enter work through the Timesheet screen, as this feature will automatically create the needed assignment.
But if you wish to add work through the API, you have to manually generate the assignment.
Ok thank you.
Br