POST API/InfoBar/Add

添加信息

Request Information

Parameters

NameDescriptionAdditional information
bar

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CommunityId": "sample string 1",
  "ResidentId": "sample string 2",
  "BarType": 3,
  "Title": "sample string 4",
  "Content": "sample string 5",
  "Type": 6,
  "TEL": "sample string 7",
  "Cover": "sample string 8",
  "Images": "sample string 9"
}

application/xml, text/xml

Sample:
<ApiInfoBar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GS.R.API4._0.Models">
  <BarType>3</BarType>
  <CommunityId>sample string 1</CommunityId>
  <Content>sample string 5</Content>
  <Cover>sample string 8</Cover>
  <Images>sample string 9</Images>
  <ResidentId>sample string 2</ResidentId>
  <TEL>sample string 7</TEL>
  <Title>sample string 4</Title>
  <Type>6</Type>
</ApiInfoBar>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApiInfoBar'.