Minyaa Times Edition comes with some REST APIs which allows to access to manage/request LogWork.
Worklog Type Management provides 2 REST APIs, used in order to retrieve Worklog Types in Gadget.
Description | Retrieve all Worklog Types | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Method | POST | ||||||||||||||||||||||||
Content-Type | application/json | ||||||||||||||||||||||||
Parameters | None | ||||||||||||||||||||||||
HTTP 200 Return | An array of JSON Worklog Types is returned :{ id: "10001", name: "Analysis", nameTranslation: "Analysis", description: "Analysis", sequence: 1, iconurl: "/download/resources/jira.plugin.minyaa.time:Actions/icons/worklogtypes/wlAnalysis_16.png", statusColor: "#3300ff" }
|
Description | Retrieve only allowed Worklog Types (depending on Workflow Settings) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Method | POST | ||||||||
Content-Type | application/json | ||||||||
Parameters |
| ||||||||
HTTP 200 Return | An array of JSON Worklog Types is returned : See previous API ... |
Description | Create a Worklog for an Issue in respect of different Custom Minyaa Time Permissions (Delegate Log Work, Wokrlog Closure Period, Required/Allowed Worklgo Type) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Method | POST | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Content-Type | application/json | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Parameters |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
HTTP 200 Return | On Worklog creation a JSON bean is returned :{"self":"http://localhost:8080/rest/minyaaTime/1.0/worklog/10623", "worklogId":10623, "timeLogged":900, "authorName":"dev1", "startDate":"2014-09-10T15:00:00.000+0200", "created":"2014-09-11T10:00:37.902+0200", "updated":"2014-09-11T10:00:37.902+0200", "updateAuthorName":"dev1", "worklogTypeId":"10000", "comment":"Hello", "commentLevel":"jira-developers"} {"self":"http://localhost:8080/rest/minyaaTime/1.0/worklog/10623", "worklogId":10623, "timeLogged":900, "authorName":"admin", "startDate":"2014-09-10T15:00:00.000+0200", "created":"2014-09-11T10:00:37.902+0200", "updated":"2014-09-11T10:00:37.902+0200", "updateAuthorName":"dev1", "worklogTypeId":"10000", "comment":"Hello", "projectRoleId":10000}
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
HTTP 404 Return | In case of Validation error, the Error Collection is returned.[{"errorMessages":["Any Error Message"],"errors":{}}] |
To be described
To be described
To be described
To be described
To be described
To be described
To be described