POST api/e/ys/AddPeriodical?memberID={memberID}&enterpriseID={enterpriseID}

新建期刊

Request Information

URI Parameters

NameDescriptionTypeAdditional information
memberID

globally unique identifier

Required

enterpriseID

globally unique identifier

Required

Body Parameters

PeriodicalModel
NameDescriptionTypeAdditional information
ID

编号

globally unique identifier

None.

EnterpriseID

系统编号

globally unique identifier

None.

CName

名称

string

None.

Image

图片

string

None.

Thumbnail

缩略图

string

None.

Description

描述

string

None.

State

状态

boolean

None.

OrderIndex

排序值

integer

None.

IsDelete

删除标记

boolean

None.

CreateTime

创建时间

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "27062369-1507-4168-967a-d06b8d386496",
  "EnterpriseID": "e860456b-3c49-459f-8a5d-5c5d870eb6d5",
  "CName": "sample string 3",
  "Image": "sample string 4",
  "Thumbnail": "sample string 5",
  "Description": "sample string 6",
  "State": true,
  "OrderIndex": 8,
  "IsDelete": true,
  "CreateTime": "2025-04-18T17:44:52.6600032+08:00"
}

application/xml, text/xml

Sample:
<PeriodicalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LijiyTow.Liji_E.EAPI.Models.E">
  <CName>sample string 3</CName>
  <CreateTime>2025-04-18T17:44:52.6600032+08:00</CreateTime>
  <Description>sample string 6</Description>
  <EnterpriseID>e860456b-3c49-459f-8a5d-5c5d870eb6d5</EnterpriseID>
  <ID>27062369-1507-4168-967a-d06b8d386496</ID>
  <Image>sample string 4</Image>
  <IsDelete>true</IsDelete>
  <OrderIndex>8</OrderIndex>
  <State>true</State>
  <Thumbnail>sample string 5</Thumbnail>
</PeriodicalModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.