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": "4c876205-4c3a-420a-b230-227107800a73",
"clubcardId": "81d0b24f-839e-4c5d-b2e4-35ba32d99ab5",
"paymentType": 1,
"objectId": "af52a33c-5132-48f5-9dd8-292ae9ca4095"
}
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>81d0b24f-839e-4c5d-b2e4-35ba32d99ab5</clubcardId> <objectId>af52a33c-5132-48f5-9dd8-292ae9ca4095</objectId> <paymentType>MovieTicket</paymentType> <sessionId>4c876205-4c3a-420a-b230-227107800a73</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": "ed649ce5-c7d2-40ad-b28d-1df3106b0dbd",
"paymentId": "d5de42c9-84dd-4e0f-9ac1-2549758d6c54",
"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>ed649ce5-c7d2-40ad-b28d-1df3106b0dbd</objectId>
<paymentId>d5de42c9-84dd-4e0f-9ac1-2549758d6c54</paymentId>
<result>
<code>OK</code>
<message>sample string 1</message>
</result>
</PayByClubcardResponse>