POST api/UserAdmin/AddCommercial
“AddCommercial”的文档。
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
model | “model”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Email": "sample string 3", "Mobile": "sample string 4", "Descript": "sample string 5", "Address": "sample string 6", "CreateTime": "sample string 7", "Token": "sample string 8", "Status": "sample string 9", "StatusInt": 10, "Logo": "sample string 11", "BackgroundImg": "sample string 12", "PlatformId": 13, "CreateUId": 14, "CreateUName": "sample string 15", "Prov": "sample string 16", "City": "sample string 17", "Area": "sample string 18", "Detail": "sample string 19", "PointX": "sample string 20", "PointY": "sample string 21", "ShopAddressId": 22, "UName": "sample string 23", "Company": "sample string 24", "PayType": "sample string 25", "PayDay": "sample string 26", "ShopLable": "sample string 27", "DoorNo": "sample string 28", "IsOnvote": 29, "Level": 30, "Items": [ { "Id": 1, "Name": "sample string 2", "Mobile": "sample string 3", "BindMobile": "sample string 4" }, { "Id": 1, "Name": "sample string 2", "Mobile": "sample string 3", "BindMobile": "sample string 4" }, { "Id": 1, "Name": "sample string 2", "Mobile": "sample string 3", "BindMobile": "sample string 4" } ], "ApplyItems": [ { "Id": 1, "Name": "sample string 2", "Mobile": "sample string 3", "Status": "sample string 4" }, { "Id": 1, "Name": "sample string 2", "Mobile": "sample string 3", "Status": "sample string 4" }, { "Id": 1, "Name": "sample string 2", "Mobile": "sample string 3", "Status": "sample string 4" } ], "Success": 31, "Message": "sample string 32", "DataId": "sample string 33", "Uid": "sample string 34", "UserId": 35 }
application/xml, text/xml
Sample:
<CommercialModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <DataId>sample string 33</DataId> <Message>sample string 32</Message> <Success>31</Success> <Uid>sample string 34</Uid> <UserId>35</UserId> <Address>sample string 6</Address> <ApplyItems> <ApplyList> <Id>1</Id> <Mobile>sample string 3</Mobile> <Name>sample string 2</Name> <Status>sample string 4</Status> </ApplyList> <ApplyList> <Id>1</Id> <Mobile>sample string 3</Mobile> <Name>sample string 2</Name> <Status>sample string 4</Status> </ApplyList> <ApplyList> <Id>1</Id> <Mobile>sample string 3</Mobile> <Name>sample string 2</Name> <Status>sample string 4</Status> </ApplyList> </ApplyItems> <Area>sample string 18</Area> <BackgroundImg>sample string 12</BackgroundImg> <City>sample string 17</City> <Company>sample string 24</Company> <CreateTime>sample string 7</CreateTime> <CreateUId>14</CreateUId> <CreateUName>sample string 15</CreateUName> <Descript>sample string 5</Descript> <Detail>sample string 19</Detail> <DoorNo>sample string 28</DoorNo> <Email>sample string 3</Email> <Id>1</Id> <IsOnvote>29</IsOnvote> <Items> <CommercialManagerModel> <BindMobile>sample string 4</BindMobile> <Id>1</Id> <Mobile>sample string 3</Mobile> <Name>sample string 2</Name> </CommercialManagerModel> <CommercialManagerModel> <BindMobile>sample string 4</BindMobile> <Id>1</Id> <Mobile>sample string 3</Mobile> <Name>sample string 2</Name> </CommercialManagerModel> <CommercialManagerModel> <BindMobile>sample string 4</BindMobile> <Id>1</Id> <Mobile>sample string 3</Mobile> <Name>sample string 2</Name> </CommercialManagerModel> </Items> <Level>30</Level> <Logo>sample string 11</Logo> <Mobile>sample string 4</Mobile> <Name>sample string 2</Name> <PayDay>sample string 26</PayDay> <PayType>sample string 25</PayType> <PlatformId>13</PlatformId> <PointX>sample string 20</PointX> <PointY>sample string 21</PointY> <Prov>sample string 16</Prov> <ShopAddressId>22</ShopAddressId> <ShopLable>sample string 27</ShopLable> <Status>sample string 9</Status> <StatusInt>10</StatusInt> <Token>sample string 8</Token> <UName>sample string 23</UName> </CommercialModel>
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>