Application - GET
Stability: 2 - Stable
Helps to get all your application information.
/application
Request
Key |
Details |
Example |
Authorization* |
{token_type} {access_token} |
Bearer c3499c2729730a7f807efb8676a92dcb6f8a3f8f |
Method* |
GET |
GET |
x-accept-version |
{recommended_latest_version_number} |
2 |
applicationIds |
{comma_separated_applicationId} |
1,2,4 //Returns all if not supplied |
* Required header
Response
Key |
Details |
Data Type |
Example |
statusCode |
Very important to check this for shopwave server uptime. 200 for success. |
int |
200 |
Body
Key |
Details |
Data Type |
applications[{applicationId}].applicationId |
Unique identifier for an application. |
int |
applications[{applicationId}].identifier |
An encrypted 40 random characters key to uniquely identify your application. |
string |
applications[{applicationId}].secret |
An encrypted 40 random characters secret key used only in token post call. |
string |
applications[{applicationId}].applicationName |
Name of the application |
string |
applications[{applicationId}].applicationDesc |
Description of the application |
string |
applications[{applicationId}].url |
Valid redirect urls, Index 0 is Live URL, Index 1 is Staging URL and Index 2 is development URL. |
array |
applications[{applicationId}].approvedDate |
Description of the application |
datetime |
applications[{applicationId}].trustedPartner |
Set to 1 or 0 by shopwave server. Only Merchant application will be approved as trustedPartner. If set 1 the application will skip access grant check. |
tinyint |
applications[{applicationId}].sandbox |
Set to 1 or 0. If set 1 the application will be in sandbox mode and display all developer based error messages in our secure area. If set 0 the application will be ready for live and once reviewed it can go live on our WaveStore |
tinyint |
applications[{applicationId}].logoIds |
Array of application logo urls |
array |
applications[{applicationId}].imageIds |
Array of application screen shots and image urls |
array |
Status Codes
Error
Please check the live API calls for more details on the API messages.
ID |
Status Code |
Title |
Details |
908 |
401 |
Expired Token |
Token expired or invalid. Please renew your token |
911 |
401 |
Authorization Header Invalid |
The authorization header is invalid. The correct format is Authorization: {token_type} {accessToken} |
899 |
500 |
Unknown Error |
Something went wrong. Please contact the site administrator |
Success
Please check the live API calls for more info on the API messages.
ID |
Status Code |
Title |
Details |
203 |
200 |
Request Processed Successfully |
The request has been successfully completed. |
202 |
200 |
Token is valid |
Token is validated and found valid. |
204 |
204 |
No content to return |
End of the page or no content to return for your request |