17 lines
788 B
Plaintext
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
|