Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Get Media Services Account Details

Updated: February 14, 2014

The GET request method described in this topic returns an AccountDetails object for the specified Media Services account. The data contract for AccountDetails is defined later in this topic.

The request may be specified as follows (replace <subscription-id> with your subscription ID, and <accountName> with your account name):

 

Method

Request URI

GET

https://endpoint/<subscriptionId>/services/mediaservices/Accounts/<accountName>

A successful operation returns status code 200 (OK). For information about error codes, see Media Services Management Error Codes.

Data Contract

The data contract for AccountDetails is defined as follows:

[DataContract] 
public class AccountDetails 
{ 
    public AccountDetails(); 

    [DataMember] 
    public string AccountKey { get; set; } 
    
    [DataMember] 
    public AccountKeys AccountKeys { get; set; } 

    [DataMember] 
    public string AccountName { get; set; } 

    [DataMember] 
    public string AccountRegion { get; set; } 

    [DataMember] 
    public string StorageAccountName { get; set; } } 

For more information about request and response formats, see Operations on Media Services

Example

See the GetAccountDetails method defined in How to: Use Media Services Management REST API.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.