POST ticket/clubcard/payByClubcard/{appId}/{auth}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| appId | integer |
Required |
|
| auth | string |
Required |
Body Parameters
PayByClubcardRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| sessionId | globally unique identifier |
None. |
|
| clubcardId | globally unique identifier |
None. |
|
| paymentType | ClubcardPaymentType |
None. |
|
| objectId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"sessionId": "2b4b4a7c-aada-427e-aaf3-ad9462cda83c",
"clubcardId": "0904310f-d35c-48eb-a32f-7a0688608b2d",
"paymentType": 1,
"objectId": "86d0da3c-a14c-44b3-ba54-340ef4c4f8ed"
}
application/xml, text/xml
Sample:
<PayByClubcardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tiszamozi_API.Models"> <clubcardId>0904310f-d35c-48eb-a32f-7a0688608b2d</clubcardId> <objectId>86d0da3c-a14c-44b3-ba54-340ef4c4f8ed</objectId> <paymentType>MovieTicket</paymentType> <sessionId>2b4b4a7c-aada-427e-aaf3-ad9462cda83c</sessionId> </PayByClubcardRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PayByClubcardResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| result | ClubcardResult |
None. |
|
| itemType | integer |
None. |
|
| objectId | globally unique identifier |
None. |
|
| paymentId | globally unique identifier |
None. |
|
| downloadPage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": {
"code": 0,
"message": "sample string 1"
},
"itemType": 1,
"objectId": "81e894b1-8489-4fe0-b95a-1ed762f136ff",
"paymentId": "5fe1a9a1-068a-4c1d-a19c-586799064e0a",
"downloadPage": "sample string 4"
}
application/xml, text/xml
Sample:
<PayByClubcardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tiszamozi_API.Models">
<downloadPage>sample string 4</downloadPage>
<itemType>1</itemType>
<objectId>81e894b1-8489-4fe0-b95a-1ed762f136ff</objectId>
<paymentId>5fe1a9a1-068a-4c1d-a19c-586799064e0a</paymentId>
<result>
<code>OK</code>
<message>sample string 1</message>
</result>
</PayByClubcardResponse>