Skip to main content

API-COMMON-GET-CUSTOMER

NameVerify Get Customer V1
CategoryCOMMON
Execution MethodAUTOMATED (FAPI BIZA)
Preconditions
  • All systems functional with no outages in progress
  • Arrangement established with customer:basic scope
DescriptionIn this scenario Get Customer is called and verified.
Steps
  1. Using a token for an established arrangement containing appropriate permissions, initiate GET /common/customer
  2. Retrieve JSON payload and parse to ResponseCommonCustomer
  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 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 with x-v set to 9999. The request should be rejected with HTTP Status of 406 and a ResponseErrorList payload.
Inputs

Headers:

  • x-v = 1
  • x-min-v = 1
  • 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 semantic correctness of payload
  3. Verify that error responses for x-v headers are aligned