Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. API V3 - Create Subproject

API V3 - Create Subproject

Added by Amr Labadi about 1 year ago

Hello, how can i create a sub project with the api? I only saw the option to see, which projects are available as a parent project. But i want to update or create a project with the parent project with the API. Please help me


Replies (1)

RE: API V3 - Create Subproject - Added by Simon Krump about 1 year ago

Hello Amr,
thank you for your request. If you like to create a project as a sub project of a parent project, please find following example body below.

The "href" under "parent" contains the link to your parent project where 123 has to be replaced by your parent project ID.

{
  "name": "Project example",
  "description": {
    "raw": "Lorem **ipsum** dolor sit amet"
  },
  "_links": {
    "parent": {
      "href": "/api/v3/projects/123"
    }
  }
}

Best Regards

Simon

  • (1 - 1/1)
Loading...