Update the number of units of time estimate
Estimated units
| Parameter | Mandatory | Description | Examples | More Info |
|---|---|---|---|---|
| API | Yes | The API area | timesummary.json | |
| General | Yes | Parameters described in overview | Authorization: Bearer <access_token> header — see Synergist API Authentication | Structure of an API call |
| Action | Yes | estimatedunits | action=estimatedunits | |
| Timesummary | Yes | Identifies the estimate to update | timesummary=1018008 | |
| EstimatedUnits | Yes | Update of the estimated units field of the estimate | estimatedUnits=11.5 |
Example request (OAuth 2.0):
Authorization: Bearer <access_token>
https://<SERVER>/jsonapi/timesummary.json?&version=6&action=estimatedunits×ummary=1018008&EstimatedUnits=11.5
Example request (legacy username/password):
https://<SERVER>/jsonapi/timesummary.json?&version=6&action=estimatedunits×ummary=1018008&EstimatedUnits=11.5&user=<username>&password=<password>
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "1 of 1 time summary Updated.",
"warningmessage": "",
"success": true,
"synversion": "15.001.0054",
"synapiversion": 6
}