POST api/{apiVersion}/UptionCard/CreateCard
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiVersion | string |
None. |
Body Parameters
CreateCardRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | globally unique identifier |
None. |
|
CardType | integer |
None. |
|
AccountId | globally unique identifier |
None. |
|
EmbossName | string |
None. |
|
CardFeeReceiveAccountId | globally unique identifier |
None. |
|
CourierAddress | string |
None. |
|
CardAddress | CardAdress |
None. |
|
WithdrawalPermit | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": "a91810ee-2dac-4c52-94b2-9cce4f59c549", "CardType": 2, "AccountId": "aef51417-0fc4-4c38-976b-d1c4f8328002", "EmbossName": "sample string 4", "CardFeeReceiveAccountId": "8398f5df-e7c1-4ea9-adc6-f18cbb62f9f7", "CourierAddress": "sample string 6", "CardAddress": { "KpsCityId": "f2825d42-41e5-4f45-a7e1-7ba91f35c8d0", "KpsCountyId": "5e27783f-7184-4f01-9b7f-231d128d200c", "KpsQuarterId": "84e43502-6fcf-4279-8765-8f50c442c14b", "KpsStreet": "sample string 4", "KpsBuildNo": "sample string 5", "KpsDoorNo": "sample string 6", "KpsAddress": "sample string 7" }, "WithdrawalPermit": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponseOfUptionCardCreateCardResponseName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
Message | string |
None. |
|
Response | UptionCardCreateCardResponse |
None. |
|
IsShowMessage | boolean |
None. |
|
IsShowRateAndReview | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 1, "Message": "sample string 2", "Response": { "CardNo": "sample string 1", "result": { "cardNo": "sample string 1", "hceResponse": "sample string 2" }, "message": "sample string 2", "version": "sample string 3", "statusCode": "sample string 4", "correlationId": "sample string 5", "exception": { "level": 1, "code": "sample string 2", "message": "sample string 3", "details": {}, "validationErrors": {} } }, "IsShowMessage": true, "IsShowRateAndReview": true }