POST
api/v1/addeditwebpagedata?adminid={adminid}&ClientId={ClientId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
adminid | integer |
Required |
|
ClientId | integer |
Default value is 1 |
Body Parameters
WebPageDataModelName | Description | Type | Additional information |
---|---|---|---|
masterdata | WebPageMasterModel |
None. |
|
detaildata | WebPageDetailModel |
None. |
Request Formats
application/json, text/json
{ "masterdata": { "WebPageId": 1, "TemplateId": 2, "Name": "sample string 3", "PageUrl": "sample string 4", "IsMainMenu": true, "CreatedOn": "2025-06-18T11:39:52.9882964+00:00", "CreatedBy": 7, "ClientId": 8, "IsActive": true, "SortOrder": 10, "IsLogicalDeleted": true, "ModifiedOn": "2025-06-18T11:39:52.9882964+00:00", "ModifiedBy": 1, "GUID": "7a6d1075-6268-4be6-b94e-f6ca5c2e1740", "IsDeleteAllowed": true, "SectionMasterId": 1, "FeatureImage": "sample string 13", "IsSearchAllowed": true, "DisplayInSubcategory": true, "SubcategoryDisplayName": "sample string 15" }, "detaildata": { "WebPageDetailsId": 1, "WebPageId": 2, "LanguageId": 3, "Version": "sample string 4", "DisplayName": "sample string 5", "Description": "sample string 6", "PageTitle": "sample string 7", "MetaKeyword": "sample string 8", "MetaDescription": "sample string 9", "CreatedOn": "2025-06-18T11:39:52.9882964+00:00", "CreatedBy": 11, "ApprovedBy": 1, "PublishedBy": 1, "Tags": "sample string 12", "ApprovedOn": "2025-06-18T11:39:52.9882964+00:00", "PublishedOn": "2025-06-18T11:39:52.9882964+00:00", "ParentMenuRef": 13, "SentForApproval": true } }
text/html
{"masterdata":{"WebPageId":1,"TemplateId":2,"Name":"sample string 3","PageUrl":"sample string 4","IsMainMenu":true,"CreatedOn":"2025-06-18T11:39:52.9882964+00:00","CreatedBy":7,"ClientId":8,"IsActive":true,"SortOrder":10,"IsLogicalDeleted":true,"ModifiedOn":"2025-06-18T11:39:52.9882964+00:00","ModifiedBy":1,"GUID":"7a6d1075-6268-4be6-b94e-f6ca5c2e1740","IsDeleteAllowed":true,"SectionMasterId":1,"FeatureImage":"sample string 13","IsSearchAllowed":true,"DisplayInSubcategory":true,"SubcategoryDisplayName":"sample string 15"},"detaildata":{"WebPageDetailsId":1,"WebPageId":2,"LanguageId":3,"Version":"sample string 4","DisplayName":"sample string 5","Description":"sample string 6","PageTitle":"sample string 7","MetaKeyword":"sample string 8","MetaDescription":"sample string 9","CreatedOn":"2025-06-18T11:39:52.9882964+00:00","CreatedBy":11,"ApprovedBy":1,"PublishedBy":1,"Tags":"sample string 12","ApprovedOn":"2025-06-18T11:39:52.9882964+00:00","PublishedOn":"2025-06-18T11:39:52.9882964+00:00","ParentMenuRef":13,"SentForApproval":true}}
application/xml, text/xml
<WebPageDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.WebPage"> <detaildata> <ApprovedBy>1</ApprovedBy> <ApprovedOn>2025-06-18T11:39:52.9882964+00:00</ApprovedOn> <CreatedBy>11</CreatedBy> <CreatedOn>2025-06-18T11:39:52.9882964+00:00</CreatedOn> <Description>sample string 6</Description> <DisplayName>sample string 5</DisplayName> <LanguageId>3</LanguageId> <MetaDescription>sample string 9</MetaDescription> <MetaKeyword>sample string 8</MetaKeyword> <PageTitle>sample string 7</PageTitle> <ParentMenuRef>13</ParentMenuRef> <PublishedBy>1</PublishedBy> <PublishedOn>2025-06-18T11:39:52.9882964+00:00</PublishedOn> <SentForApproval>true</SentForApproval> <Tags>sample string 12</Tags> <Version>sample string 4</Version> <WebPageDetailsId>1</WebPageDetailsId> <WebPageId>2</WebPageId> </detaildata> <masterdata> <ClientId>8</ClientId> <CreatedBy>7</CreatedBy> <CreatedOn>2025-06-18T11:39:52.9882964+00:00</CreatedOn> <DisplayInSubcategory>true</DisplayInSubcategory> <FeatureImage>sample string 13</FeatureImage> <GUID>7a6d1075-6268-4be6-b94e-f6ca5c2e1740</GUID> <IsActive>true</IsActive> <IsDeleteAllowed>true</IsDeleteAllowed> <IsLogicalDeleted>true</IsLogicalDeleted> <IsMainMenu>true</IsMainMenu> <IsSearchAllowed>true</IsSearchAllowed> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-06-18T11:39:52.9882964+00:00</ModifiedOn> <Name>sample string 3</Name> <PageUrl>sample string 4</PageUrl> <SectionMasterId>1</SectionMasterId> <SortOrder>10</SortOrder> <SubcategoryDisplayName>sample string 15</SubcategoryDisplayName> <TemplateId>2</TemplateId> <WebPageId>1</WebPageId> </masterdata> </WebPageDataModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: integer
Response Formats
application/json, text/json, text/html
1
application/xml, text/xml
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>