As a contractor, I should be able to update the details of a milestone stage, so that I can update it's approval status or criteria and extend the date if needed #87
Labels
user story
A brief explanation of a functionality or an interaction with the system, from a user's perspective
Summary
As a
contractor
, I should be able to update the details of a milestone stage, so that I can update it's approval status or criteria and extend the date if needed.Acceptance Criteria
GIVEN a
contractor
is editing a milestone stage in the desktop appWHEN the app hits the
milestone-stages/:id
endpoint with a valid PATCH request, containing:-The path parameter:
:id
, the unique id of the milestone stage which is being edited.And any of the following body parameters:
THEN the app should receive a status
200
AND in the response, the following information should be returned:
Sample Request/Sample Response
Resources
Dev Notes
{Some complementary notes if necessary}
Testing Notes
Scenario 1: PATCH request is successful
/milestone-stages/:id
endpoint/milestone-stages/:id
endpoint should return a status code 200 and the milestone stage's details with the updated information i.e. matching the initially sent body.Scenario 2: PATCH request is forbidden
/milestone-stages/:id
endpoint using ahome owner
account token.The text was updated successfully, but these errors were encountered: