This is the reference document for the REST API and resources provided by TechExcel, Inc. To Test Page
This documents the current REST API provided by TechExcel. Inc.
Search the applicable requirements in a requirement folder
Example
{"ProjectID":144,"FolderID":41,
"ShowAll": 1,
"PageIndex": "1",
"PageSize": "10",
"Fields": ["ProjectID", "ID", "Title", "Status", "Spec Owner", "Spec OwnerID", "Planned Start Date", "Planned Finish Date", "Date Last Modified", "StateID", "Points", "Priority Value", "Finish"],
"SortFields": ["1101"],
"SortOrder": [1],
"KeyWord": "1486,1487",
"SupportFieldID": 1,
"LinkedTestTempFolderID":1
}
Get the selected requirement info.
Example
{"ProjectID":144,"FolderID":36,"FolderName":"Improvements","FolderPath":["Instant Messenger v1.0","Improvements"],"Title":"Updatexxxx API Created Spec2","Description":"kkkkkk",
"Assigned by":"","Last Modified by":"Terry Johnson","Created by":"Terry Johnson","ID":1330,"Spec Owner":"","Status":"In Development","Spec Type":"Spec","External ID":"","Time Estimate":2,"Points":3,
"Priority Value":4,"Planned Start Date":null,"Planned Finish Date":null}
Create the requirement item
Example
{"ProjectID":144,"FolderID":36,"FolderPath":["Instant Messenger v1.0","Improvements"],"Title":"Created API Created Spec2","FolderName":"Improvements","Description":"kkkkkk","Assigned by":"","Last Modified by":"Terry Johnson",
"Created by":"Terry Johnson","Spec Owner":"","Status":"In Development","Spec Type":"Spec","External ID":"","Time Estimate":2,"Points":3,"Priority Value":4,"Planned Start Date":null,"Planned Finish Date":null}
Update the requirement item
Example
{"ProjectID":144,"FolderID":36,"FolderPath":["Instant Messenger v1.0","Improvements"],"ID":1330,"FolderName":"Improvements","Title":"Update222 API Created Spec2","Description":"kkkkkk","Assigned by":"",
"Last Modified by":"Terry Johnson","Created by":"Terry Johnson","Spec Owner":"","Status":"In Development","Spec Type":"Spec","External ID":"","Time Estimate":2,"Points":3,"Priority Value":4,"Planned Start Date":null,"Planned Finish Date":null}
DevSpecAPI/ReqItem?ProjectID=144&ItemIDs=1,2,3
available response representations:Return the requirement folder tree.
Example
{"FolderNodes":[{"FolderID":1,"FolderName":"Spec Root","FolderStatusID":0,"FolderNodes":[{"FolderID":2,"FolderName":"Content
Sharing Manager v1.0","FolderStatusID":1,"FolderNodes":[{"FolderID":4,"FolderName":"Customer
Requests","FolderStatusID":1,"FolderNodes":[]},{"FolderID":20,"FolderName":"Internal
Feature Enhancement","FolderStatusID":1,"FolderNodes":[]},{"FolderID":33,"FolderName":"Requirements
using Word Addin","FolderStatusID":1,"FolderNodes":[]}]},{"FolderID":17,"FolderName":"Content
Sharing Manager v2.0","FolderStatusID":1,"FolderNodes":[{"FolderID":5,"FolderName":"Roadmap","FolderStatusID":1,"FolderNodes":[]}]},{"FolderID":14,"FolderName":"Instant
Messenger v1.0","FolderStatusID":1,"FolderNodes":[{"FolderID":6,"FolderName":"Improvements","FolderStatusID":1,"FolderNodes":[]}]},{"FolderID":18,"FolderName":"Instant
Messenger v2.0","FolderStatusID":1,"FolderNodes":[]},{"FolderID":35,"FolderName":"ddd","FolderStatusID":0,"FolderNodes":[{"FolderID":40,"FolderName":"AA","FolderStatusID":0,"FolderNodes":[{"FolderID":42,"FolderName":"test
folder AAA BB","FolderStatusID":1,"FolderNodes":[{"FolderID":62,"FolderName":"API
add folder 3","FolderStatusID":1,"FolderNodes":[]},{"FolderID":70,"FolderName":"API
add folder 222","FolderStatusID":1,"FolderNodes":[]},{"FolderID":71,"FolderName":"API
add folder 222","FolderStatusID":1,"FolderNodes":[]},{"FolderID":72,"FolderName":"API
add folder 12","FolderStatusID":1,"FolderNodes":[]}]},{"FolderID":43,"FolderName":"cccc","FolderStatusID":1,"FolderNodes":[]},{"FolderID":44,"FolderName":"ddd","FolderStatusID":1,"FolderNodes":[]},{"FolderID":45,"FolderName":"eeee","FolderStatusID":1,"FolderNodes":[]},{"FolderID":53,"FolderName":"ccccc","FolderStatusID":1,"FolderNodes":[]},{"FolderID":54,"FolderName":"xxxxxxxxxxxxxxxxxxxxxx","FolderStatusID":1,"FolderNodes":[]},{"FolderID":55,"FolderName":"zzzzz","FolderStatusID":1,"FolderNodes":[]},{"FolderID":56,"FolderName":"API
add folder 2","FolderStatusID":1,"FolderNodes":[]},{"FolderID":57,"FolderName":"API
add folder 3","FolderStatusID":1,"FolderNodes":[]},{"FolderID":58,"FolderName":"API
update folder 33","FolderStatusID":1,"FolderNodes":[]},{"FolderID":59,"FolderName":"ccc","FolderStatusID":1,"FolderNodes":[]},{"FolderID":60,"FolderName":"API
add folder 3","FolderStatusID":1,"FolderNodes":[]},{"FolderID":61,"FolderName":"xyz","FolderStatusID":1,"FolderNodes":[]},{"FolderID":69,"FolderName":"API
add folder 1111","FolderStatusID":1,"FolderNodes":[]},{"FolderID":73,"FolderName":"Update
Test folder123","FolderStatusID":1,"FolderNodes":[]},{"FolderID":74,"FolderName":"API
Create Test folder123","FolderStatusID":1,"FolderNodes":[]}]},{"FolderID":41,"FolderName":"folder
b","FolderStatusID":0,"FolderNodes":[]},{"FolderID":49,"FolderName":"API add folder
2","FolderStatusID":1,"FolderNodes":[]},{"FolderID":50,"FolderName":"API add folder
3","FolderStatusID":1,"FolderNodes":[]},{"FolderID":51,"FolderName":"API add folder
3","FolderStatusID":1,"FolderNodes":[]}]},{"FolderID":46,"FolderName":"space1","FolderStatusID":1,"FolderNodes":[]}]},{"FolderID":11,"FolderName":"Template
Root","FolderStatusID":0,"FolderNodes":[]},{"FolderID":75,"FolderName":"Idea Books","FolderStatusID":0,"FolderNodes":[]},{"FolderID":28,"FolderName":"Document
Templates","FolderStatusID":0,"FolderNodes":[{"FolderID":29,"FolderName":"Attachment
Templates","FolderStatusID":0,"FolderNodes":[{"FolderID":52,"FolderName":"document
folder1","FolderStatusID":1,"FolderNodes":[]}]},{"FolderID":30,"FolderName":"Epic
Document Templates","FolderStatusID":0,"FolderNodes":[]}]}]}
Return the selected folder child folder tree
Example
{"ProjectID":144,"FolderID":42,"ShowAll":1,"Query":[{"Name":"FolderID","Operate":">=","choices":"70"},{"Name":"FolderName","Operate":"LIKE","choices":"222"}]}
Example
{"FolderNodes":[{"FolderID":70,"FolderName":"API add folder1","ChildNumber":0,"FolderStatusID":"Open","FolderNodes":[]},{"FolderID":71,"FolderName":"API add folder2","ChildNumber":0,"FolderStatusID":"Open","FolderNodes":[]}]}
Get the selected requirement folder info.
Example
{"ProjectID":144,"Folder Name":"Improvements","Folder Description":"desc123","Folder Status":"Open","Is Read-only":null,"Folder Product/Version":0,"Release Info":0,"FolderID":36,
"FolderPath":["Instant Messenger v1.0","Improvements"],"Same as Parent":1,"PlanStartDate":null,"PlanEndDate":null,"DefaultKWKTemplateID":null,"TypeID":0}
Create requirement folder
Example
{"ProjectID":144,"ParentFolderID":40,"Folder Name":"Improvements","ParentFolderPath":["Instant Messenger v1.0","Improvements"],"Position":"Normal","Folder Description":"desc123","Folder Status":"Open","Is Read-only":null,
"Folder Product/Version":0,"Release Info":0,"Same as Parent":1,"TypeID":0}
Update the requirement folder
Example
{"ProjectID":144,"Folder Name":"Improvements","FolderID":36,"FolderPath":["Instant Messenger v1.0","Improvements"],"Folder Description":"desc123333",
"Folder Status":"Open","Is Read-only":null,"Folder Product/Version":0,"Release Info":0,"Same as Parent":1,"TypeID":0}
DevSpecAPI/ReqFolder?ProjectID=144&FolderID=7
available response representations:Search the applicable requirements in the requirement note list
Example
{"ProjectID":144,"ItemID":1330}
Example
{
"NoteItems": [
{
"ProjectID": 144,
"ItemID": 1299,
"NoteID": 94,
"Title": "Comments",
"Created By": "Terry Johnson",
"CreatedByID":13,
"Created Date": "2017-11-21T09:48:29.433",
"Description": "PHA+bm90ZTE8L3A+Cg==",
"ReplyUserID": 0,
"ReplyUser": "",
"ChildNoteItems": [
{
"ProjectID": 144,
"ItemID": 1299,
"NoteID": 95,
"Title": "Comments",
"Created By": "Terry Johnson",
"CreatedByID":13,
"Created Date": "2017-11-21T09:48:39.74",
"Description": "PHA+bm90ZTEgcmVwbHkxPC9wPgo=",
"ReplyUserID": 0,
"ReplyUser": "",
"ChildNoteItems": []
},
{
"ProjectID": 144,
"ItemID": 1299,
"NoteID": 97,
"Title": "Comments",
"Created By": "Terry Johnson",
"CreatedByID":13,
"Created Date": "2017-11-21T09:53:01.123",
"Description": "PHA+cmVwMjwvcD4K",
"ReplyUserID": 13,
"ReplyUser": "Terry Johnson",
"ChildNoteItems": []
},
{
"ProjectID": 144,
"ItemID": 1299,
"NoteID": 98,
"Title": "Comments",
"Created By": "Bill Blackwood",
"CreatedByID":13,
"Created Date": "2017-11-22T10:42:55.51",
"Description": "PHA+YmlsbCByZXBseTM8L3A+Cg==",
"ReplyUserID": 13,
"ReplyUser": "Terry Johnson",
"ChildNoteItems": []
}
]
},
{
"ProjectID": 144,
"ItemID": 1299,
"NoteID": 96,
"Title": "Comments",
"Created By": "Terry Johnson",
"CreatedByID":13,
"Created Date": "2017-11-21T09:52:06.127",
"Description": "PHA+bm90ZTI8L3A+Cg==",
"ReplyUserID": 0,
"ReplyUser": "",
"ChildNoteItems": []
}
]
}
Get the selected requirement note.
Example
{
"ProjectID": 144,
"ItemID": 1299,
"NoteID": 94,
"Title": "Comments",
"Created By": "Terry Johnson",
"Created Date": "2017-11-21T09:48:29.433",
"Description": "PHA+bm90ZTE8L3A+Cg==",
"CreatedByID": 13
}
Create requirement note
Example
{"ProjectID":144,"ItemID":1330,"Title":"API add Note2","Created By":"Terry Johnson","Description":"RGVzYyBNb2RpZnky","ParentID":68}
Update the requirement note
Example
{"ProjectID":144,"ItemID":1330,"NoteID":54,"Title":"API update Note1","Created By":"Terry Johnson","Description":"RGVzYyBNb2RpZnky"}
DevSpecAPI/ReqNote?ProjectID=144&ItemID=1058&NoteID=84
available response representations:Get the requirement's document.
Add requirement's document
DevSpecAPI/ReqDocument?ProjectID=144&ItemID=1058&FileID=84
available response representations:Get the requirement note's Attachment.
Add requirement note Attachment
DevSpecAPI/ReqAttachment?ProjectID=144&FileID=84&NoteID=88
available response representations:Search the applicable requirements in the ReqDocumentInfo
Example
{"ProjectID":144,"ItemID":1325,"Fields":["ProjectID","FileID","FileName","DisplayFileName","VersionID","LastCheckInDate"]}
Example
{"ProjectID":144,"FileID":130,"FileName":"DevSuite Overview.docx","DisplayFileName":"DevSuite Overview.docx","VersionID":1,"LastCheckInDate":"2014-04-11T17:54:38.627"}
Search the applicable requirements in the ReqAttachmentInfo
Example
{"ProjectID":144,"ItemID":1314,"NoteID":60,"Fields":["ProjectID","FileID","FileName","DisplayFileName","VersionID","LastCheckInDate"]}
Search the applicable requirements in the Project
Example
{"ProjectID":144}
Search the applicable requirements in the ProjectReload
Example
{"ProjectID":144}
Return the requirement All Links
Example
{
"ProjectID": 144,
"ItemID": 1358,
"LinkedDevSpec": [{
"ProjectID": 144,
"ItemID": 1411,
"ParentFeatureID": 1358,
"LinkReferenceTypeID": 0,
"Title": "pid1336",
"State": "{New}",
"Owner": "",
"LastModifiedBy": "Terry Johnson",
"LastModifiedTime": "2018-05-07T10:20:28.343"
}, {
"ProjectID": 144,
"ItemID": 1439,
"ParentFeatureID": 1358,
"LinkReferenceTypeID": 0,
"Title": "pid1336",
"State": "{New}",
"Owner": "",
"LastModifiedBy": "Terry Johnson",
"LastModifiedTime": "2018-05-07T10:31:25.753"
}],
"LinkedDevTestTemplate": [{
"TemplateProjectID": 2,
"TemplateID": 19,
"TemplateTitle": "Client-TestX",
"State": "Approved",
"Owner": "Terry Johnson",
"LastModifiedBy": "Terry Johnson",
"LastModifiedTime": "2004-06-09T18:46:55"
},
{
"TemplateProjectID": 2,
"TemplateID": 20,
"TemplateTitle": "WebSubversionIntegration",
"State": "Approved",
"Owner": "Terry Johnson",
"LastModifiedBy": "Terry Johnson",
"LastModifiedTime": "2014-01-30T17:49:36"
},
{
"TemplateProjectID": 2,
"TemplateID": 29,
"TemplateTitle": "SupportforHTML5andCSS3",
"State": "PendingApproval",
"Owner": "James Robinson",
"LastModifiedBy": "Terry Johnson",
"LastModifiedTime": "2014-02-06T14:26:15"
},
{
"TemplateProjectID": 2,
"TemplateID": 30,
"TemplateTitle": "HardwareSpec",
"State": "Pending Approval",
"Owner": "Terry Johnson",
"LastModifiedBy": "Terry Johnson",
"LastModifiedTime": "2014-02-06T14:26:21"
}
],
"LinkedDevTest": [{
"TemplateProjectID": 2,
"TemplateID": 30,
"TestProjectID": 3,
"TestID": 188,
"TestTitle": "Hardware Spec",
"State": "Inprogress",
"Owner": "+ForReview",
"LastModifiedBy": "Terry Johnson",
"LastModifiedTime": "2014-01-06T13:58:29",
"OpenOrClose": "AllOpen"
},
{
"TemplateProjectID": 2,
"TemplateID": 30,
"TestProjectID": 3,
"TestID": 189,
"TestTitle": "HardwareSpec",
"State": "Fail",
"Owner": "+ForReview",
"LastModifiedBy": "Terry Johnson",
"LastModifiedTime": "2014-01-06T13:59:20",
"OpenOrClose": "Last Closed"
}
],
"LinkedDevelopment": [{
"LinkedStoryName": "1358-0:AllLinktest1",
"TaskID": 137,
"TaskTitle": "[QA]AllLinktest1",
"Status": "Tobeassigned",
"Owner": "Terry Johnson",
"LastModifiedBy": "",
"LastModifiedTime": "0001-01-01T00:00:00",
"DevTrackProjectID": 181,
"DevTrackProjectName": "Sample DevelopmentProject-DevTrack",
"SubProjectID": 2150,
"SubProjectPath": "\\Content SharingManagerV1.0(Agile)\\Sprint1"
},
{
"LinkedStoryName": "1358-0:AllLinktest1",
"TaskID": 140,
"TaskTitle": "[WindowsDevelopment]AllLinktest1",
"Status": "To beassigned",
"Owner": "Terry Johnson",
"LastModifiedBy": "",
"LastModifiedTime": "0001-01-01T00:00:00",
"DevTrackProjectID": 181,
"DevTrackProjectName": "Sample DevelopmentProject-DevTrack",
"SubProjectID": 2150,
"SubProjectPath": "\\Content SharingManagerV1.0(Agile)\\Sprint1"
}
]
}
Add DevTest Template Link
Example
{
"ProjectID": 144,
"ItemID": 1471,
"LinkedProjectID": 144,
"LinkedItemIDs": "1476",
"LinkTypeID": 7,
"LinkReferenceTypeID": 0,
"ActionType": 2
}
"ActionType"
DevSpecAPI/ReqAllLink?ProjectID=144&ItemID=1376&DevTestProjectID=2&DevTestTemplateID=30
available response representations:Get the applicable requirement's attachment list info
Example
{"ProjectID":144,"ItemID":50,"Fields":["ProjectID","FileID","FileName","DisplayFileName","VersionID","LastCheckInDate"]}
Example
{"AttachmentInfoList":[{"ProjectID":144,"FileID":798,"FileName":"123 office.doc","DisplayFileName":"123 office.doc","VersionID":1,"LastCheckInDate":"2017-09-19T18:06:37.787"},{"ProjectID":144,"FileID":797,"FileName":"111.doc","DisplayFileName":"111.doc","VersionID":1,"LastCheckInDate":"2017-09-19T18:05:36.94"}]}
Get the requirement Attachment Image.
Get the requirement Attachment.
Get the requirement owner list.
Example
{"OwnerList":[{"ProjectID":144,"UserID":-2,"UserName":"{All Members}"},{"ProjectID":144,"UserID":0,"UserName":"{Unassigned}"},{"ProjectID":144,"UserID":1001,"UserName":"Bill Blackwood"},{"ProjectID":144,"UserID":16,"UserName":"Dean Stewart"},{"ProjectID":144,"UserID":19,"UserName":"James Robinson"},{"ProjectID":144,"UserID":6,"UserName":"Judith Brown"},{"ProjectID":144,"UserID":15,"UserName":"Matt Peterson"},{"ProjectID":144,"UserID":18,"UserName":"Pamela Miller "},{"ProjectID":144,"UserID":14,"UserName":"Paul Wagner"},{"ProjectID":144,"UserID":9,"UserName":"Scott Williams"},{"ProjectID":144,"UserID":13,"UserName":"Terry Johnson"},{"ProjectID":144,"UserID":17,"UserName":"Tim Simpson"},{"ProjectID":144,"UserID":8,"UserName":"William Neil"}]}
Get the requirement status list.
Example
{"StatusList":[{"ProjectID":144,"StateID":-10,"StateName":"{Unspecified}","IsClosed":0},{"ProjectID":144,"StateID":11,"StateName":"Pending Change","IsClosed":0},{"ProjectID":144,"StateID":13,"StateName":"To be Committed","IsClosed":0},{"ProjectID":144,"StateID":88,"StateName":"In Development","IsClosed":0},{"ProjectID":144,"StateID":89,"StateName":"Released","IsClosed":1},{"ProjectID":144,"StateID":90,"StateName":"Developed","IsClosed":0},{"ProjectID":144,"StateID":92,"StateName":"Dropped","IsClosed":1}]}
Get requirement related tag list
Example
{
"ProjectID": 144,
"ItemID": 69,
"TagList": [
{
"TagID": 1,
"TagName": "t1",
"TagColor": "#d93651",
"TagOrder": 1
},
{
"TagID": 2,
"TagName": "t2",
"TagColor": "#ff9f1b",
"TagOrder": 2
},
{
"TagID": 3,
"TagName": "t3",
"TagColor": "#ffd500",
"TagOrder": 3
},
{
"TagID": 4,
"TagName": "t4",
"TagColor": "#8acc47",
"TagOrder": 4
}
]
}
Update requirement tags (Add and Delete)
Example
{
"ProjectID": 144,
"ItemID": 69,
"TagList": [
{
"TagID": 1,
"TagName": "t1",
"TagColor": "#d93651",
"TagOrder": 1
},
{
"TagID": 2,
"TagName": "t2",
"TagColor": "#ff9f1b",
"TagOrder": 2
},
{
"TagID": 3,
"TagName": "t3",
"TagColor": "#ffd500",
"TagOrder": 3
},
{
"TagID": 4,
"TagName": "t4",
"TagColor": "#8acc47",
"TagOrder": 4
}
]
}
Some operation for requirement attachment
Example
{
"ProjectID": 144,
"OperationType": 5,
"FileID": 868,
"ItemID": 69,
"Args": "Document.docx"
}
"OperationType"
Get Project related tag list
Example
{
"ProjectID": 144,
"ItemID": 0,
"TagList": [
{
"TagID": 1,
"TagName": "t1",
"TagColor": "#d93651",
"TagOrder": 1,
"LinkedItemID": 0
},
{
"TagID": 2,
"TagName": "t2",
"TagColor": "#ff9f1b",
"TagOrder": 2,
"LinkedItemID": 0
},
{
"TagID": 3,
"TagName": "t3",
"TagColor": "#ffd500",
"TagOrder": 3,
"LinkedItemID": 0
}
]
}
Add Project Tags
Example
{
"ProjectID": 144,
"ItemID": 0,
"TagList": [
{
"TagID": 0,
"TagName": "t11",
"TagColor": "#d93651",
"TagOrder": 0,
"LinkedItemID": 0
}
]
}
Update the project tag(Tag Name and Tag Color)
Example
{
"ProjectID": 144,
"ItemID": 0,
"TagList": [
{
"TagID": 1,
"TagName": "new t1",
"TagColor": "#d93651",
"TagOrder": 1,
"LinkedItemID": 0
}
]
}
DevSpecAPI/ReqProjectTagList?ProjectID=144&TagID=3
available response representations:Query the requirement attachment status.
Generate PDF and image thumbnail
Example
{
"ProjectID": 144,
"ItemID": 646,
"FileID": 839,
"ViewType": 402,
"FileName": "111.doc"
}
Copy requirement item
Example
{
"ProjectID": 144,
"FolderID": 50,
"ItemIDs": [1353]
}
Order Requirement Priority Order
Example
{
"ProjectID": 144,
"ItemID": 44,
"ParentItemID": 47,
"PriorityValue": 1
}
Requirement folder operation
Example
{
"ProjectID": 144,
"OperationType": 0,
"FolderID": 50,
"ParentFolderID": 48,
"Position": 0
}
"OperationType"
Get user info.
Update the user info
Requirement item operation
Example
{
"ProjectID": 144,
"OperationType": 1,
"FolderID": 38,
"ItemIDs": "1302,1303"
}
"OperationType"
Get Requirement Project Setting
Example
{
"ProjectID": 144,
"OperationType": 1
}
"OperationType"
Get Requirement Item list linked DevTest Templates
Example
{
"ItemsTestTempLinks": [{
"ProjectID": 144,
"ItemID": 21,
"LinkedDevTestTemplate": [{
"TemplateProjectID": 2,
"TemplateID": 1,
"TemplateTitle": "Log into the admin module"
}, {
"TemplateProjectID": 2,
"TemplateID": 3,
"TemplateTitle": "Update license key (cancel)"
}]
}, {
"ProjectID": 144,
"ItemID": 22,
"LinkedDevTestTemplate": [{
"TemplateProjectID": 2,
"TemplateID": 22,
"TemplateTitle": "Notification subscriptions"
}, {
"TemplateProjectID": 2,
"TemplateID": 30,
"TemplateTitle": "Hardware Spec"
}]
}]
}
Get Requirement Item status and owner history
Copy/Move Opration in a knowledge item
Example
{
OperationType:2,
ProjectID:21,
FolderID:155,
ItemIDs:"96,97"
}
Get the selected knowledge info.
Example
{"ProjectID":21,"FolderID":129,"FolderName":"Team Documents","FolderPath":["Sample Knowledge Base Project","Team Documents"],"Title":"kw test item1333333","Description":"test description1111\n",
"Assigned by":"","Last Modified by":"Terry Johnson","Created by":"Terry Johnson","Knowledge ID":105,"Knowledge Owner":"","Knowledge State":"Draft Version","External ID":""}
Create the knowledge item
Example
{"ProjectID":21,"FolderID":129,"FolderPath":["Sample Knowledge Base Project","Team Documents"],"Title":"API add kw test item1333333","FolderName":"Team Documents","Description":"test description1111\n","Assigned by":"",
"Last Modified by":"Terry Johnson","Created by":"Terry Johnson","Knowledge Owner":"","Knowledge State":"Draft Version","External ID":""}
Update the knowledge item
Example
{"ProjectID":21,"FolderID":129,"FolderPath":["Sample Knowledge Base Project","Team Documents"],"Knowledge ID":105,"FolderName":"Team Documents","Title":"API Update kw test item1333333","Description":"test description1111\n",
"Assigned by":"","Last Modified by":"Terry Johnson","Created by":"Terry Johnson","Knowledge Owner":"","Knowledge State":"Draft Version","External ID":""}
DevSpecAPI/KWItem?ProjectID=184&ItemIDs=1,2,3
available response representations:Return the knowledge folder tree.
Example
{"FolderNodes":[{"FolderID":1,"FolderName":"Knowledge Root","FolderStatusID":0,"FolderNodes":[{"FolderID":11,"FolderName":"Documents","FolderStatusID":0,"FolderNodes":[]},{"FolderID":12,"FolderName":"Knowledge
Topics","FolderStatusID":0,"FolderNodes":[]},{"FolderID":13,"FolderName":"HTML Links","FolderStatusID":0,"FolderNodes":[]},{"FolderID":128,"FolderName":"Sample
Knowledge Base Project","FolderStatusID":0,"FolderNodes":[]},{"FolderID":130,"FolderName":"Development","FolderStatusID":0,"FolderNodes":[]},{"FolderID":150,"FolderName":"KW
space1","FolderStatusID":0,"FolderNodes":[]}]},{"FolderID":3,"FolderName":"Document
Templates","FolderStatusID":0,"FolderNodes":[]},{"FolderID":124,"FolderName":"Wiki","FolderStatusID":0,"FolderNodes":[]},{"FolderID":125,"FolderName":"Document
Templates","FolderStatusID":0,"FolderNodes":[{"FolderID":126,"FolderName":"Attachment
Document Templates","FolderStatusID":0,"FolderNodes":[]}]},{"FolderID":127,"FolderName":"Idea
Books","FolderStatusID":0,"FolderNodes":[{"FolderID":132,"FolderName":"aaaa","FolderStatusID":0,"FolderNodes":[]}]}]}
Return the selected folder child folder tree.
Example
{"ProjectID":21,"FolderID":130,"ShowAll":1,"Query":[{"Name":"FolderID","Operate":">=","choices":"131"},{"Name":"FolderName","Operate":"LIKE","choices":"API Create"}]}
Get the selected knowledge folder info.
Example
{"ProjectID":21,"FolderID":129,"Folder Name":"Team Documents","FolderPath":["Sample Knowledge Base Project","Team Documents"],"Folder Description":"123","Folder Status":"Open","Is Read-only":null,"Same as Parent":1,"DefaultKWKTemplateID":null,"TypeID":0}
Create knowledge folder
Example
{"ProjectID":21,"ParentFolderID":128,"Folder Name":"Team Documents","ParentFolderPath":["Sample Knowledge Base Project","Team Documents"],"Position":"Normal","Folder Description":"1233333","Folder Status":"Open","Is Read-only":null,"Same as Parent":1,"TypeID":0}
Update the requirement folder
Example
{"ProjectID":21,"FolderID":129,"Folder Name":"Team Documents","FolderPath":["Sample Knowledge Base Project","Team Documents"],"Folder Description":"1233333","Folder Status":"Open","Is Read-only":null,"Same as Parent":1,"TypeID":0}
DevSpecAPI/KWFolder?ProjectID=184&FolderID=145
available response representations:Search the applicable requirements in the knowledge note list
Example
{"ProjectID":21,"ItemID":76,"Fields":["ProjectID","NoteID","Title","Created By","Created Date","Description"]}
Example
{"NoteItems":[{"ProjectID":21,"NoteID":55,"Title":"KW Note122222","Created By":"Terry Johnson","Created Date":"2014-04-18T16:15:18.903","Description":"Desc111133333"},
{"ProjectID":21,"NoteID":56,"Title":"Updtae KW Note1","Created By":"Terry Johnson","Created Date":"2014-04-18T16:32:22.153","Description":"Desc1111222"},
{"ProjectID":21,"NoteID":59,"Title":"API add Note333","Created By":"Terry Johnson","Created Date":"2014-04-21T14:00:58.723","Description":"Desc111222333"}]}
Get the selected knowledge note.
Example
{"ProjectID":21,"ItemID":76,"NoteID":55,"Title":"KW Note122222","Created By":"Terry Johnson","Description":"Desc111133333","AttachFileID":648,"AttachedFileName":"a.docx","AttachType":1}
Create requirement note
Example
{"ProjectID":21,"ItemID":76,"Title":"API add Note3333","Created By":"Terry Johnson","Description":"Desc111222333"}
Update the requirement note
Example
{"ProjectID":21,"ItemID":76,"NoteID":55,"Title":"KW Note122222","Created By":"Terry Johnson","Description":"Desc111133333","OldNoteTitle":"note title","OldNoteDescription":"Desc111"}
DevSpecAPI/KWNote?ProjectID=184&ItemID=96&NoteID=85
available response representations:Get the knowledge's document.
Add knowledge's document
DevSpecAPI/KWDocument?ProjectID=184&ItemID=96&FileID=84
available response representations:Get the knowledge note's Attachment.
Add knowledge note Attachment
DevSpecAPI/KWAttachment?ProjectID=184&FileID=84&NoteID=88
available response representations:Search the applicable requirements in the KWDocumentInfo
Example
{"ProjectID":21,"ItemID":103,"Fields":["ProjectID","FileID","FileName","DisplayFileName","VersionID","LastCheckInDate"]}
Example
{"ProjectID":21,"FileID":80,"FileName":"DevSuite Overview.docx","DisplayFileName":"DevSuite Overview.docx","VersionID":1,"LastCheckInDate":"2014-04-11T14:16:08.33"}
Search the applicable requirements in the KWAttachmentInfo
Example
{"ProjectID":21,"ItemID":13,"NoteID":61,"Fields":["ProjectID","FileID","FileName","DisplayFileName","VersionID","LastCheckInDate"]}
Get DevSpec Linked DevTest Template projects.
Get DevTest Template item list.
Example
{"DevTestTemplateItems": [{"ProjectID": 2,"TemplateID": 1,"TemplateTitle": "Log into the admin module","CrntOwner": "Terry Johnson","CrntState": "Pending Approval"},
{"ProjectID": 2,"TemplateID": 3,"TemplateTitle": "Update license key (cancel)","CrntOwner": "Pamela Miller ","CrntState": "Approved"},
{"ProjectID": 2,"TemplateID": 5,"TemplateTitle": "Jump sound effect","CrntOwner": "Pamela Miller ","CrntState": "Approved"}]}
Add attachment info for Kloud.
Example
{
"ProjectID": 144,
"IssueID": 108,
"FileName": "test.doc",
"ViewType": 2
}
Status Code | Meaning |
---|---|
200 | OK |
203 | NonAuthoritativeInformation |
201 | Created |
401 | Unauthorized |
404 | NotFound |
406 | NotAcceptable |
415 | UnsupportedMediaType |