GET | /api/services/{ServiceGuid}/skubundles | Get ServiceSkuBundles from a Service. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ServiceGuid | path | Guid | Yes | The Guid of the Service. |
SkuBundleGuid | query | Guid | No | The Guid of the SkuBundle that was used create the ServiceSkuBundle. |
Page | query | Integer | No | The Page number being requested. Defaults to 1. |
PageSize | query | Integer | No | The Page Size returned by the operation. Defaults to 25. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PageSize | body | Integer | No | |
TotalPages | body | Integer | No | |
TotalItems | body | Integer | No | |
CurrentPage | body | Integer | No | |
Results | body | ServiceSkuBundle[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ServiceSkuBundleGuid | body | Guid | No | |
SkuBundleGuid | body | Guid | No | |
Name | form | string | No | |
ServiceSkus | body | ServiceSku[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ServiceSkuGuid | body | Guid | No | |
ServiceSkuBundleGuid | body | Guid | No | |
SkuGuid | body | Guid | No | |
Name | form | string | No | |
AssignedDate | body | DateTime | No | |
EndedDate | body | DateTime | No | |
BillingMetric | form | string | No | Allowable Values
|
Quantity | body | Integer | No | |
UnitPrice | body | Decimal | No | |
Description | form | string | No | |
IsEditable | body | Boolean | No | Allowable Values
|
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/services/{ServiceGuid}/skubundles HTTP/1.1 Host: api.secure-messaging.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length { "pageSize": 0, "totalPages": 0, "totalItems": 0, "currentPage": 0, "results": [ { "serviceSkuBundleGuid": "00000000000000000000000000000000", "skuBundleGuid": "00000000000000000000000000000000", "name": "String", "serviceSkus": [ { "serviceSkuGuid": "00000000000000000000000000000000", "serviceSkuBundleGuid": "00000000000000000000000000000000", "skuGuid": "00000000000000000000000000000000", "name": "String", "assignedDate": "0001-01-01T00:00:00Z", "endedDate": "0001-01-01T00:00:00Z", "billingMetric": "String", "quantity": 0, "unitPrice": 0, "description": "String", "isEditable": false } ] } ], "responseStatus": { "errorCode": "String", "message": "String", "stackTrace": "String", "errors": [ { "errorCode": "String", "fieldName": "String", "message": "String", "meta": { "String": "String" } } ], "meta": { "String": "String" } } }