Giter Club home page Giter Club logo

project-rest-basic-operations's Introduction

page_type products languages extensions
sample
office-project
office-365
powershell
contentType platforms createdDate
samples
REST API
11/23/2015 8:07:26 PM

Project REST Basic Operations

The Project REST Basic Operations demonstrates how to create and update a project using REST API.

Prerequisites

To use this Project Online REST code sample, you need the following:

  • An Office 365 tenant with a Project license
  • PowerShell v4.0
  • Latest MSAL .Net library. It is available as a Nuget Package from here
  • For the files downloaded, please run "Unblock-File *" to unblock accessing the file.

Modules

How the sample affects your tenant data

This sample runs REST API methods that create, read, update, or delete data. When running commands that delete or edit data, the sample creates sample data. The sample data is created or edited so that your actual tenant data is unaffected.

Additional resources

Copyright

Copyright (c) 2016 Microsoft. All rights reserved.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

project-rest-basic-operations's People

Contributors

davidchesnut avatar ditiwari-0512 avatar josex1975 avatar lindalu-msft avatar lunchwithalens avatar microsoft-github-policy-service[bot] avatar nadinmerali avatar o365devx avatar soocho-msft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

project-rest-basic-operations's Issues

updateproject.ps1 Update description error

Update description on Project Online not working:

ReST request to update the project description

$body = "{'Description':'Updated from PowerShell using REST API'}"
Patch-ReSTRequest $SiteUrl "ProjectServer/Projects('$projectid')/Draft" $body

Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (412) Precondition Failed."

getstatusassignments - 403 forbidden

I' m using GetStatusAssignments.ps1 script and the endpoint returns 403 - Forbidden.

From the browser (logged into the site) I can see the data without problems. Also from CSOM (but in CSOM, the endpoint is different)

All the other scripts are returning data.

Is this script working? What i am doing wrong?

Thks!

update resource tax value

Hi,
anyone knows if it is possible to modify the resource cost in project online using the API?
any example?

Thanks

Would like to see a REST example for creating a SPO site with WebTemplate of PWA#0

This is essentially the prerequisite classic site that would be needed before the project is made, before this module can be used. PnP Powershell can make it, but having the ability to do it via Power Automate's 'Send HTTP Request to SharePoint' would be excellent as well, particularly in Cx scenarios that require approval flows. Can't seem to find any examples for which endpoint to use, as /_api/SPSiteManager/create fails when one specifies PWA#0 for the template.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.