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": "1ed1d825-aced-45fc-a6f1-360147332045",
"clubcardId": "b68777b9-7b42-4f85-9946-9da33872f08f",
"paymentType": 1,
"objectId": "867c0225-9bf9-4b66-b533-5c2d44e8d9d4"
}
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>b68777b9-7b42-4f85-9946-9da33872f08f</clubcardId> <objectId>867c0225-9bf9-4b66-b533-5c2d44e8d9d4</objectId> <paymentType>MovieTicket</paymentType> <sessionId>1ed1d825-aced-45fc-a6f1-360147332045</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": "2a7cf005-955b-4bce-a781-394f4f5a46a4",
"paymentId": "3f023c0b-45e4-4dc2-b13c-f2aea9297d33",
"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>2a7cf005-955b-4bce-a781-394f4f5a46a4</objectId>
<paymentId>3f023c0b-45e4-4dc2-b13c-f2aea9297d33</paymentId>
<result>
<code>OK</code>
<message>sample string 1</message>
</result>
</PayByClubcardResponse>