GET api/Sections/GetSectionById?sectionId={sectionId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
sectionId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SectionName | Description | Type | Additional 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. |
Response Formats
application/json, text/json
Sample:
{ "SectionId": 1, "Title": "sample string 2", "Description": "sample string 3", "LanguageId": 4, "Image": "sample string 5", "CreatedDate": "2024-11-02T15:17:26.9840072-07:00", "CreatedByUserId": 1, "UpdatedDate": "2024-11-02T15:17:26.9840072-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-11-02T15:17:26.9840072-07:00","CreatedByUserId":1,"UpdatedDate":"2024-11-02T15:17:26.9840072-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-11-02T15:17:26.9840072-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-11-02T15:17:26.9840072-07:00</UpdatedDate> <isActive>true</isActive> </Section>