Use new Signature v2 for APIs that have Sign2.0 tag
Sign2.0
v1.0
category
period_type
curl --location --request GET 'https://api-uat.io.linksfield.net/cube/v4/sims/89852123456789012345/usage?category=data&period_type=1&begin_from=2022-10-01&end_by=2022-10-01' \ --header 'nonce;' \ --header 'timestamp;' \ --header 'Accept-Language: en-US' \ --header 'Authorization;' \ --header 'X-LF-Api-Version;' \ --header 'X-LF-Signature-Type: 2.0' \ --header 'Content-Type: application/json'
{ "data": { "sim_id": "89852123456789012345", "usage": [ { "period": "2022-10-10", "updated_at": "2022-10-10 12:12:12", "data": { "all": "2222" } }, { "period": "2022-10-9", "updated_at": "2022-10-10 12:12:12", "data": { "all": "2222" } } ] }, "status": { "code": "CB-00-0000", "message": "Success", "detail": null } }