GET api/UserTempCache/GetTempCache?classify={classify}
获取临时数据
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
classify |
The classify. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取临时数据
JsonRtnDtoOfUserTempCache[]Name | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of UserTempCache |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "Id": 1, "UserId": "sample string 2", "Classify": "sample string 3", "Content": "sample string 4", "CreatedTime": "2024-09-25T00:10:28.7499193+08:00" }, { "Id": 1, "UserId": "sample string 2", "Classify": "sample string 3", "Content": "sample string 4", "CreatedTime": "2024-09-25T00:10:28.7499193+08:00" } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"Id":1,"UserId":"sample string 2","Classify":"sample string 3","Content":"sample string 4","CreatedTime":"2024-09-25T00:10:28.7499193+08:00"},{"Id":1,"UserId":"sample string 2","Classify":"sample string 3","Content":"sample string 4","CreatedTime":"2024-09-25T00:10:28.7499193+08:00"}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfUserTempCachemEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:UserTempCache> <d2p1:Classify>sample string 3</d2p1:Classify> <d2p1:Content>sample string 4</d2p1:Content> <d2p1:CreatedTime>2024-09-25T00:10:28.7499193+08:00</d2p1:CreatedTime> <d2p1:Id>1</d2p1:Id> <d2p1:UserId>sample string 2</d2p1:UserId> </d2p1:UserTempCache> <d2p1:UserTempCache> <d2p1:Classify>sample string 3</d2p1:Classify> <d2p1:Content>sample string 4</d2p1:Content> <d2p1:CreatedTime>2024-09-25T00:10:28.7499193+08:00</d2p1:CreatedTime> <d2p1:Id>1</d2p1:Id> <d2p1:UserId>sample string 2</d2p1:UserId> </d2p1:UserTempCache> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfUserTempCachemEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"Id":1,"UserId":"sample string 2","Classify":"sample string 3","Content":"sample string 4","CreatedTime":"2024-09-25T00:10:28.7499193+08:00"},{"Id":1,"UserId":"sample string 2","Classify":"sample string 3","Content":"sample string 4","CreatedTime":"2024-09-25T00:10:28.7499193+08:00"}]});