Initiative Create
POST
https://api.profit.co/app/dao/v6/objective?a=createInitiative&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>
Body
PARAM
Key |
Datatype |
Required |
Description |
a
|
string |
|
action type
|
apiKey
|
string |
|
Required: API key of your Profit.co Account
|
accessKey
|
string |
|
Required: Access key of your Profit.co Account
|
HEADERS
Key |
Datatype |
Required |
Description |
RESPONSES
status
curl -X POST 'https://api.profit.co/app/dao/v6/objective?a=createInitiative&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>?a=createInitiative&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>' -F '{"name"=>"data", "value"=>"{\"customAttributes\":[],\"initiativeNo\":\"Auto generated number\",\"name\":\"Abu Dhabi energy sector\",\"assignedToObjectRefName\":\"user 2\",\"managerId\":2096509,\"assignedToObjectRefId\":2100697,\"measurements\":[{\"id\":13223,\"name\":\"AST measurements\",\"measurementId\":13223}],\"strategicPlanYear\":2021,\"departmentName\":\"D1\",\"departmentId\":2254074,\"focusAreaName\":\"new focus\",\"focusAreaId\":13481,\"statusName\":\"Not Started\",\"statusId\":1,\"initiativeCategoryName\":\"new one categories\",\"initiativeCategoryId\":2,\"wn\":\"wave 1\",\"wi\":10000}", "datatype"=>"string"}='