cc-tracking/tasks/archive/comcarde/bridge-844/what
2019-05-21 16:40:16 +01:00

17 lines
788 B
Plaintext

Summary
As a User, I would like to be able to retrieve the detail of one ATP where I am the payee.
AC's
1. I see the detail of the ATP
Given that I am an authorised Bridge userWhen I call GET receivables/atps/{objectID}And the ATP existsAnd my UserID is the same as the payee IDThen the request succeedsAnd the request returns an object containing the ATP which i requested.
2. The ATP does not exist
Given that I am an authorised Bridge userWhen I call GET receivables/atps/{objectID}And the ATP does not existThen the request failsWith Http code 400
3. My UserID does not match the payee ID
Given that I am an authorised Bridge userWhen I call GET receivables/atps/{objectID}And the ATP existsAnd my UserID is not the same as the payee IDThen the request failsWith Http code 400