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": "67e384f0-cccf-4a54-bdd8-a173fbdb68fd",
"clubcardId": "8221ea55-bdbb-4971-b7b6-6f33860cafe3",
"paymentType": 1,
"objectId": "5278e4f5-78cb-49e0-88bd-1a6ae03bdcf1"
}
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>8221ea55-bdbb-4971-b7b6-6f33860cafe3</clubcardId> <objectId>5278e4f5-78cb-49e0-88bd-1a6ae03bdcf1</objectId> <paymentType>MovieTicket</paymentType> <sessionId>67e384f0-cccf-4a54-bdd8-a173fbdb68fd</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": "015a1ad1-ed1c-486b-8fc4-88be5c3334d2",
"paymentId": "39508ee0-bd83-43d1-ab57-09c5d4eec61a",
"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>015a1ad1-ed1c-486b-8fc4-88be5c3334d2</objectId>
<paymentId>39508ee0-bd83-43d1-ab57-09c5d4eec61a</paymentId>
<result>
<code>OK</code>
<message>sample string 1</message>
</result>
</PayByClubcardResponse>