增加类似商品和服务区分表

URL地址:api/IPR/NiceClassDetail/InsertNiceClassDetail

请求方式:POST

传递参数

None.

传递对象

NiceClassDetailEntity (类似商品和服务区分表对象)
名   称描   述参数类型附加信息
id

主键

integer

None.

DetailName

商品\服务项目(中文)

string

None.

DetailName_EN

商品\服务项目(英文)

string

None.

DetailID

商品\服务编号

string

None.

DetailTypeNumber

群组号

string

None.

UnionType

国际分类号

string

None.

descriptionGF

备注描述

string

None.

PageNo

页码

integer

None.

application/json, text/json

Sample:
{
  "id": 1,
  "DetailName": "sample string 2",
  "DetailName_EN": "sample string 3",
  "DetailID": "sample string 4",
  "DetailTypeNumber": "sample string 5",
  "UnionType": "sample string 6",
  "descriptionGF": "sample string 7",
  "PageNo": 8
}

application/xml, text/xml

Sample:
<NiceClassDetailEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <DetailID>sample string 4</DetailID>
  <DetailName>sample string 2</DetailName>
  <DetailName_EN>sample string 3</DetailName_EN>
  <DetailTypeNumber>sample string 5</DetailTypeNumber>
  <PageNo>8</PageNo>
  <UnionType>sample string 6</UnionType>
  <descriptionGF>sample string 7</descriptionGF>
  <id>1</id>
</NiceClassDetailEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfBoolean (bool)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

boolean

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": true
}

application/xml, text/xml

Sample:
<HttpResultMessageOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>true</Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfboolean>