Skip to main content

API-COMMON-GET-CUSTOMER-DETAIL

NameVerify Get Customer Detail V1
CategoryCOMMON
Execution MethodAUTOMATED (FAPI BIZA)
Preconditions
  • All systems functional with no outages in progress
  • Arrangement established with customer:detail scope
DescriptionIn this scenario Get Customer Detail is called and verified.
Steps
  1. Using a token for an established arrangement containing appropriate permissions, initiate GET /common/customer/detail
  2. Retrieve JSON payload and parse to ResponseCommonCustomerDetail
  3. Verify semantic correctness of JSON payload for Get Customer
  4. Verify response in (2) has a generated x-fapi-interaction-id
  5. Execute (1) again supplying an x-fapi-interaction-id
  6. Validate the x-fapi-interaction-id header matches the one specified in (5)
  7. Execute GET /common/customer/detail with x-v set to invalid. The request should be rejected with HTTP Status of 400 and a ResponseErrorList payload.
  8. Execute GET /common/customer/detail with x-v set to 9999. The request should be rejected with HTTP Status of 406 and a ResponseErrorList payload.
Inputs

Headers:

  1. x-v = 1
  2. x-min-v = 1
  3. x-fapi-interaction-id where applicable

Parameters:

  • Nil
Expected Results
  1. Verify links validity ensuring self URL correctly references the payload
  2. Verify data object validity verifying:
  3. Invalid x-v headers are rejected with particular HTTP statuses