GET /ws/rest/service/v1/admin/bps/project_number
This GET service results all the Business Processes available (BP set ups) in shell:
- If project_number in URL is provided, or
- The company Level, if project_number is left empty.
Output JSON
1) When project number is provided, for example: /ws/rest/service/v1/admin/bps/B-0001, the Response will contain all the shell level Business Processes available to be used by users in that shell/project. When project number is not provided, for example: /ws/rest/service/v1/admin/bps, the Response will contain all the company level Business Processes available to be used by users in the Company Level.
{
"data":
[
{
"bp_model_name":"uab",
"bp_name":"Annual Budget",
"studio_source":"cost",
"studio_type":"other",
"no_workflow":false
},
{
"bp_model_name":"uatc",
"bp_name":"Assets Creator",
"studio_source":"simple",
"studio_type":null,
"no_workflow":false
},
{
"bp_model_name":"ubcfm",
"bp_name":"Budget Changes-FM",
"studio_source":"cost",
"studio_type":"other",
"no_workflow":false
}
],
"message":
[ ""
],
"status":200
}
2) When incorrect shell number is provided, the Result would be error response with status 602 and message: "Project/Shell Number is not correct.," as shown below.
{
"data":
[
],
"message":
[ "Project/Shell Number is not correct."
],
"status":602
}