POST api/blogger/postManage/{authorId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
authorId

integer

Required

Body Parameters

PostDetailManageInfo
NameDescriptionTypeAdditional information
ShortContent

string

None.

Content

string

None.

AuditRemark

string

None.

SubTypes

Collection of PostDetailSelectInfo

None.

Tags

Collection of PostDetailSelectInfo

None.

Locations

Collection of PostDetailSelectInfo

None.

Images

Collection of PostDetailImageInfo

None.

PackageEndDate

date

None.

PackageStartDate

date

None.

Id

integer

None.

Title

string

None.

Active

boolean

None.

Views

integer

None.

GAViews

integer

None.

TargetViews

integer

None.

FinishDay

date

None.

PostDate

date

None.

PostEndDate

date

None.

Location

string

None.

Status

integer

None.

Type

integer

None.

Bonus

decimal number

None.

Currency

string

None.

StatsTime

date

None.

MaxBonus

decimal number

None.

BonusRatio

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ShortContent": "sample string 1",
  "Content": "sample string 2",
  "AuditRemark": "sample string 3",
  "SubTypes": [
    {
      "Id": 1,
      "OptionName": "sample string 2"
    },
    {
      "Id": 1,
      "OptionName": "sample string 2"
    }
  ],
  "Tags": [
    {
      "Id": 1,
      "OptionName": "sample string 2"
    },
    {
      "Id": 1,
      "OptionName": "sample string 2"
    }
  ],
  "Locations": [
    {
      "Id": 1,
      "OptionName": "sample string 2"
    },
    {
      "Id": 1,
      "OptionName": "sample string 2"
    }
  ],
  "Images": [
    {
      "Id": 1,
      "Type": "sample string 2",
      "Content": "sample string 3",
      "Active": true,
      "Animation": "sample string 5"
    },
    {
      "Id": 1,
      "Type": "sample string 2",
      "Content": "sample string 3",
      "Active": true,
      "Animation": "sample string 5"
    }
  ],
  "PackageEndDate": "2024-12-07T11:14:24.8143427+08:00",
  "PackageStartDate": "2024-12-07T11:14:24.8143427+08:00",
  "Id": 4,
  "Title": "sample string 5",
  "Active": true,
  "Views": 7,
  "GAViews": 1,
  "TargetViews": 1,
  "FinishDay": "2024-12-07T11:14:24.8143427+08:00",
  "PostDate": "2024-12-07T11:14:24.8143427+08:00",
  "PostEndDate": "2024-12-07T11:14:24.8143427+08:00",
  "Location": "sample string 9",
  "Status": 10,
  "Type": 11,
  "Bonus": 12.0,
  "Currency": "sample string 13",
  "StatsTime": "2024-12-07T11:14:24.8143427+08:00",
  "MaxBonus": 15.0,
  "BonusRatio": 16.0
}

application/xml, text/xml

Sample:
<PostManageController.PostDetailManageInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlogAdmin.Controllers.Blogger">
  <Active>true</Active>
  <Bonus>12</Bonus>
  <BonusRatio>16</BonusRatio>
  <Currency>sample string 13</Currency>
  <FinishDay>2024-12-07T11:14:24.8143427+08:00</FinishDay>
  <GAViews>1</GAViews>
  <Id>4</Id>
  <Location>sample string 9</Location>
  <MaxBonus>15</MaxBonus>
  <PostDate>2024-12-07T11:14:24.8143427+08:00</PostDate>
  <PostEndDate>2024-12-07T11:14:24.8143427+08:00</PostEndDate>
  <StatsTime>2024-12-07T11:14:24.8143427+08:00</StatsTime>
  <Status>10</Status>
  <TargetViews>1</TargetViews>
  <Title>sample string 5</Title>
  <Type>11</Type>
  <Views>7</Views>
  <AuditRemark>sample string 3</AuditRemark>
  <Content>sample string 2</Content>
  <Images>
    <PostManageController.PostDetailImageInfo>
      <Active>true</Active>
      <Animation>sample string 5</Animation>
      <Content>sample string 3</Content>
      <Id>1</Id>
      <Type>sample string 2</Type>
    </PostManageController.PostDetailImageInfo>
    <PostManageController.PostDetailImageInfo>
      <Active>true</Active>
      <Animation>sample string 5</Animation>
      <Content>sample string 3</Content>
      <Id>1</Id>
      <Type>sample string 2</Type>
    </PostManageController.PostDetailImageInfo>
  </Images>
  <Locations>
    <PostManageController.PostDetailSelectInfo>
      <Id>1</Id>
      <OptionName>sample string 2</OptionName>
    </PostManageController.PostDetailSelectInfo>
    <PostManageController.PostDetailSelectInfo>
      <Id>1</Id>
      <OptionName>sample string 2</OptionName>
    </PostManageController.PostDetailSelectInfo>
  </Locations>
  <PackageEndDate>2024-12-07T11:14:24.8143427+08:00</PackageEndDate>
  <PackageStartDate>2024-12-07T11:14:24.8143427+08:00</PackageStartDate>
  <ShortContent>sample string 1</ShortContent>
  <SubTypes>
    <PostManageController.PostDetailSelectInfo>
      <Id>1</Id>
      <OptionName>sample string 2</OptionName>
    </PostManageController.PostDetailSelectInfo>
    <PostManageController.PostDetailSelectInfo>
      <Id>1</Id>
      <OptionName>sample string 2</OptionName>
    </PostManageController.PostDetailSelectInfo>
  </SubTypes>
  <Tags>
    <PostManageController.PostDetailSelectInfo>
      <Id>1</Id>
      <OptionName>sample string 2</OptionName>
    </PostManageController.PostDetailSelectInfo>
    <PostManageController.PostDetailSelectInfo>
      <Id>1</Id>
      <OptionName>sample string 2</OptionName>
    </PostManageController.PostDetailSelectInfo>
  </Tags>
</PostManageController.PostDetailManageInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseResultOfObject
NameDescriptionTypeAdditional information
Data

Object

None.

Message

string

None.

Status

integer

None.

Page

PageInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Message": "sample string 2",
  "Status": 3,
  "Page": {
    "PageIndex": 1,
    "PageTotal": 2,
    "DataTotal": 3,
    "PostSize": 4,
    "TagSize": 5,
    "ThemeSize": 6
  }
}

application/xml, text/xml

Sample:
<ResponseResultOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlogAdmin.Models">
  <Data />
  <Message>sample string 2</Message>
  <Page>
    <DataTotal>3</DataTotal>
    <PageIndex>1</PageIndex>
    <PageTotal>2</PageTotal>
    <PostSize>4</PostSize>
    <TagSize>5</TagSize>
    <ThemeSize>6</ThemeSize>
  </Page>
  <Status>3</Status>
</ResponseResultOfanyType>