PUT api/Bundle/{id}

Updates a Bundle

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

ID of the Bundle to update

integer

Required

Body Parameters

Values to update the bundle with

Bundle
NameDescriptionTypeAdditional information
BundleID

integer

None.

BundleName

string

None.

ShortDescription

string

None.

FullDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BundleID": 1,
  "BundleName": "sample string 2",
  "ShortDescription": "sample string 3",
  "FullDescription": "sample string 4"
}

application/xml, text/xml

Sample:
<Bundle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yummy.Portal.Models">
  <BundleID>1</BundleID>
  <BundleName>sample string 2</BundleName>
  <FullDescription>sample string 4</FullDescription>
  <ShortDescription>sample string 3</ShortDescription>
</Bundle>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Http Status Code

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.