POST api/ppadmin/saveredspot

保存红色景点

Request Information

URI Parameters

None.

Body Parameters

参数

RedSpot
NameDescriptionTypeAdditional information
Id

主键ID

string

Max length: 36

Name

景点名称

string

Max length: 50

Thumb

缩略图

string

Max length: 4000

RedSynopsis

简介

string

None.

Hot

浏览量

integer

None.

CarWay

乘车路线

string

Max length: 2000

AddTime

创建时间

date

None.

BackgroundImg

打卡背景参考图

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "Thumb": "sample string 3",
  "RedSynopsis": "sample string 4",
  "Hot": 5,
  "CarWay": "sample string 6",
  "AddTime": "2024-09-25T00:11:21.7496574+08:00",
  "BackgroundImg": "sample string 7"
}

text/html

Sample:
{"Id":"sample string 1","Name":"sample string 2","Thumb":"sample string 3","RedSynopsis":"sample string 4","Hot":5,"CarWay":"sample string 6","AddTime":"2024-09-25T00:11:21.7496574+08:00","BackgroundImg":"sample string 7"}

application/xml, text/xml

Sample:
<RedSpot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data">
  <AddTime>2024-09-25T00:11:21.7496574+08:00</AddTime>
  <BackgroundImg>sample string 7</BackgroundImg>
  <CarWay>sample string 6</CarWay>
  <Hot>5</Hot>
  <Id>sample string 1</Id>
  <Name>sample string 2</Name>
  <RedSynopsis>sample string 4</RedSynopsis>
  <Thumb>sample string 3</Thumb>
</RedSpot>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存红色景点

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});