Project

General

Profile

Actions

Defect #12578

closed

REST API - Memberships

Added by loc nguyen over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

when I use code:

$role=array();
$role[]=3;$role[]=4;
$projects = new Project;
$project = $projects->find(1);
$project->post('memberships', array('user_id' => '9', 'role_ids' => $role));

I get Internal error 500?
I only get this error with this action.
May I be helped ?

Actions

Also available in: Atom PDF