As a contractor, I should be able to get details of a single role, so that I can understand which person is it for.
Acceptance Criteria
GIVEN a contractor is requesting details of a role in the desktop app
WHEN the app hits the roles/:id endpoint with a valid GET request, containing the path parameter:
:id, the unique id of the role whose details are needed.
THEN the app should receive a status 200AND in the response, the following information should be returned:
Development URL: {Here goes a URL to the feature on development API}
Production URL: {Here goes a URL to the feature on production API}
Dev Notes
{Some complementary notes if necessary}
Testing Notes
GIVEN a contractor is requesting details of a role in the desktop app
WHEN the app hits the roles/:id endpoint with a valid GET request, containing the path parameter:
:id
THEN the app should receive a status 200AND the {id} in the body should be same as the :id in the path parameter
Summary
As a
contractor
, I should be able to get details of a single role, so that I can understand which person is it for.Acceptance Criteria
GIVEN a
contractor
is requesting details of a role in the desktop app WHEN the app hits theroles/:id
endpoint with a valid GET request, containing the path parameter::id
, the unique id of the role whose details are needed.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
GIVEN a
contractor
is requesting details of a role in the desktop app WHEN the app hits theroles/:id
endpoint with a valid GET request, containing the path parameter::id
THEN the app should receive a status
200
AND the{id}
in the body should be same as the:id
in the path parameter