POST api/Destinations

Add destination to user

Request Information

URI Parameters

None.

Body Parameters

AddUserDestination
NameDescriptionTypeAdditional information
UserID

string

Required

AccountID

string

Required

Destination

string

Required

PackageID

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1",
  "AccountID": "sample string 2",
  "Destination": "sample string 3",
  "PackageID": 4
}

application/xml, text/xml

Sample:
<AddUserDestination xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <AccountID>sample string 2</AccountID>
  <Destination>sample string 3</Destination>
  <PackageID>4</PackageID>
  <UserID>sample string 1</UserID>
</AddUserDestination>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserDestinationsModel
NameDescriptionTypeAdditional information
ID

string

None.

CurrentVolume

integer

None.

PackageID

integer

None.

AccountID

string

None.

AccountDisplayName

string

None.

Destination

string

None.

DestinationDisplayName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "CurrentVolume": 2,
  "PackageID": 1,
  "AccountID": "sample string 3",
  "AccountDisplayName": "sample string 4",
  "Destination": "sample string 5",
  "DestinationDisplayName": "sample string 6"
}

application/xml, text/xml

Sample:
<UserDestinationsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <AccountDisplayName>sample string 4</AccountDisplayName>
  <AccountID>sample string 3</AccountID>
  <Destination>sample string 5</Destination>
  <DestinationDisplayName>sample string 6</DestinationDisplayName>
  <CurrentVolume>2</CurrentVolume>
  <ID>sample string 1</ID>
  <PackageID>1</PackageID>
</UserDestinationsModel>