Request
Endpoint:
|
/api/services/types/<service_type_id>/type
|
Method:
|
GET
|
Headers:
|
Accept: application/vnd.cloudlx.v1+json
|
Authorization: Bearer <access_token>
|
Response:
{
"id": 1,
"name": "Amazon Web Services",
"code": "AWS",
"title": "Cloud Computing with Amazon Web Services (AWS)",
"products": {
"region": {
"London": [
{
"product_id": 3297,
"speed": "50Mbps",
"period_type": "Day",
"period": 1,
"cost": "$6.10"
},
{
"product_id": 3298,
"speed": "100Mbps",
"period_type": "Day",
"period": 1,
"cost": "$7.97"
}
]
}
}
}
id
|
Description
|
The Infiny ID for service type
|
Type
|
Integer
|
Example
|
10
|
name
|
Description
|
The friendly name for the service type
|
Type
|
Text
|
Example
|
Amazon Web Services
|
code
|
Description
|
The short code for the service type
|
Type
|
Text
|
Example
|
AWS
|
title
|
Description
|
A short description of the service type
|
Type
|
Text
|
Example
|
Cloud Computing with Amazon Web Services (AWS)
|
products
|
Description
|
An object representing the regions and pricing for the service
|
Type
|
Object
|
regions
|
Description
|
An object representing the regions the service is available in
|
Type
|
Object
|
product_id
|
Description
|
The Infiny product ID, used for ordering a service
|
Type
|
Object
|
Example
|
10
|
speed
|
Description
|
The speed for the service
|
Type
|
Text
|
Example
|
50Mbps
|
period_type
|
Description
|
The period type for the duration of the service, combined with period can be used to calculate the length of the service
|
Type
|
Text
|
Example
|
Day
|
period
|
Description
|
The multiplier for the period_type, combined with period_type can be used to calculate the length of the service
|
Type
|
Integer
|
Example
|
5
|
cost
|
Description
|
The cost of the service including currency
|
Type
|
Text
|
Example
|
$50
|