PUT blogpost/updatefriendlyurl
Updates the friendly URL.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
blogPost | The blog post. 1) OldFriendlyUrl: Blog post friendly url to be updated 2) NewFriendlyUrl: New Friendly Url which needs to be unique. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Featured": true, "Title": "sample string 2", "WebpageTitle": "sample string 3", "MetaDescription": "sample string 4", "Author": "sample string 5", "RobotMetaTag": "sample string 6", "MetaKeywords": "sample string 7", "OpenGraphTitle": "sample string 8", "OpenGraphType": "sample string 9", "OpenGraphImage": "sample string 10", "OpenGraphDesc": "sample string 11", "CanonicalUrl": "sample string 12", "FriendlyUrl": "sample string 13", "ViewCount": 14, "Description": "sample string 15", "ShortDescription": "sample string 16", "PostPageUrl": "sample string 17", "Published": true, "PublishedDate": "2024-11-21T03:45:20.1482653+00:00", "Summary": "sample string 20", "OldFriendlyUrl": "sample string 21", "NewFriendlyUrl": "sample string 22" }
application/xml, text/xml
Sample:
<BlogPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models"> <Author>sample string 5</Author> <CanonicalUrl>sample string 12</CanonicalUrl> <Description>sample string 15</Description> <Featured>true</Featured> <FriendlyUrl>sample string 13</FriendlyUrl> <MetaDescription>sample string 4</MetaDescription> <MetaKeywords>sample string 7</MetaKeywords> <NewFriendlyUrl>sample string 22</NewFriendlyUrl> <OldFriendlyUrl>sample string 21</OldFriendlyUrl> <OpenGraphDesc>sample string 11</OpenGraphDesc> <OpenGraphImage>sample string 10</OpenGraphImage> <OpenGraphTitle>sample string 8</OpenGraphTitle> <OpenGraphType>sample string 9</OpenGraphType> <PostPageUrl>sample string 17</PostPageUrl> <Published>true</Published> <PublishedDate>2024-11-21T03:45:20.1482653+00:00</PublishedDate> <RobotMetaTag>sample string 6</RobotMetaTag> <ShortDescription>sample string 16</ShortDescription> <Summary>sample string 20</Summary> <Title>sample string 2</Title> <ViewCount>14</ViewCount> <WebpageTitle>sample string 3</WebpageTitle> </BlogPostModel>
application/x-www-form-urlencoded
Sample:
Sample not available.