Get Application Info by ID
The Get Application Info by ID method returns application instance's details by given ID of the application instance.
GET /api/vendor/v1/applications/{id}.json?api_token={api_token}
Arguments
Name | Parameter Type | Data type | Required/ | Description |
---|---|---|---|---|
id | path | integer | Required | An ID of the application instance. |
api_token | query | string | Required | API token of the manager who perform the operation (see API Token Authentication). |
Response model
Name | Data type | Description |
---|---|---|
id | integer | An ID of the application instance. |
subscription_id | integer | A subscription ID, which based on the application instance. |
origin_id | integer | An order number of the application instance. |
origin_type | string | An internal type of the application instance, which is used as a polymorphic association. |
service_status | string | A service status of the application instance:
|
application_template_id | integer | An application template ID, on which base the application instance was created. |
created_at | date | A date and time of the application instance's creation. |
updated_at | date | A date and time, when the application instance was updated last time. |
Request example
GET http://billing.activeplatform.com:80/api/vendor/v1/applications/2003086.json?api_token=654321
Response example
{
"id": 2003086,
"subscription_id": 2003250,
"origin_id": 2257,
"origin_type": "Plugin::CloudServer::Application",
"service_status": "running",
"application_template_id": 115,
"created_at": "2016-01-28T17:27:37.071+03:00",
"updated_at": "2016-01-28T17:27:37.099+03:00"
}