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": "fae05a7a-e8d2-4cef-900c-8a7a2383d23b",
"clubcardId": "df84e92f-af4d-41e5-a85a-9fcae47aef71",
"paymentType": 1,
"objectId": "3c09df0f-2a6b-4785-a159-82db86f45e3b"
}
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>df84e92f-af4d-41e5-a85a-9fcae47aef71</clubcardId> <objectId>3c09df0f-2a6b-4785-a159-82db86f45e3b</objectId> <paymentType>MovieTicket</paymentType> <sessionId>fae05a7a-e8d2-4cef-900c-8a7a2383d23b</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": "adb6aa37-05ff-45b3-8c09-66cdf7baa8b4",
"paymentId": "8b88f136-2976-41e1-8627-01885082bea1",
"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>adb6aa37-05ff-45b3-8c09-66cdf7baa8b4</objectId>
<paymentId>8b88f136-2976-41e1-8627-01885082bea1</paymentId>
<result>
<code>OK</code>
<message>sample string 1</message>
</result>
</PayByClubcardResponse>