POST api/TicketSyncV1/GetPrintDataList
获取打印报道数据
Request Information
URI Parameters
None.
Body Parameters
请求参数
ParametersOfGetDataConditionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | GetDataConditionDto |
None. |
|
| Key |
密匙(炎麟提供) |
string |
None. |
| ChannelID |
渠道ID(炎麟提供) |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Data": {
"SkipMaxID": 1,
"GetMaxTotal": 2
},
"Key": "sample string 1",
"ChannelID": 2
}
application/xml, text/xml
Sample:
<ParametersOfGetDataConditionDto_SR_SkLznh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YLWebApi.Dtos">
<ChannelID>2</ChannelID>
<Key>sample string 1</Key>
<Data>
<GetMaxTotal>2</GetMaxTotal>
<SkipMaxID>1</SkipMaxID>
</Data>
</ParametersOfGetDataConditionDto_SR_SkLznh>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultDtoOfListOfPrintDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of PrintDto |
None. |
|
| Code |
代码200=成功,400=异常,500=失败 |
integer |
None. |
| Message |
应答描述 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"ID": 1,
"TicketID": "sample string 2",
"TicketSourceID": "sample string 3",
"QrCode": "sample string 4",
"PrintTime": "2026-10-28T12:12:32.1848479+08:00",
"AreaName": "sample string 6",
"ChannelNumber": "sample string 7"
},
{
"ID": 1,
"TicketID": "sample string 2",
"TicketSourceID": "sample string 3",
"QrCode": "sample string 4",
"PrintTime": "2026-10-28T12:12:32.1848479+08:00",
"AreaName": "sample string 6",
"ChannelNumber": "sample string 7"
}
],
"Code": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ResultDtoOfArrayOfPrintDto_SR_SkLznh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YLWebApi.Models">
<Code>1</Code>
<Message>sample string 2</Message>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YLWebApi.Dtos">
<d2p1:PrintDto>
<d2p1:AreaName>sample string 6</d2p1:AreaName>
<d2p1:ChannelNumber>sample string 7</d2p1:ChannelNumber>
<d2p1:ID>1</d2p1:ID>
<d2p1:PrintTime>2026-10-28T12:12:32.1848479+08:00</d2p1:PrintTime>
<d2p1:QrCode>sample string 4</d2p1:QrCode>
<d2p1:TicketID>sample string 2</d2p1:TicketID>
<d2p1:TicketSourceID>sample string 3</d2p1:TicketSourceID>
</d2p1:PrintDto>
<d2p1:PrintDto>
<d2p1:AreaName>sample string 6</d2p1:AreaName>
<d2p1:ChannelNumber>sample string 7</d2p1:ChannelNumber>
<d2p1:ID>1</d2p1:ID>
<d2p1:PrintTime>2026-10-28T12:12:32.1848479+08:00</d2p1:PrintTime>
<d2p1:QrCode>sample string 4</d2p1:QrCode>
<d2p1:TicketID>sample string 2</d2p1:TicketID>
<d2p1:TicketSourceID>sample string 3</d2p1:TicketSourceID>
</d2p1:PrintDto>
</Data>
</ResultDtoOfArrayOfPrintDto_SR_SkLznh>