POST api/ITILCarousel/AddITILCarouselSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILCarouselDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ImgUrl

string

None.

ImgData

string

None.

Url

string

None.

ArticalId

integer

None.

ImgTitle

string

None.

OrgCode

string

None.

CreateId

integer

None.

CreateBy

string

None.

CreateTime

date

None.

ModifyId

integer

None.

ModifyBy

string

None.

ModifyTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ImgUrl": "sample string 2",
  "ImgData": "sample string 3",
  "Url": "sample string 4",
  "ArticalId": 1,
  "ImgTitle": "sample string 5",
  "OrgCode": "sample string 6",
  "CreateId": 1,
  "CreateBy": "sample string 7",
  "CreateTime": "2019-04-21T16:32:50.3082751+08:00",
  "ModifyId": 1,
  "ModifyBy": "sample string 9",
  "ModifyTime": "2019-04-21T16:32:50.3082751+08:00"
}

application/xml, text/xml

Sample:
<ITILCarouselDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <ArticalId>1</ArticalId>
  <CreateBy>sample string 7</CreateBy>
  <CreateId>1</CreateId>
  <CreateTime>2019-04-21T16:32:50.3082751+08:00</CreateTime>
  <Id>1</Id>
  <ImgData>sample string 3</ImgData>
  <ImgTitle>sample string 5</ImgTitle>
  <ImgUrl>sample string 2</ImgUrl>
  <ModifyBy>sample string 9</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2019-04-21T16:32:50.3082751+08:00</ModifyTime>
  <OrgCode>sample string 6</OrgCode>
  <Url>sample string 4</Url>
</ITILCarouselDTO>

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 'ITILCarouselDTO'.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>