POST api/Sections/EditSection

Request Information

URI Parameters

None.

Body Parameters

Section
NameDescriptionTypeAdditional information
SectionId

integer

None.

Title

string

None.

Description

string

None.

LanguageId

integer

None.

Image

string

None.

CreatedDate

date

None.

CreatedByUserId

integer

None.

UpdatedDate

date

None.

UpdatedByUserId

integer

None.

isActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SectionId": 1,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "LanguageId": 4,
  "Image": "sample string 5",
  "CreatedDate": "2024-06-17T02:19:21.2454701-07:00",
  "CreatedByUserId": 1,
  "UpdatedDate": "2024-06-17T02:19:21.2454701-07:00",
  "UpdatedByUserId": 1,
  "isActive": true
}

text/html

Sample:
{"SectionId":1,"Title":"sample string 2","Description":"sample string 3","LanguageId":4,"Image":"sample string 5","CreatedDate":"2024-06-17T02:19:21.2454701-07:00","CreatedByUserId":1,"UpdatedDate":"2024-06-17T02:19:21.2454701-07:00","UpdatedByUserId":1,"isActive":true}

application/xml, text/xml

Sample:
<Section xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DynamicCms">
  <CreatedByUserId>1</CreatedByUserId>
  <CreatedDate>2024-06-17T02:19:21.2454701-07:00</CreatedDate>
  <Description>sample string 3</Description>
  <Image>sample string 5</Image>
  <LanguageId>4</LanguageId>
  <SectionId>1</SectionId>
  <Title>sample string 2</Title>
  <UpdatedByUserId>1</UpdatedByUserId>
  <UpdatedDate>2024-06-17T02:19:21.2454701-07:00</UpdatedDate>
  <isActive>true</isActive>
</Section>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>