POST api/ProductAdmin/AddtProduct
“AddtProduct”的文档。
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
entity | “entity”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Id": 1, "Shop": "sample string 2", "ProductName": "sample string 3", "Price": 4.0, "AdvicePrice": 5.0, "OnlinePrice": 6.0, "Stock": 7, "ProuductId": 8, "Brand": "sample string 9", "CompanyNo": "sample string 10", "Manufacturer": "sample string 11", "CompanyName": "sample string 12", "TwoLevelPrice": 13.0, "ThreeLevelPrice": 14.0, "SKUID": "sample string 15", "Success": 16, "Message": "sample string 17", "DataId": "sample string 18", "Uid": "sample string 19", "UserId": 20 }
application/xml, text/xml
Sample:
<PriceSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <DataId>sample string 18</DataId> <Message>sample string 17</Message> <Success>16</Success> <Uid>sample string 19</Uid> <UserId>20</UserId> <AdvicePrice>5</AdvicePrice> <Brand>sample string 9</Brand> <CompanyName>sample string 12</CompanyName> <CompanyNo>sample string 10</CompanyNo> <Id>1</Id> <Manufacturer>sample string 11</Manufacturer> <OnlinePrice>6</OnlinePrice> <Price>4</Price> <ProductName>sample string 3</ProductName> <ProuductId>8</ProuductId> <SKUID>sample string 15</SKUID> <Shop>sample string 2</Shop> <Stock>7</Stock> <ThreeLevelPrice>14</ThreeLevelPrice> <TwoLevelPrice>13</TwoLevelPrice> </PriceSettingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{ "Success": 1, "Message": "sample string 2", "DataId": "sample string 3", "Uid": "sample string 4", "UserId": 5 }
application/xml, text/xml
Sample:
<ReturnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <DataId>sample string 3</DataId> <Message>sample string 2</Message> <Success>1</Success> <Uid>sample string 4</Uid> <UserId>5</UserId> </ReturnModel>