To run a sample transaction in the Sandbox environment, perform the steps below.
NOTE: the OneView and Consumer Credit Report APIs are JSON REST APIs using HTTP and OAUTH 2.0. The request and response values are static test values in the Sandbox environment.
1. Click the API Reference tab. If your organization supports using Postman, click the Run in Postman button to automatically import the API collection into your Postman environment. Alternatively, click the Download button to download the OpenAPI Specification for import into your own environment.
NOTE: The OpenAPI specification is a .YAML file per OpenAPI Specification (OAS) 3.0 and above.
2. The collection, entitled OneView or Consumer Credit Report includes two POST messages:
- POST Token - Use the Client ID and Client Secret from your application subscription to request a token per OAUTH 2.0 Bearer token standards.
- POST Consumer Credit File - Use the token returned from your token request message in the Authorization Header of the OneView or Consumer Credit File message. The format should include the word 'Bearer’ in advance of the token. For example: for a token value of '1234567890' the Authorization header value will be Bearer 1234567890.
No other values need to be populated or manipulated. The request and response values are static test values in the Sandbox environment. Editing the sample request message does not alter the response in the Sandbox environment.
3. When you are ready to test manipulation of the request message, follow the instructions on the API Reference tab in the section entitled Promote to Test.