POST api/Shuffling/save

保存轮播图片

Request Information

URI Parameters

None.

Body Parameters

ShufflingDto
NameDescriptionTypeAdditional information
Id

焦点图编号

integer

None.

Link

焦点图链接

string

None.

Src

焦点图地址

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Link": "sample string 2",
  "Src": "sample string 3"
}

text/html

Sample:
{"Id":1,"Link":"sample string 2","Src":"sample string 3"}

application/xml, text/xml

Sample:
<ShufflingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Id>1</Id>
  <Link>sample string 2</Link>
  <Src>sample string 3</Src>
</ShufflingDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存轮播图片

JsonRtnDtoOfShuffling
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Shuffling

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Id": 1,
    "MemberId": "sample string 2",
    "MemberType": 3,
    "Link": "sample string 4",
    "Src": "sample string 5",
    "Enabled": true,
    "CreatedTime": "2024-09-25T00:09:14.0152973+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"MemberId":"sample string 2","MemberType":3,"Link":"sample string 4","Src":"sample string 5","Enabled":true,"CreatedTime":"2024-09-25T00:09:14.0152973+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfShufflingmEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:CreatedTime>2024-09-25T00:09:14.0152973+08:00</d2p1:CreatedTime>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Link>sample string 4</d2p1:Link>
    <d2p1:MemberId>sample string 2</d2p1:MemberId>
    <d2p1:MemberType>3</d2p1:MemberType>
    <d2p1:Src>sample string 5</d2p1:Src>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfShufflingmEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"MemberId":"sample string 2","MemberType":3,"Link":"sample string 4","Src":"sample string 5","Enabled":true,"CreatedTime":"2024-09-25T00:09:14.0152973+08:00"}});