Get Account Code
AI-generatedSummary
Retrieve the account code data from the PEAK API for a specified server environment, optionally overriding the client token used for authentication.
Inputs
- Server Environment (required) — Select the server environment ('UAT' or 'AccountCodeion') from which to retrieve the account code.
- Client Token (override) — Optionally provide a client token override for authentication, useful if the token refreshes frequently.
Output shape
a single JSON object containing the success status, HTTP status code, the retrieved account code data from the PEAK API, and the headers used in the request.
Returns the account code data in the 'data' field on success. If 'continue on fail' is enabled and an error occurs, returns an error message with the paired item index. Requires valid PEAK API credentials or client token override to function.
Examples
Example 1: Retrieve account code from UAT environment with credential token
Set 'Server Environment' to 'UAT' and leave 'Client Token (override)' empty, and provide PEAKApi credentials with a client token.