PUT v1/publicsites/{id}

This method requires authentication.

Update an existing PublicSite.

Request Information

Parameters

NameDescriptionAdditional information
id ID of PublicSite to update.

Define this parameter in the request URI.

resource PublicSite resource.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "publicSite": {
    "id": 1,
    "siteName": "sample string 2",
    "logo": 1,
    "galleryTitle": "sample string 3",
    "gallerySavedSearch": 1,
    "carouselSavedSearch": 1,
    "aboutPageDescription": "sample string 4",
    "aboutPageShortDescription": "sample string 5",
    "customColor1": "sample string 6",
    "customColor2": "sample string 7",
    "customColor3": "sample string 8",
    "customColor4": "sample string 9",
    "twitterUrl": "sample string 10",
    "facebookUrl": "sample string 11",
    "blogUrl": "sample string 12",
    "contactPhone": "sample string 13",
    "contactEmail": "sample string 14"
  }
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <PublicSite>
    <AboutPageDescription>sample string 4</AboutPageDescription>
    <AboutPageShortDescription>sample string 5</AboutPageShortDescription>
    <BlogUrl>sample string 12</BlogUrl>
    <CarouselSavedSearch>1</CarouselSavedSearch>
    <ContactEmail>sample string 14</ContactEmail>
    <ContactPhone>sample string 13</ContactPhone>
    <CustomColor1>sample string 6</CustomColor1>
    <CustomColor2>sample string 7</CustomColor2>
    <CustomColor3>sample string 8</CustomColor3>
    <CustomColor4>sample string 9</CustomColor4>
    <FacebookUrl>sample string 11</FacebookUrl>
    <GallerySavedSearch>1</GallerySavedSearch>
    <GalleryTitle>sample string 3</GalleryTitle>
    <Id>1</Id>
    <Logo>1</Logo>
    <SiteName>sample string 2</SiteName>
    <TwitterUrl>sample string 10</TwitterUrl>
  </PublicSite>
</Resources>