# Here is a curl example
curl \
-X POST "http://localhost:8888/api/Projects/AddResourcesInProjectStage" \
-H "Authorization: {token}" \
-H "Content-Type: application/json" \
-d '{
"project_object_id": 123,
"record_id": 123,
"user_ids": [1,2,3],
"project_stage_id": 123,
}'
This method allows you to add resources to project stages.
To add resources, you need to make a POST call to the following url:
:
http://localhost:8888/api/Projects/AddResourcesInProjectStage
Result example :
[
{
"Success": "boolean",
"Message": "string",
"Data": object,
"CustomAction": Dictionary<object, object> ,
"CustomAttributes":Dictionary<object, object>
}
]
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| project_object_id | body | long | Project Object Id. |
| record_id | body | long | Record Id. You can get from another method (http://localhost:8888/api/Objects/ObjectRecords). |
| user_ids | body | List<long> | List of user ids. |
| project_stage_id | body | long | Process stage Id. You can get from another method (http://localhost:8888/api/Projects/GetProjectStages). |
| Authorization | header | string | Add Authorization header token |