POST api/PostDingDing/SaveAddInquiry

Request Information

URI Parameters

None.

Body Parameters

SaveAddInquiryReq
NameDescriptionTypeAdditional information
id

integer

None.

ctype_id

integer

None.

contentType

integer

None.

dept_name

string

None.

dept_id

integer

None.

inquiry_type

integer

None.

demand_time

string

None.

demand_remark

string

None.

goods_name

string

None.

brand_name

string

None.

brand_id

integer

None.

goods_type

integer

None.

goods_type_name

string

None.

reply_emp_id

string

None.

reply_emp_code

string

None.

reply_emp_name

string

None.

wait_time

string

None.

factory_number

string

None.

goods_packing

string

None.

goods_description

string

None.

use_ambient

string

None.

number

integer

None.

unit

string

None.

demand_price

string

None.

price_section

string

None.

goods_img_address

string

None.

contact_id

integer

None.

contact_name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "ctype_id": 1,
  "contentType": 2,
  "dept_name": "sample string 3",
  "dept_id": 1,
  "inquiry_type": 4,
  "demand_time": "sample string 5",
  "demand_remark": "sample string 6",
  "goods_name": "sample string 7",
  "brand_name": "sample string 8",
  "brand_id": 9,
  "goods_type": 1,
  "goods_type_name": "sample string 10",
  "reply_emp_id": "sample string 11",
  "reply_emp_code": "sample string 12",
  "reply_emp_name": "sample string 13",
  "wait_time": "sample string 14",
  "factory_number": "sample string 15",
  "goods_packing": "sample string 16",
  "goods_description": "sample string 17",
  "use_ambient": "sample string 18",
  "number": 1,
  "unit": "sample string 19",
  "demand_price": "sample string 20",
  "price_section": "sample string 21",
  "goods_img_address": "sample string 22",
  "contact_id": 1,
  "contact_name": "sample string 23"
}

application/xml, text/xml

Sample:
<SaveAddInquiryReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model.Dtos.Post">
  <brand_id>9</brand_id>
  <brand_name>sample string 8</brand_name>
  <contact_id>1</contact_id>
  <contact_name>sample string 23</contact_name>
  <contentType>2</contentType>
  <ctype_id>1</ctype_id>
  <demand_price>sample string 20</demand_price>
  <demand_remark>sample string 6</demand_remark>
  <demand_time>sample string 5</demand_time>
  <dept_id>1</dept_id>
  <dept_name>sample string 3</dept_name>
  <factory_number>sample string 15</factory_number>
  <goods_description>sample string 17</goods_description>
  <goods_img_address>sample string 22</goods_img_address>
  <goods_name>sample string 7</goods_name>
  <goods_packing>sample string 16</goods_packing>
  <goods_type>1</goods_type>
  <goods_type_name>sample string 10</goods_type_name>
  <id>1</id>
  <inquiry_type>4</inquiry_type>
  <number>1</number>
  <price_section>sample string 21</price_section>
  <reply_emp_code>sample string 12</reply_emp_code>
  <reply_emp_id>sample string 11</reply_emp_id>
  <reply_emp_name>sample string 13</reply_emp_name>
  <unit>sample string 19</unit>
  <use_ambient>sample string 18</use_ambient>
  <wait_time>sample string 14</wait_time>
</SaveAddInquiryReq>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.