POST api/{apiVersion}/MetropolCard/GetPreSaleInfo
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiVersion | string |
None. |
Body Parameters
MetropolCardPreSaleInfoRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | globally unique identifier |
None. |
|
Code | string |
None. |
|
CodeType | MetropolCardCodeType |
None. |
|
UserAccountRef | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": "3a2d38f5-697b-4fa1-91ac-368c95218dd0", "Code": "sample string 2", "CodeType": 1, "UserAccountRef": "sample string 3" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponseOfMetropolCardPreSaleInfoResponseName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
Message | string |
None. |
|
Response | MetropolCardPreSaleInfoResponse |
None. |
|
IsShowMessage | boolean |
None. |
|
IsShowRateAndReview | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 1, "Message": "sample string 2", "Response": { "TransactionId": 1, "SaleRefCode": "sample string 2", "MerchantNo": "sample string 3", "TerminalNo": "sample string 4", "MerchantName": "sample string 5", "BrandId": 6, "BrandName": "sample string 7", "CityName": "sample string 8", "DistrictName": "sample string 9", "RequestAmount": 10.0, "BatchNo": 11, "ProductId": 12, "ProductName": "sample string 13", "KDV": "sample string 14", "DiscountRatio": "sample string 15", "CurrencyId": "sample string 16", "SessionExpireDate": "sample string 17", "ResponseCode": 18, "ResponseMessage": "sample string 19", "CustomerId": "3ba323c4-258f-4382-8b73-e76f9deb644b", "MetropolCardOperationDetailId": "24f2de2c-4b87-46d7-a81d-66ed7538880f", "CalculateResult": [ { "Amount": 1.0, "AmountCurrency": "sample string 2", "CashBackAmount": 3.0, "Parity": 4.0 }, { "Amount": 1.0, "AmountCurrency": "sample string 2", "CashBackAmount": 3.0, "Parity": 4.0 } ] }, "IsShowMessage": true, "IsShowRateAndReview": true }