Services
Get Service
Changed onget/api/v1/Services
Request
- Base URLhttps://api.peakaccount.com
- Authnone declared. Required headers: Time-Stamp, Time-Signature, User-Token, Client-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
codestring
Numeric code indicating whether the result data is returned in the response
idstring
The Unique Identifier generated by PEAK to identify data
limitinteger
Maximum number of entries to retrieve
pageinteger
Page number for displaying data, where each page will show 10 entries
getResult0 | 1
Numeric code indicating whether the result data is returned in the response
Headers
Time-Stampstring required
Timestamp (yyyyMMddHHmmss)
Time-Signaturestring required
HMAC-SHA1 encrypted Time-Stamp where Secret Key is connectId
User-Tokenstring required
This token will be generated by PEAK.
Client-Tokenstring required
Token used to identify between client and PEAK to call API.
Response
Success
Changes
- breaking
the
queryrequest parametergetResultwas restricted to a list of enum values - info
added the new enum value
0.00to thequeryrequest parametergetResult - info
added the new enum value
1.00to thequeryrequest parametergetResult
- breaking