GET api/Setting/TicketType/PrintTemplate/AllInfo/ById/{templateid}
(跨平台方法)查询指定的票型打印模板所有信息,以简单类型返回。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
templateid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
(跨平台方法)查询指定的票型打印模板所有信息,以简单类型返回。
CommonOperationResultWithTagOfTicketTypePrintTemplateItemName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | TicketTypePrintTemplateItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "TemplateId": "sample string 1", "TemplateName": "sample string 2", "DoublePage": "sample string 3", "FrontBackground": "QEA=", "BackBackGround": "QEA=", "IsCard": true, "OffsetX": 5, "OffsetY": 6, "RotationAngle": 7, "Details": [ { "TemplateId": "sample string 1", "AutoId": 2, "ContentType": "sample string 3", "Format": "sample string 4", "OffsetX": 5, "OffsetY": 6, "Width": 7, "Height": 8, "FontName": "sample string 9", "FontSize": 1, "WriteContent": "sample string 10", "RotationAngle": 1, "IsBlod": true, "IsTilt": true }, { "TemplateId": "sample string 1", "AutoId": 2, "ContentType": "sample string 3", "Format": "sample string 4", "OffsetX": 5, "OffsetY": 6, "Width": 7, "Height": 8, "FontName": "sample string 9", "FontSize": 1, "WriteContent": "sample string 10", "RotationAngle": 1, "IsBlod": true, "IsTilt": true } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfTicketTypePrintTemplateItemlTRO8TLE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <d2p1:BackBackGround>QEA=</d2p1:BackBackGround> <d2p1:Details> <d2p1:TicketTypePrintTemplateDetailItem> <d2p1:AutoId>2</d2p1:AutoId> <d2p1:ContentType>sample string 3</d2p1:ContentType> <d2p1:FontName>sample string 9</d2p1:FontName> <d2p1:FontSize>1</d2p1:FontSize> <d2p1:Format>sample string 4</d2p1:Format> <d2p1:Height>8</d2p1:Height> <d2p1:IsBlod>true</d2p1:IsBlod> <d2p1:IsTilt>true</d2p1:IsTilt> <d2p1:OffsetX>5</d2p1:OffsetX> <d2p1:OffsetY>6</d2p1:OffsetY> <d2p1:RotationAngle>1</d2p1:RotationAngle> <d2p1:TemplateId>sample string 1</d2p1:TemplateId> <d2p1:Width>7</d2p1:Width> <d2p1:WriteContent>sample string 10</d2p1:WriteContent> </d2p1:TicketTypePrintTemplateDetailItem> <d2p1:TicketTypePrintTemplateDetailItem> <d2p1:AutoId>2</d2p1:AutoId> <d2p1:ContentType>sample string 3</d2p1:ContentType> <d2p1:FontName>sample string 9</d2p1:FontName> <d2p1:FontSize>1</d2p1:FontSize> <d2p1:Format>sample string 4</d2p1:Format> <d2p1:Height>8</d2p1:Height> <d2p1:IsBlod>true</d2p1:IsBlod> <d2p1:IsTilt>true</d2p1:IsTilt> <d2p1:OffsetX>5</d2p1:OffsetX> <d2p1:OffsetY>6</d2p1:OffsetY> <d2p1:RotationAngle>1</d2p1:RotationAngle> <d2p1:TemplateId>sample string 1</d2p1:TemplateId> <d2p1:Width>7</d2p1:Width> <d2p1:WriteContent>sample string 10</d2p1:WriteContent> </d2p1:TicketTypePrintTemplateDetailItem> </d2p1:Details> <d2p1:DoublePage>sample string 3</d2p1:DoublePage> <d2p1:FrontBackground>QEA=</d2p1:FrontBackground> <d2p1:IsCard>true</d2p1:IsCard> <d2p1:OffsetX>5</d2p1:OffsetX> <d2p1:OffsetY>6</d2p1:OffsetY> <d2p1:RotationAngle>7</d2p1:RotationAngle> <d2p1:TemplateId>sample string 1</d2p1:TemplateId> <d2p1:TemplateName>sample string 2</d2p1:TemplateName> </tag> </CommonOperationResultWithTagOfTicketTypePrintTemplateItemlTRO8TLE>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.