GetProjectShellList
GET /ws/rest/service/v1/admin/projectshell
Purpose:
Get Project and Shells
Input:
All parameters should be URL encoded.
Both input & output in JSON format in the body
Url Parameter
"options" (Optional): options attribute can be used to filter the list with the possible attributes.
"status"(Optional): "Active, Inactive, On-Hold, View-Only" are possible values.
"type"(Optional):"wbs_shell,generic_shell" are possible types.
"filter_condition"(Optional): projectname or projectnumber.
Output:
JSON object containing 'status', 'data', 'message'
Status codes are:
1> 200 OK if success
For error scenarios, the relevant message will be displayed.
GetProjectShellList
{
"data":
[
{
"projectname":"All Projects",
"projectnumber":"AP",
"status":"Active",
"type":"wbs_shell"
},
{
"projectname":"Fred's Test Project 1",
"projectnumber":"P-0001",
"status":"Active",
"type":"wbs_shell"
},
{
"projectname":"Ray's Test Project 1",
"projectnumber":"P-0002",
"status":"Active",
"type":"wbs_shell"
}
],
"message":
[ "Success"
],
"status":200
}