POST Api/Website/SaveElementColor

Request Information

URI Parameters

None.

Body Parameters

WebsiteElementColorList
NameDescriptionTypeAdditional information
_lstWebElemColor

Collection of ATS_tbl_Websites_ElementColor

None.

Request Formats

application/json, text/json

Sample:
{
  "_lstWebElemColor": [
    {
      "WebsiteElementColorId": 1,
      "WebsiteID": 2,
      "Element": "sample string 3",
      "Color": "sample string 4",
      "Status": true,
      "IsDefault": true,
      "AddedDate": "sample string 7",
      "ModifiedDate": "sample string 8",
      "Id": 9
    },
    {
      "WebsiteElementColorId": 1,
      "WebsiteID": 2,
      "Element": "sample string 3",
      "Color": "sample string 4",
      "Status": true,
      "IsDefault": true,
      "AddedDate": "sample string 7",
      "ModifiedDate": "sample string 8",
      "Id": 9
    }
  ]
}

application/xml, text/xml

Sample:
<WebsiteElementColorList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATS.Core.Domain.WebsiteInfo">
  <_lstWebElemColor>
    <ATS_tbl_Websites_ElementColor>
      <Id xmlns="http://schemas.datacontract.org/2004/07/ATS.Core">9</Id>
      <AddedDate>sample string 7</AddedDate>
      <Color>sample string 4</Color>
      <Element>sample string 3</Element>
      <IsDefault>true</IsDefault>
      <ModifiedDate>sample string 8</ModifiedDate>
      <Status>true</Status>
      <WebsiteElementColorId>1</WebsiteElementColorId>
      <WebsiteID>2</WebsiteID>
    </ATS_tbl_Websites_ElementColor>
    <ATS_tbl_Websites_ElementColor>
      <Id xmlns="http://schemas.datacontract.org/2004/07/ATS.Core">9</Id>
      <AddedDate>sample string 7</AddedDate>
      <Color>sample string 4</Color>
      <Element>sample string 3</Element>
      <IsDefault>true</IsDefault>
      <ModifiedDate>sample string 8</ModifiedDate>
      <Status>true</Status>
      <WebsiteElementColorId>1</WebsiteElementColorId>
      <WebsiteID>2</WebsiteID>
    </ATS_tbl_Websites_ElementColor>
  </_lstWebElemColor>
</WebsiteElementColorList>

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.