POST api/Site/UpdateIsHide

Request Information

URI Parameters

None.

Body Parameters

Site
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerId

integer

None.

Name

string

None.

Description

string

None.

IsHide

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

LastModifiedBy

integer

None.

LastModifiedDate

date

None.

DeletedBy

integer

None.

DeletedDate

date

None.

CompanyName

string

None.

LoginId

integer

None.

SiteLines

Collection of SiteLine

None.

SiteLine

SiteLine

None.

SiteLocations

Collection of SiteLocation

None.

SiteLocation

SiteLocation

None.

LocalId

integer

None.

LocalCustomerId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CustomerId": 2,
  "Name": "sample string 3",
  "Description": "sample string 4",
  "IsHide": true,
  "CreatedBy": 6,
  "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
  "LastModifiedBy": 8,
  "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
  "DeletedBy": 1,
  "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
  "CompanyName": "sample string 10",
  "LoginId": 11,
  "SiteLines": [
    {
      "Id": 1,
      "SiteId": 2,
      "Name": "sample string 3",
      "IsHide": true,
      "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
      "CreatedBy": 6,
      "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
      "LastModifiedBy": 8,
      "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
      "DeletedBy": 1,
      "LocalId": 9,
      "SiteLocalId": 10
    },
    {
      "Id": 1,
      "SiteId": 2,
      "Name": "sample string 3",
      "IsHide": true,
      "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
      "CreatedBy": 6,
      "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
      "LastModifiedBy": 8,
      "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
      "DeletedBy": 1,
      "LocalId": 9,
      "SiteLocalId": 10
    }
  ],
  "SiteLine": {
    "Id": 1,
    "SiteId": 2,
    "Name": "sample string 3",
    "IsHide": true,
    "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
    "CreatedBy": 6,
    "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
    "LastModifiedBy": 8,
    "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
    "DeletedBy": 1,
    "LocalId": 9,
    "SiteLocalId": 10
  },
  "SiteLocations": [
    {
      "Id": 1,
      "SiteId": 2,
      "Name": "sample string 3",
      "IsHide": true,
      "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
      "CreatedBy": 6,
      "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
      "LastModifiedBy": 8,
      "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
      "DeletedBy": 1,
      "LocalId": 9,
      "SiteLocalId": 10,
      "LocationLines": [
        {
          "Id": 1,
          "LocationId": 2,
          "Name": "sample string 3",
          "IsHide": true,
          "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
          "CreatedBy": 6,
          "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
          "LastModifiedBy": 8,
          "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
          "DeletedBy": 1,
          "LocalId": 9,
          "LocationLocalId": 10
        },
        {
          "Id": 1,
          "LocationId": 2,
          "Name": "sample string 3",
          "IsHide": true,
          "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
          "CreatedBy": 6,
          "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
          "LastModifiedBy": 8,
          "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
          "DeletedBy": 1,
          "LocalId": 9,
          "LocationLocalId": 10
        }
      ],
      "LocationLine": {
        "Id": 1,
        "LocationId": 2,
        "Name": "sample string 3",
        "IsHide": true,
        "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
        "CreatedBy": 6,
        "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
        "LastModifiedBy": 8,
        "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
        "DeletedBy": 1,
        "LocalId": 9,
        "LocationLocalId": 10
      }
    },
    {
      "Id": 1,
      "SiteId": 2,
      "Name": "sample string 3",
      "IsHide": true,
      "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
      "CreatedBy": 6,
      "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
      "LastModifiedBy": 8,
      "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
      "DeletedBy": 1,
      "LocalId": 9,
      "SiteLocalId": 10,
      "LocationLines": [
        {
          "Id": 1,
          "LocationId": 2,
          "Name": "sample string 3",
          "IsHide": true,
          "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
          "CreatedBy": 6,
          "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
          "LastModifiedBy": 8,
          "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
          "DeletedBy": 1,
          "LocalId": 9,
          "LocationLocalId": 10
        },
        {
          "Id": 1,
          "LocationId": 2,
          "Name": "sample string 3",
          "IsHide": true,
          "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
          "CreatedBy": 6,
          "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
          "LastModifiedBy": 8,
          "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
          "DeletedBy": 1,
          "LocalId": 9,
          "LocationLocalId": 10
        }
      ],
      "LocationLine": {
        "Id": 1,
        "LocationId": 2,
        "Name": "sample string 3",
        "IsHide": true,
        "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
        "CreatedBy": 6,
        "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
        "LastModifiedBy": 8,
        "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
        "DeletedBy": 1,
        "LocalId": 9,
        "LocationLocalId": 10
      }
    }
  ],
  "SiteLocation": {
    "Id": 1,
    "SiteId": 2,
    "Name": "sample string 3",
    "IsHide": true,
    "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
    "CreatedBy": 6,
    "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
    "LastModifiedBy": 8,
    "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
    "DeletedBy": 1,
    "LocalId": 9,
    "SiteLocalId": 10,
    "LocationLines": [
      {
        "Id": 1,
        "LocationId": 2,
        "Name": "sample string 3",
        "IsHide": true,
        "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
        "CreatedBy": 6,
        "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
        "LastModifiedBy": 8,
        "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
        "DeletedBy": 1,
        "LocalId": 9,
        "LocationLocalId": 10
      },
      {
        "Id": 1,
        "LocationId": 2,
        "Name": "sample string 3",
        "IsHide": true,
        "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
        "CreatedBy": 6,
        "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
        "LastModifiedBy": 8,
        "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
        "DeletedBy": 1,
        "LocalId": 9,
        "LocationLocalId": 10
      }
    ],
    "LocationLine": {
      "Id": 1,
      "LocationId": 2,
      "Name": "sample string 3",
      "IsHide": true,
      "CreatedDate": "2025-08-29T20:24:21.6074488+00:00",
      "CreatedBy": 6,
      "LastModifiedDate": "2025-08-29T20:24:21.6074488+00:00",
      "LastModifiedBy": 8,
      "DeletedDate": "2025-08-29T20:24:21.6074488+00:00",
      "DeletedBy": 1,
      "LocalId": 9,
      "LocationLocalId": 10
    }
  },
  "LocalId": 12,
  "LocalCustomerId": 13
}

