POST api/MhOrder/CreateSaleOrder

创建应用订单

Request Information

URI Parameters

None.

Body Parameters

CreateOrderDto
NameDescriptionTypeAdditional information
PluginId

购买的插件id(包括小程序)

integer

None.

Years

购买的插件年数

integer

None.

PluginName

购买的插件名称

string

None.

SalePersonId

售后顾问UserId

integer

None.

OrdeCouponId

优惠券id

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<CreateOrderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.WorkOrderSystem">
  <OrdeCouponId>5</OrdeCouponId>
  <PluginId>1</PluginId>
  <PluginName>sample string 3</PluginName>
  <SalePersonId>4</SalePersonId>
  <Years>2</Years>
</CreateOrderDto>

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

Response Information

Resource Description

创建应用订单

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />