POST api/StockAdmin/ApplyStock
“ApplyStock”的文档。
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
model | “model”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "FromId": 1, "ToId": 2, "ProductStr": [ "sample string 1", "sample string 2", "sample string 3" ], "Note": "sample string 3", "currentUserId": 4 }
application/xml, text/xml
Sample:
<ApplyStockSubmitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <FromId>1</FromId> <Note>sample string 3</Note> <ProductStr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> <d2p1:string>sample string 3</d2p1:string> </ProductStr> <ToId>2</ToId> <currentUserId>4</currentUserId> </ApplyStockSubmitModel>
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>