POST api/Card/CardLog
Request Information
URI Parameters
None.
Body Parameters
CardLogRequst| Name | Description | Type | Additional information |
|---|---|---|---|
| CardNo | integer |
None. |
|
| LogType | integer |
None. |
|
| sessionId | string |
None. |
|
| pCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardNo": 1,
"LogType": 2,
"sessionId": "sample string 3",
"pCode": 4
}
application/xml, text/xml
Sample:
<CardLogRequst 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">4</pCode> <sessionId xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">sample string 3</sessionId> <CardNo>1</CardNo> <LogType>2</LogType> </CardLogRequst>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CardLogResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of CardLog |
None. |
|
| statusCode | StatusCode |
None. |
|
| isSuccessful | boolean |
None. |
|
| message | string |
None. |
|
| returnUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"OrderNo": "sample string 1",
"Amount": 2.0,
"LogType": 3,
"LogTime": "sample string 4",
"CardNo": "sample string 5"
},
{
"OrderNo": "sample string 1",
"Amount": 2.0,
"LogType": 3,
"LogTime": "sample string 4",
"CardNo": "sample string 5"
}
],
"isSuccessful": true,
"statusCode": 0,
"message": "sample string 2",
"returnUrl": "sample string 3"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.