/initiatives
These methods allow you to create, edit, delete and get info on initiatives.
Get initiatives list
GET
https://pm415.com/api/initiatives/all/:showarchived/:orgid
Gets the initiatives list.
Path Parameters
:orgid
number
The ID of the org
:showarchived
boolean
True or false
Headers
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Get current initiative
GET
https://pm415.com/api/initiatives/:orgid/:initiativeid
Gets the current initiative information.
Path Parameters
:initiativeid
number
The ID of the initiative
:orgid
number
The ID of the org
Headers
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Get info on selected initiatives
POST
https://pm415.com/api/initiatives/:orgid
Gets the information on the selected initiatives.
Path Parameters
:orgid
number
The ID of the org
Headers
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Request Body
object
{"initiativeId": ["25"], "fullSelect": true}
Create new initiative
POST
https://pm415.com/api/initiatives/new/:orgid
Creates the new initiative.
Path Parameters
:orgid
number
The ID of the org
Headers
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Request Body
object
{"title": "Api created", "description": "api created Description", "statusId":"9", "horizon":"111111"}
Update current initiative
PUT
https://pm415.com/api/initiatives/edit/:orgid/:initiativeid
Updates the current initiative.
Path Parameters
:initiativeid
number
The ID of the initiative you want to update
:orgid
number
The ID of the org
Headers
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Request Body
object
{"title": "aasdsadasdasdasdasd3", "statusId": "10"}
Delete initiative
DELETE
https://pm415.com/api/initiatives/:orgid/:initiativeid
Deletes the initiative.
Path Parameters
:initiativeid
number
The ID of the initiative you want to delete
:orgid
number
The ID of the org
Headers
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Last updated
Was this helpful?