POST api/Card/SweepCode

Request Information

URI Parameters

None.

Body Parameters

SweepCodeRequst
NameDescriptionTypeAdditional information
code

string

None.

CardNo

integer

None.

sessionId

string

None.

pCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "CardNo": 2,
  "sessionId": "sample string 3",
  "pCode": 4
}

application/xml, text/xml

Sample:
<SweepCodeRequst 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>2</CardNo>
  <code>sample string 1</code>
</SweepCodeRequst>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SweepCodeResponse
NameDescriptionTypeAdditional information
CardNo

string

None.

UserName

string

None.

UserImg

string

None.

Batch

integer

None.

ImgPath

string

None.

Video

string

None.

State

integer

None.

MastFollow

boolean

None.

statusCode

StatusCode

None.

isSuccessful

boolean

None.

message

string

None.

returnUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CardNo": "sample string 1",
  "UserName": "sample string 2",
  "UserImg": "sample string 3",
  "Batch": 4,
  "ImgPath": "sample string 5",
  "Video": "sample string 6",
  "State": 7,
  "MastFollow": true,
  "isSuccessful": true,
  "statusCode": 0,
  "message": "sample string 10",
  "returnUrl": "sample string 11"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.