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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.