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": "f1731ecd-3c87-4807-aa32-be8fde343819",
"clubcardId": "0cff4724-6fbb-4ebd-91fc-d2fdd8514e21",
"paymentType": 1,
"objectId": "0cb4a72f-44ab-402b-8733-e8985246ec8f"
}
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>0cff4724-6fbb-4ebd-91fc-d2fdd8514e21</clubcardId> <objectId>0cb4a72f-44ab-402b-8733-e8985246ec8f</objectId> <paymentType>MovieTicket</paymentType> <sessionId>f1731ecd-3c87-4807-aa32-be8fde343819</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": "d7019dc4-2e93-45b9-affd-f012ee1c7b51",
"paymentId": "4681fae2-ce78-4af6-bf33-1438d718a65e",
"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>d7019dc4-2e93-45b9-affd-f012ee1c7b51</objectId>
<paymentId>4681fae2-ce78-4af6-bf33-1438d718a65e</paymentId>
<result>
<code>OK</code>
<message>sample string 1</message>
</result>
</PayByClubcardResponse>