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": 3,
  "AccountID": "sample string 4",
  "AccountDisplayName": "sample string 5",
  "Destination": "sample string 6",
  "DestinationDisplayName": "sample string 7"
}

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 5</AccountDisplayName>
  <AccountID>sample string 4</AccountID>
  <Destination>sample string 6</Destination>
  <DestinationDisplayName>sample string 7</DestinationDisplayName>
  <CurrentVolume>2</CurrentVolume>
  <ID>sample string 1</ID>
  <PackageID>3</PackageID>
</UserDestinationsModel>