POST api/Accounts/AddDestination

Add existing destination to account

Request Information

URI Parameters

None.

Body Parameters

Structure of destination

DestinationOfAccountCreate
NameDescriptionTypeAdditional information
AccountID

Storage account ID

globally unique identifier

Required

Destination

Destination name

string

Required

DestinationDisplayName

Destination name to display

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": "d495c299-f292-435f-808f-f6fd464bf03b",
  "Destination": "sample string 2",
  "DestinationDisplayName": "sample string 3"
}

application/xml, text/xml

Sample:
<DestinationOfAccountCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <AccountID>d495c299-f292-435f-808f-f6fd464bf03b</AccountID>
  <Destination>sample string 2</Destination>
  <DestinationDisplayName>sample string 3</DestinationDisplayName>
</DestinationOfAccountCreate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.