POST api/Card/CheckMerge
Request Information
URI Parameters
None.
Body Parameters
CheckMergeRequst| Name | Description | Type | Additional information |
|---|---|---|---|
| CardNo | integer |
None. |
|
| sessionId | string |
None. |
|
| pCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardNo": 1,
"sessionId": "sample string 2",
"pCode": 3
}
application/xml, text/xml
Sample:
<CheckMergeRequst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model.Requst"> <pCode xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">3</pCode> <sessionId xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">sample string 2</sessionId> <CardNo>1</CardNo> </CheckMergeRequst>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CheckMergeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of CheckMergeItem |
None. |
|
| CanMerge | boolean |
None. |
|
| RuleItem | Collection of integer |
None. |
|
| statusCode | StatusCode |
None. |
|
| isSuccessful | boolean |
None. |
|
| message | string |
None. |
|
| returnUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"CardNo": "sample string 1",
"Name": "sample string 2",
"ImgPath": "sample string 3",
"Balance": 4.0,
"RuleType": 5
},
{
"CardNo": "sample string 1",
"Name": "sample string 2",
"ImgPath": "sample string 3",
"Balance": 4.0,
"RuleType": 5
}
],
"CanMerge": true,
"RuleItem": [
1,
2
],
"isSuccessful": true,
"statusCode": 0,
"message": "sample string 3",
"returnUrl": "sample string 4"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.