-
Messtone LLC Manages(UPS):Integration
Messtone Devices Enables Integration OAuth ENDPOINT: curl –location –request GET ‘https://wwwcie.ups.com/security/v1/oauth/authorize?client_id ={client_id}&redirect_uri={redirect_uri}&response_type=code&state={state}&scope={scope}’ appName request: https://wwwcie.ups.com/buckeybo/signin?client_id=testClientID&redirect_uri=http://testappliction.com&response_type=code&scope=read&type=ups_com_api Robert Harper messtone_llc_buckeybo client id and secret.Request: curl –location –request POST ‘https://wwwcie.ups.com/security/v1/oauth/token’\–header ‘Authorization:Basic ROtWbldUOTFqaUpWc1ZCQWl6ROoWCWlzNnpKcVhvRVk3NF_JG=’\–header ‘Centent-Type:application/x-www-form-urlencoded’ –data-urlencode ‘grant_type=authorization_code’\–data-urlencode ‘code=[Auth-Code]’\–data-urlencode ‘redirect_uri={redirect_uri}’ Response:{“refresh_token_expires_in”:”604799″,”refresh_token_status”:approved”,”token_typ”:”Bearer”,”issued_at”:”1662558626563″,”client_id”:”testClientID”,”access_token”:”access_token”,”refresh_token”:”refresh_token”,”scope”:””,”refresh_token_issued_at”:”1662558626563″,”expires_in”:”14399″,”refresh_count”:”0″,”status”:”approved”} Request: curl –location –request POST ‘https://wwwcie.ups.com/security/v1/oauth/refresh’\–header ‘Authorization:Basic ROtWbldUOTFqaUpWc1ZCQWl6ROowcWlzNnpKcVhvRVk3NFJG=’\–header ‘Content-type:application/x-www-form-urlencoded ‘grant_type=refresh_token’\–data-urlencode ‘grant_type=refresh_token’\–data-encode ‘refresh_token={refresh_token}’ Response: {“refresh_token_expires_in”:”604738″,”refresh_token_status”:” approved”,”old_access_token_life_time”:”61228″,”token_type_Bearer”,”issued_at”:”1662558687774″,”client_id”:”testClientID”,”acess_token”:”access_token”,”refresh_token”:”refresh_token”,”scope”:”refresh_token_issued_at”:”1662558626563″,”expires_in”:”2591999″,”refresh_count”:”3″,”status”:” approved”}