DPES Service Tester
User Authenticate
Endpoint :
/api/user/[userid]/authorize
Authenticates a user and returns a Authorization Key
Method :
POST
Inputs
userid : String
password : String
Try :
userid :
password :
Project Create
Endpoint :
/api/project/create
Creates a new project and returns project id
Method :
POST
Inputs
authenticationKey : String (Thru request header)
projectname : String
projectdescr : String (optional)
riskdocument : String (optional)
ontologyUri : String (optional)
Try :
authenticationKey :
projectname :
projectdescr :
riskdocument :
ontologyUri :
Project Update
Endpoint :
/api/project/[projectid]/update
Updates risk/ontology documents for a project
Method :
POST
Inputs
authenticationKey : String(Thru request header)
projectid : String
riskdocument : String (optional)
ontologyUri : String (optional)
Try :
authenticationKey :
projectid :
riskdocument :
ontologyUri :
Get Risk Alternatives
Endpoint :
/api/project/[projectid]/riskalternatives
Gets risk document with URL for Alternatives and costing
Method :
POST
Inputs
authenticationKey : String(Thru request header)
projectid : String
Try :
authenticationKey :
projectid :
Recommendation
Endpoint :
/api/project/[projectid]/recommendation
Send preservation recommendation of a project
Method :
POST
Inputs
authenticationKey : String(Thru request header)
projectid : String
preserve : boolean
alternateOntologyuri : String (required if preserve=true &
an alternate is recommended)
Try :
authenticationKey :
projectid :
preserve :
true
false
alternateOntologyuri :
Get Status
Endpoint :
/api/project/[projectid]/status
Gets status of a project
Method :
POST
Inputs
authenticationKey : String(Thru request header)
projectid : String
Try :
authenticationKey :
projectid :