POST api/GoodsStandard/AddGoodsStandardType

Request Information

URI Parameters

None.

Body Parameters

AddGoodsStandardTypeRequest
NameDescriptionTypeAdditional information
id

integer

None.

type_name

string

None.

type_status

integer

None.

is_entry

integer

None.

is_need_img

integer

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "type_name": "sample string 2",
  "type_status": 3,
  "is_entry": 4,
  "is_need_img": 5,
  "user_id": "sample string 6",
  "token": "sample string 7"
}

application/xml, text/xml

Sample:
<AddGoodsStandardTypeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 7</token>
  <user_id>sample string 6</user_id>
  <id>1</id>
  <is_entry>4</is_entry>
  <is_need_img>5</is_need_img>
  <type_name>sample string 2</type_name>
  <type_status>3</type_status>
</AddGoodsStandardTypeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.