Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Creating projects by 5PM's GET-API

I'd like to create projects by 5PM's GET API and set the team members of a project. Can you please give me an example of how to send the team members in a GET request?
Kind regards,
André
1 person has
this question
+1
Reply
  • Add Project Params:

    name type=string
    description type=string
    tags type=string
    clientId type=integer
    ownerId type=integer
    groupId type=integer
    startDate type=dateTime
    endDate type=dateTime
    priority type=integer Valid values: 1 - low 2 - normal 3 - high 4 - urgent *setting other value - will leave field unchanged
    status type=integer Valid values: 10 - open 20 - on hold 30 - done *setting other value - will leave field unchanged
    createdAt type=dateTime
    updatedAt type=dateTime
    notifyProjectTeam type=boolean
    notifyClient type=boolean
    notifyUsers type=UserList
    hidden type=boolean
    flag type=integer Valid values: 0 - blank 1 - violet 2 - orange 3 - red *setting other value - will leave field unchanged
    team type=UserList

    UserList object
    items type=User

    User object
    id type=integer

    Example:
    $team = array();
    $team['items'][] = array('id'=>1);
    $team['items'][] = array('id'=>2);
    // create a new project
    $project = $api->projects->add(
    array(
    'name' => "New Api project",
    'team' => $team
    )
    );

    for full documentation check:
    https://www.5pmweb.com/5pm_api.php
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated