ProjectServer REST API to create Tasks and Resources
Hi
I have managed to add a project using REST call https://<domain>.sharepoint.com/sites/pwa/_api/ProjectServer/Projects/Add
However when I try to add Task or a Resource to the created project it gives me errors. Could you please let me know what I'm doing wrong.
My REST call is this
https://<domain>.sharepoint.com/sites/pwa/_api/ProjectServer/Projects('<project ID>')/Tasks/Add
I'm getting the error "Cannot find resource for the request Add"
Thanks,
Thushara.
Thanks Brian,
This helped, I'm now successfully calling REST APIs using POSTMAN rest client.
I'm trying to use curl command to call the APIs with Windows AZURE ACS. Could you please point me how to get access Token using a POST request. Most of the examples I found on the web are using TokenHelper.GetClientContextWithAuthorizationCode
but couldn't find anything that uses CURL.
Note that I cannot use the TokenHelper
as my application is Linux.
Thanks,
Thushara.
Similar Messages
-
Activate the TRM (Task and Resource Management)
Could you tell me where to activate the TRM (Task and Resource Management) in WM?
Hi Stefanie,
First, you create the TRM site in:
SPRO>Logistics Execution>Task and Resource Management>Master Data>General Settings for TRM
You can assign your TRM site to you warehouse number here:
SPRO>Logistics Execution>Warehouse Management>Interfaces>Task and Resource Management>Assign Site
And you can also activate/deactivate the interface WM-TRM for some Source Storage Types / Destination Storage Types / Movement Type:
SPRO>Logistics Execution>Warehouse Management>Interfaces>Task and Resource Management>Control WMS-TRM Interface for Transfer Orders
Then, you continue with the rest of TRM customizing work.
Hope this will be helpful for you. -
TRM (Task and resource management) extractor
Hi people!!
I would like to know, if is there some
TRM extractor for sap bw, or what could be
the procces to load TRM information in BW.
Regards!Hi Stefanie,
First, you create the TRM site in:
SPRO>Logistics Execution>Task and Resource Management>Master Data>General Settings for TRM
You can assign your TRM site to you warehouse number here:
SPRO>Logistics Execution>Warehouse Management>Interfaces>Task and Resource Management>Assign Site
And you can also activate/deactivate the interface WM-TRM for some Source Storage Types / Destination Storage Types / Movement Type:
SPRO>Logistics Execution>Warehouse Management>Interfaces>Task and Resource Management>Control WMS-TRM Interface for Transfer Orders
Then, you continue with the rest of TRM customizing work.
Hope this will be helpful for you. -
Roles tasks and resources assignment
Hi there.
I'm working in CProjet and I need to complete role definition; I can define staf (STAFFING TAB) and assign task (TASK TAB).
In TASK TAB I can create also association between role, task and resource; now, I seem that STAFFING TAB considers TASK TAB assignment, but instead no automatic workload distribution happen.
It looks like no resources link exist between TAB...
Any suggestion about?
Thanks
LucianoHi,
In Staffing tab there is required capacity and available capacity.
Required capacity is given to role and that can be distributed in general tab if distribution activated to that role type.
Available capacity will be associated with the resource and that is given during staffing.
You can not distribute required capacity in staffing tab as it is taken from Role.
Hope this will help you
Regards,
Karan Hon. -
Sap wm task and resource management configuration
Hello Experts,
Can somebody give me configuration steps of "Task and Resource Mangement", Its urgent.
Thanks in anticipation.
Regards,
Hari.Hi Hari Krishna,
I am also in need of the configuration steps of "Task and Resource Management", Will plz arrange.
Thanks in advance
Sai Krishna -
Project 2013 REST API - getting all tasks assigned to a user
I'm trying to get all tasks assigned to a user to display something like you would see in "My Tasks" using the REST API.
I found this: http://social.technet.microsoft.com/Forums/projectserver/en-US/a5d8760d-8e27-432b-8187-592cadf302ae/get-my-tasks-tasks-via-rest-api-or-web-services?forum=sharepointdevelopment
But it doesn't seem to pertain to Project 2013.
Any idea on how I could do this?
As an aside, I'm having some trouble with finding guidance in the documentation. Are there any Project 2013 developer resources that break things down a little more than the SDK? Everything I've found is pretty Sharepoint-centered, not really getting into
the specifics of Project.Check the samples folder which gets installed with SDK, there you will find some samples, however may not be the REST but with CSOM you could try something like this, i am sure you would be able to convert this pretty easily, in case required
projContext = new ProjectContext(pwaPath);
var PrjList = projContext.LoadQuery(projContext.Projects.Where(Prj => Prj.Name == newProjName));
projContext.ExecuteQuery();
var GotPrj = PrjList.First();
//DraftProject projCheckedOut = GotPrj.CheckOut();
projContext.Load(GotPrj.Tasks);
projContext.ExecuteQuery();
foreach (var tsk in GotPrj.Tasks)
this.textBox1.Text += Environment.NewLine + "Task Name: " + tsk.Name + " || Task Work: " + tsk.Work +" || Task Remaining Work: " +tsk.RemainingWork;
projContext.Load(tsk.Assignments);
projContext.ExecuteQuery();
foreach (var tskAssgn in tsk.Assignments)
projContext.Load(tskAssgn.Resource);
projContext.ExecuteQuery();
this.textBox1.Text += Environment.NewLine + tskAssgn.Resource.Name + "--Res ID--" + tskAssgn.Resource.Id +
"----Assgn ID: " + tskAssgn.Id + " || Actual Work: " + tskAssgn.ActualWork +
" || Assgn Remaining Work: " + tskAssgn.RemainingWork
+ " || Assgn minDate: " + tskAssgn.Start
+ " || Assgn maxDate: " + tskAssgn.Finish
Thanks | epmXperts | http://epmxperts.wordpress.com -
Assigning Role to a Task and Resource to a Task
Hello Friends,
In cProjects, I go to the below tab Projects > Resources > Tasks.
Here I do an assignment of Role to a Task and assignment of Resource to a Task.
Could you please tell me as to where does this information gets stored.(ie which tables).
And could you pleae tell me as to how do we differentiate between the Task, Roles and Resources in the internal table created.
Because the internal table consists of Task Guid, Participant Guid and Entity Guid.
Thanks,
SalilI can tell you the table where the the role assignments get stored . It is
DPR_ENTITY_LINK. -
HI SAP GURUS
I have created a Transfer Order with 4 line items for 4 different materials. And I have created 4 tasks with reference to the same TO in TRM Monitor. System is generated same group reference number for all tasks. Now how to assign this group reference number to a warehouse resource (worker) to create a task bundle?
Thanks inadvance,
Siva
Edited by: siva.T on Aug 4, 2010 11:11 PMHi Siva,
Can you Resolve my Problem,
While i am going to TRM Monitor to Create Task, There i am not getting any Inbound Delivery or Transfer Order.
Can you tell me the answer...
Thanks,
Mukesh -
Best way to create tasks and assign to sharepoint groups
Hi everyone, I have a custom list which contains newsletter info that is to be seen by around 400 groups (they are stores) and then I need them to mark each list item as 'completed'
I have been trying to figure out the best way to do this and decided to keep the custom list and somehow link it to a task for each item in the list. We have nintex so was thinking of creating a workflow to create a separate task for each group (store) so
they can mark it as completed.
Is this the best way to go about it or am I completely off track?
Basically all I need is a list which contains around 30 items and around 400 groups (stores) which contain users (store staff) to be able to mark items on the list as completed so it recognises that each store has completed each task.
ThanksHi ,
According to your description, you want to find the best way for creating tasks for 30 list items and assigning the task to around 400 groups.
For the workflow, it is heavy that you need to create around 12000 (30*400) tasks . In my opinion, the best way is to do with a custom timer job. For more information, you can refer to the
blog:
http://www.splessons.com/2013/12/create-a-timer-job-in-sharepoint-2013/
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Eric Tao
TechNet Community Support -
Task and resource management - Task confirmation from supervisor
Hello,
we are implementing TRM. We would to like give to th supervisor the possibility to confirm task using monitor. This can be useful in case of downtime of mobile devices.
Currently it's possibile to confirm from the alert monitor only the tasks with status force confirmation (status = 7). In this case from a WM pont of view the picking is already cofirmed and through monitor it's possibile to confirm the task and so the putaway from WM point view
So we need to develop a functionality that confirm task indipendently from the TRM status and WM status..
I found the function LTSK_TASK_CONFIRM but it seems that doesn't work.
Have you any suggestions for the functionality or sample code to launch the function module LTSK_TASK_CONFIRM?
i think it's very strange that SAP hasn't developed a method in order to confirm a task and then TO without using mobile device.
Regards,
AndreaHi Andrea,
Why don't you just use tcode LP00? You will log on to your device/resource element as if you are logging on to a scanner. This tcode then simulates the scanner screens on your SAP terminal and you can confirm all tasks as per correct scanning functionality.
Cheers,
Hein -
Task and Resource Management (TRM) - Replenishment/picking process
Hello everybody,
i need your help. We are implementing TRM module and we are facing issues with replenishment/picking process. We have storage location not HU Managed and wee have the necessity to create task bundle for picking/replenishment process.
Every times TRM make a bundle, it seems that force to execute a pick&pack
Regarding picking process when TRM creates a bundle it forces to specifiy a destination HU that will be inserted in the delivery as handling unit. So in this case we have no problem.
But in the replenishment process we haven't a delivery and so the standard avoid the insertion of HU.
The questions is:
1) Is possibile to have bundle without pick and pack? .
Thank you very much for your attention.
Regards,
AndreaHi James,
we haven't pick HU. I think that pick HU is only possibile for storage location HU managed. Our replenishment process foresees:
1) Make a bundle of picking from different source bins until
2) Make a bundle of putatway to different destination bins
So in we are facing two main problems that are driving us crazy:
1) The bundle in TRM works only in the pick and pack scenario. So in our warehouse replenishment (LP22) it doesn't work. A solution could be to make a cluster of task but it's not possibile to managed it in a system guided way. Maybe we have solved this problem by forcing HU numbers in the standard fields even if don't exist at IM or WM level. It's a dirty solution, i know.
2) Other problem is to manage a pick and drop. Operator could executed the picking bundle and then leave the mixed pallet in a drop-off point. Next an other operator has to scan the serial number of mixed pallet and put each material to a different bin.
Stantdard system can create only one task with the mixed pallet composed to the final destination while we have the necessity ti have n task.
I don't know if it's clear and someone could helps us in order to implement the scenario described above.
Other problems is that it seems impossible to develop custom functionalities in TRM because frequently the next step in the Logical transaction is harcoded in the standard code
Bye Bye,
Andrea -
Create tasks and internal system alerts
Hi all community,
Can you help me on this issue:
I need to create tasks or internal alerts to specific users
I try to instantiate the ActivityTask business object, but these tasks are not what I need,
Someone can tell me how to perform these tasks?
thanks in advance,
regards,
Joe Gonzales.Hi!
Someone who can help??
regards,
Joe Gonzales. -
Hello I am trying to create a secondary disk attached to a Windows Azure LINUX VM.
I sent the HTTP POST message body
<?xml version="1.0" encoding="UTF-8"?>
<DataVirtualHardDisk xmlns="http://schemas.microsoft.com/windowsazure"xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<HostCaching>ReadWrite</HostCaching>
<DiskLabel>49192cf1-cd65-4750-83bf-1fb5a337493d-sdf</DiskLabel>
<DiskName>49192cf1-cd65-4750-83bf-1fb5a337493d-sdf</DiskName>
<Lun>1</Lun>
<LogicalDiskSizeInGB>40</LogicalDiskSizeInGB>
<MediaLink>https://accordscentralus.blob.core.windows.net/vhds/49192cf1-cd65-4750-83bf-1fb5a337493d-sdf.vhd</MediaLink>
</DataVirtualHardDisk>
to the endpoint URL ( the url has been line split for clarity here only )
https://management.core.windows.net
/{subscription-identifier}
/services/hostedservices/54f84578testsmallubuntuw
/deployments/9e8e1e43-d13a-4cfb-bd5b-19f6421f40dd
/role/54f84578-testsmall-ubuntu-with-cosacs-volume
/DataDisks
with the header
x-ms-version : 2014-05-01
and receive the same response no matter what I try:
404 Not Found
<Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Code>ResourceNotFound</Code>
<Message>The resource service name hostedservices is not supported.</Message>
</Error>
The virtual machine has been correctly started, and is perfectly useable, but the secondary disk can not be created.
I have seen a few blogs and posts that say that I should not send the DiskName in the message but I need to be able to predict the name of the disk in order to be able to restart the VM with the correct disk.
Is there anyone that can help me to make sense of this.Ok I have tested this again several times and have consistantly observed the following results.
The first time round for an new instance and a VHD that does not exist:
The request
POST https://management.core.windows.net:443/{subscription}/services/hostedservices/54f8cc27testsmallubuntuw/deployments/80388771-1cd2-4fe2-9637-6a06659840df/roles/54f8cc27-testsmall-ubuntu-with-cosacs-volume/DataDisks
<?xml version="1.0" encoding="UTF-8"?>
<DataVirtualHardDisk xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<HostCaching>ReadWrite</HostCaching>
<DiskLabel>d-80388771-1cd2-4fe2-9637-6a06659840df-sdf</DiskLabel>
<Lun>0</Lun>
<LogicalDiskSizeInGB>40</LogicalDiskSizeInGB>
<MediaLink>https://accordscentralus.blob.core.windows.net/vhds/d-80388771-1cd2-4fe2-9637-6a06659840df-sdf.vhd</MediaLink>
</DataVirtualHardDisk>
Returns
HTTP/1.1 202 Accepted
and the VHD disk is created and attached to the virtual machine instance.
Inspection of the instance through the Windows Azure Portal using virtual machines->instances->dashboard we see the two disks attached to the instance.
The second time round, after terminating and deleting the instance and root disk VHD but not the extension disk VHD, whn creating and deploying a new virtual machine instance to use the existing VHD created in the first case.
The same request is sent as above, but with a different instance, role and deployment information, and it returns the same
202 Accepted signalling success but the already existant VHD does not get used and does not get attached to the virtual machine instance. In fact no extension disk gets attached to the instance at all.
Inspection of the instance through the Windows Azure Portal using virtual machines->instances->dashboard we see only one disk attached to the instance. -
Task and resource management wihout HU
Hello everybody,
i'm trying to customize the TRN module but i have a doubt...
Is it possibile to use TRM without using HU? . I work in a storage location not HU managed.
Thank you very much for your replies.
Regards,
A.Hi Andrea,
Yes .. it is possible ..
I am just learning TRM and I have just created a prototype without HU .. only with SU.
Regards,
Benito -
Task and resource management without HU and SU
Hi experts,
I know that it is possible to use TRM with SU and without HU.
Is it possibile to use TRM without HU and SU?
Thanks in advance
Regards
M.Hi,
Welcome you post on the SAP Business One Integration Technology forum. However, this may not be the proper forum for you. This forum is dedicated to SAP Business One. Please close your thread and post on a proper forum.
Thanks,
Gordon
Maybe you are looking for
-
Error while posting vendor invoice in F-43
Hi experts, while posting vendor invoice with Tax code , i am getting the following error: Posting is only possible with a zero balance; correct document Message no. F5060 Here tax line item is not yet all displaying in simulation. If I posted with t
-
I'm having a lot of problems with the hotmail account, regularly is indicating an error in the server, that I have to introduce the password again that late that this is wrong. I have changed the password making this shorter but it does not work.
-
hi, i've written a servlet ------ import org.apache.struts.digester.Digester; which gives error while compiling as-------- cannot resolve symbol symbol : class Digester location: package dig
-
Error when updating InDesign to CS5 7.0.4 windows
Some updates failed to install. There was an error downloading this update. Please quit and try again later. I tried twice but didn't succeed. Why? Is update still possible? Can you send the update file to me by e-mail? If yes - please send me also u
-
Note: this is a DBConsole question not Grid Control but cannot find a more suitable forum. I have had a few issues with OEM on 10.2.0.4 Standard edition on Windows 2003. Scheduled jobs which ran fine in test were not running in Production. I decided