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": "4e8e79a7-d189-41c4-97ce-771bebb4d1ed",
"clubcardId": "c7e7a5d4-17a8-401c-8c09-63adb0ef4d41",
"paymentType": 1,
"objectId": "b655beca-bc5a-4736-a3ff-c8830183cb7f"
}
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>c7e7a5d4-17a8-401c-8c09-63adb0ef4d41</clubcardId> <objectId>b655beca-bc5a-4736-a3ff-c8830183cb7f</objectId> <paymentType>MovieTicket</paymentType> <sessionId>4e8e79a7-d189-41c4-97ce-771bebb4d1ed</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": "25c74ab9-dab7-47d9-81b7-1f50e26c7d88",
"paymentId": "38f8546a-98ec-4608-bf27-6b2059e4670a",
"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>25c74ab9-dab7-47d9-81b7-1f50e26c7d88</objectId>
<paymentId>38f8546a-98ec-4608-bf27-6b2059e4670a</paymentId>
<result>
<code>OK</code>
<message>sample string 1</message>
</result>
</PayByClubcardResponse>