GET api/Product/getUsersProducts?uid={uid}&platformId={platformId}&pageIndex={pageIndex}&pageSize={pageSize}
“getUsersProducts”的文档。
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
uid | “uid”的文档。 |
Define this parameter in the request URI. |
platformId | “platformId”的文档。 |
Define this parameter in the request URI. |
pageIndex | “pageIndex”的文档。 |
Define this parameter in the request URI. |
pageSize | “pageSize”的文档。 |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "Items": [ { "Id": 1, "Name": "sample string 2", "ListImg": "sample string 3", "Status": "sample string 4" }, { "Id": 1, "Name": "sample string 2", "ListImg": "sample string 3", "Status": "sample string 4" }, { "Id": 1, "Name": "sample string 2", "ListImg": "sample string 3", "Status": "sample string 4" } ], "PageIndex": 1, "PageTotal": 2, "Total": 3 }
application/xml, text/xml
Sample:
<UsersProductListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models"> <Items> <UsersProductModel> <Id>1</Id> <ListImg>sample string 3</ListImg> <Name>sample string 2</Name> <Status>sample string 4</Status> </UsersProductModel> <UsersProductModel> <Id>1</Id> <ListImg>sample string 3</ListImg> <Name>sample string 2</Name> <Status>sample string 4</Status> </UsersProductModel> <UsersProductModel> <Id>1</Id> <ListImg>sample string 3</ListImg> <Name>sample string 2</Name> <Status>sample string 4</Status> </UsersProductModel> </Items> <PageIndex>1</PageIndex> <PageTotal>2</PageTotal> <Total>3</Total> </UsersProductListModel>