POST api/ProductType/SaveProductType
Request Information
URI Parameters
None.
Body Parameters
ReadDTOOfReadSaveProductType| Name | Description | Type | Additional information |
|---|---|---|---|
| data | ReadSaveProductType |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"data": {
"name": "sample string 1",
"tunhuo_flag": 2,
"tunhuo_b_time": "sample string 3",
"tunhuo_e_time": "sample string 4",
"tuihuo_flag": 5,
"tuihuo_b_time": "sample string 6",
"tuihuo_e_time": "sample string 7",
"money_flag": 8,
"type_money": 9.0,
"money": 10.0,
"remark": "sample string 11",
"IMEI_flag": 12,
"tunhuo_esc_b_time": "sample string 13",
"tunhuo_esc_e_time": "sample string 14",
"id": 15
},
"PageSize": 1,
"PageIndex": 2
}
application/xml, text/xml
Sample:
<ReadDTOOfReadSaveProductTypecc8wrA37 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models">
<PageIndex>2</PageIndex>
<PageSize>1</PageSize>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.ReadModels">
<d2p1:id>15</d2p1:id>
<d2p1:IMEI_flag>12</d2p1:IMEI_flag>
<d2p1:money>10</d2p1:money>
<d2p1:money_flag>8</d2p1:money_flag>
<d2p1:name>sample string 1</d2p1:name>
<d2p1:remark>sample string 11</d2p1:remark>
<d2p1:tuihuo_b_time>sample string 6</d2p1:tuihuo_b_time>
<d2p1:tuihuo_e_time>sample string 7</d2p1:tuihuo_e_time>
<d2p1:tuihuo_flag>5</d2p1:tuihuo_flag>
<d2p1:tunhuo_b_time>sample string 3</d2p1:tunhuo_b_time>
<d2p1:tunhuo_e_time>sample string 4</d2p1:tunhuo_e_time>
<d2p1:tunhuo_esc_b_time>sample string 13</d2p1:tunhuo_esc_b_time>
<d2p1:tunhuo_esc_e_time>sample string 14</d2p1:tunhuo_esc_e_time>
<d2p1:tunhuo_flag>2</d2p1:tunhuo_flag>
<d2p1:type_money>9</d2p1:type_money>
</data>
</ReadDTOOfReadSaveProductTypecc8wrA37>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultDTOOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| data | Object |
None. |
|
| msg | string |
None. |
|
| Exception | Object |
None. |
|
| Exception1 | Object |
None. |
|
| count | integer |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"data": {},
"msg": "sample string 3",
"Exception": {},
"Exception1": {},
"count": 6,
"PageSize": 7,
"PageIndex": 8
}
application/xml, text/xml
Sample:
<ResultDTOOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models"> <Exception /> <Exception1 /> <PageIndex>8</PageIndex> <PageSize>7</PageSize> <code>1</code> <count>6</count> <data /> <msg>sample string 3</msg> </ResultDTOOfanyType>