(mt):Service

  • This page was last modified on February 17, 2011, at 14:16.
The (mt) Community Wiki is a collaborative project. Any (mt) Media Temple customer or employee may contribute. Not all articles and/or content have been tested for accuracy by (mt) Media Temple.

For officially moderated and tested articles, be sure to visit our KnowledgeBase.

From (mt) Community Wiki

Contents

service Object

JSON representation

{
"service" : {
"id" : 556,
"serviceType" : 605,
"serviceTypeName" : "(dv) Dedicated-Virtual Base 3.5",
"ipAddresses" : [ "192.168.200.66" ],
"hostServer" : "vz000.mediatemple.net",
"billingStatus" : "0",
"billingStatusText" : "OPEN",
"operatingSystem" : "1002",
"operatingSystemName" : "Centos 5",
"accessDomain" : null,
"primaryDomain" : "dv35.tylerdurden.com",
"pendingReboot" : "0",
"addons" : [ {
"id" : 258,
"description" : "(dv) Linux Plesk Basic Unlimit"
}, {
"id" : 298,
"description" : "(dv) Snapshot Backups"
}, {
"id" : 69,
"description" : "(dv) 256mb memory"
} ]
}
}


Fields

id

The service id.

serviceType

The service type as an integer.

serviceTypeName

The service type description.

ipAddresses

The list of IP addresses associated with the service.

hostServer

The server this service is hosted on.

billingStatus

The billing status as an integer.

Value Meaning
0 OPEN
1 CLOSED
2 SUSPENDED
3 WAIT FOR PAYMENT

billingStatusText

The billing status description.

operatingSystem

The operating system as an integer. (See [Operating system].)

operatingSystemName

The operating system description.

accessDomain

The access domain associated with the service.

primaryDomain

The primary domain for the service.

pendingReboot

A reboot request has been lodged for this service, and has not yet completed. Note that this value will only return 1 for the period between the reboot being lodged and the reboot being executed. The service will require additional time for the reboot to actually complete.

addons

Any addons associated with the service.

The fields for each Add-on represent the following:

Field Description
id The add-on id
description The description of the add-on