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": "88fbaca8-795b-4cdd-8b64-3c659218b6bb",
"clubcardId": "3890edea-6428-4f71-98ac-03d6f4c4271c",
"paymentType": 1,
"objectId": "ac8541e5-a588-4333-9d7e-8c83e97b2dab"
}
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>3890edea-6428-4f71-98ac-03d6f4c4271c</clubcardId> <objectId>ac8541e5-a588-4333-9d7e-8c83e97b2dab</objectId> <paymentType>MovieTicket</paymentType> <sessionId>88fbaca8-795b-4cdd-8b64-3c659218b6bb</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": "1904caf0-74b8-4c1e-a575-8f3bb9affd8f",
"paymentId": "38a60ab9-aada-47e0-9b06-c80d2d27d521",
"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>1904caf0-74b8-4c1e-a575-8f3bb9affd8f</objectId>
<paymentId>38a60ab9-aada-47e0-9b06-c80d2d27d521</paymentId>
<result>
<code>OK</code>
<message>sample string 1</message>
</result>
</PayByClubcardResponse>