PUT api/featuredPackages/{id}/update

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Cyberlogic.eTourism.Domain.ViewModels.Excursions.FeaturedPackages.CreateFeaturedPackageViewModel
NameDescriptionTypeAdditional information
PackageId

integer

None.

DateFrom

date

None.

DateTo

date

None.

CustomerId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DateFrom": "2024-11-19T15:31:26.0691013+02:00",
  "DateTo": "2024-11-19T15:31:26.0691013+02:00",
  "CustomerId": 3,
  "PackageId": 1
}

text/html

Sample:
{"DateFrom":"2024-11-19T15:31:26.0691013+02:00","DateTo":"2024-11-19T15:31:26.0691013+02:00","CustomerId":3,"PackageId":1}

application/xml, text/xml

Sample:
<CreateFeaturedPackageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Excursions.FeaturedPackages">
  <CustomerId>3</CustomerId>
  <DateFrom>2024-11-19T15:31:26.0691013+02:00</DateFrom>
  <DateTo>2024-11-19T15:31:26.0691013+02:00</DateTo>
  <PackageId>1</PackageId>
</CreateFeaturedPackageViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.