application/xml, text/xml

Sample:
<Site xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <CompanyName>sample string 10</CompanyName>
  <CreatedBy>6</CreatedBy>
  <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
  <CustomerId>2</CustomerId>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
  <Description>sample string 4</Description>
  <Id>1</Id>
  <IsHide>true</IsHide>
  <LastModifiedBy>8</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
  <LocalCustomerId>13</LocalCustomerId>
  <LocalId>12</LocalId>
  <LoginId>11</LoginId>
  <Name>sample string 3</Name>
  <SiteLine>
    <CreatedBy>6</CreatedBy>
    <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
    <DeletedBy>1</DeletedBy>
    <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
    <Id>1</Id>
    <IsHide>true</IsHide>
    <LastModifiedBy>8</LastModifiedBy>
    <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
    <LocalId>9</LocalId>
    <Name>sample string 3</Name>
    <SiteId>2</SiteId>
    <SiteLocalId>10</SiteLocalId>
  </SiteLine>
  <SiteLines>
    <SiteLine>
      <CreatedBy>6</CreatedBy>
      <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
      <Id>1</Id>
      <IsHide>true</IsHide>
      <LastModifiedBy>8</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
      <LocalId>9</LocalId>
      <Name>sample string 3</Name>
      <SiteId>2</SiteId>
      <SiteLocalId>10</SiteLocalId>
    </SiteLine>
    <SiteLine>
      <CreatedBy>6</CreatedBy>
      <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
      <Id>1</Id>
      <IsHide>true</IsHide>
      <LastModifiedBy>8</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
      <LocalId>9</LocalId>
      <Name>sample string 3</Name>
      <SiteId>2</SiteId>
      <SiteLocalId>10</SiteLocalId>
    </SiteLine>
  </SiteLines>
  <SiteLocation>
    <CreatedBy>6</CreatedBy>
    <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
    <DeletedBy>1</DeletedBy>
    <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
    <Id>1</Id>
    <IsHide>true</IsHide>
    <LastModifiedBy>8</LastModifiedBy>
    <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
    <LocalId>9</LocalId>
    <LocationLine>
      <CreatedBy>6</CreatedBy>
      <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
      <Id>1</Id>
      <IsHide>true</IsHide>
      <LastModifiedBy>8</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
      <LocalId>9</LocalId>
      <LocationId>2</LocationId>
      <LocationLocalId>10</LocationLocalId>
      <Name>sample string 3</Name>
    </LocationLine>
    <LocationLines>
      <LocationLine>
        <CreatedBy>6</CreatedBy>
        <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
        <DeletedBy>1</DeletedBy>
        <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
        <Id>1</Id>
        <IsHide>true</IsHide>
        <LastModifiedBy>8</LastModifiedBy>
        <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
        <LocalId>9</LocalId>
        <LocationId>2</LocationId>
        <LocationLocalId>10</LocationLocalId>
        <Name>sample string 3</Name>
      </LocationLine>
      <LocationLine>
        <CreatedBy>6</CreatedBy>
        <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
        <DeletedBy>1</DeletedBy>
        <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
        <Id>1</Id>
        <IsHide>true</IsHide>
        <LastModifiedBy>8</LastModifiedBy>
        <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
        <LocalId>9</LocalId>
        <LocationId>2</LocationId>
        <LocationLocalId>10</LocationLocalId>
        <Name>sample string 3</Name>
      </LocationLine>
    </LocationLines>
    <Name>sample string 3</Name>
    <SiteId>2</SiteId>
    <SiteLocalId>10</SiteLocalId>
  </SiteLocation>
  <SiteLocations>
    <SiteLocation>
      <CreatedBy>6</CreatedBy>
      <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
      <Id>1</Id>
      <IsHide>true</IsHide>
      <LastModifiedBy>8</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
      <LocalId>9</LocalId>
      <LocationLine>
        <CreatedBy>6</CreatedBy>
        <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
        <DeletedBy>1</DeletedBy>
        <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
        <Id>1</Id>
        <IsHide>true</IsHide>
        <LastModifiedBy>8</LastModifiedBy>
        <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
        <LocalId>9</LocalId>
        <LocationId>2</LocationId>
        <LocationLocalId>10</LocationLocalId>
        <Name>sample string 3</Name>
      </LocationLine>
      <LocationLines>
        <LocationLine>
          <CreatedBy>6</CreatedBy>
          <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
          <Id>1</Id>
          <IsHide>true</IsHide>
          <LastModifiedBy>8</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
          <LocalId>9</LocalId>
          <LocationId>2</LocationId>
          <LocationLocalId>10</LocationLocalId>
          <Name>sample string 3</Name>
        </LocationLine>
        <LocationLine>
          <CreatedBy>6</CreatedBy>
          <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
          <Id>1</Id>
          <IsHide>true</IsHide>
          <LastModifiedBy>8</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
          <LocalId>9</LocalId>
          <LocationId>2</LocationId>
          <LocationLocalId>10</LocationLocalId>
          <Name>sample string 3</Name>
        </LocationLine>
      </LocationLines>
      <Name>sample string 3</Name>
      <SiteId>2</SiteId>
      <SiteLocalId>10</SiteLocalId>
    </SiteLocation>
    <SiteLocation>
      <CreatedBy>6</CreatedBy>
      <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
      <Id>1</Id>
      <IsHide>true</IsHide>
      <LastModifiedBy>8</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
      <LocalId>9</LocalId>
      <LocationLine>
        <CreatedBy>6</CreatedBy>
        <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
        <DeletedBy>1</DeletedBy>
        <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
        <Id>1</Id>
        <IsHide>true</IsHide>
        <LastModifiedBy>8</LastModifiedBy>
        <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
        <LocalId>9</LocalId>
        <LocationId>2</LocationId>
        <LocationLocalId>10</LocationLocalId>
        <Name>sample string 3</Name>
      </LocationLine>
      <LocationLines>
        <LocationLine>
          <CreatedBy>6</CreatedBy>
          <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
          <Id>1</Id>
          <IsHide>true</IsHide>
          <LastModifiedBy>8</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
          <LocalId>9</LocalId>
          <LocationId>2</LocationId>
          <LocationLocalId>10</LocationLocalId>
          <Name>sample string 3</Name>
        </LocationLine>
        <LocationLine>
          <CreatedBy>6</CreatedBy>
          <CreatedDate>2025-08-29T20:24:21.6074488+00:00</CreatedDate>
          <DeletedBy>1</DeletedBy>
          <DeletedDate>2025-08-29T20:24:21.6074488+00:00</DeletedDate>
          <Id>1</Id>
          <IsHide>true</IsHide>
          <LastModifiedBy>8</LastModifiedBy>
          <LastModifiedDate>2025-08-29T20:24:21.6074488+00:00</LastModifiedDate>
          <LocalId>9</LocalId>
          <LocationId>2</LocationId>
          <LocationLocalId>10</LocationLocalId>
          <Name>sample string 3</Name>
        </LocationLine>
      </LocationLines>
      <Name>sample string 3</Name>
      <SiteId>2</SiteId>
      <SiteLocalId>10</SiteLocalId>
    </SiteLocation>
  </SiteLocations>
</Site>

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.