POST api/cards/ConfirmCard

Request Information

URI Parameters

None.

Body Parameters

ConfirmNewCardBindingModel
NameDescriptionTypeAdditional information
RequestID

integer

None.

PinCode

string

None.

SenderConfirmationCode

integer

None.

FCMToken

string

None.

OwnerName

string

None.

OwnerID

string

None.

NID

string

None.

DocumentType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestID": 1,
  "PinCode": "sample string 2",
  "SenderConfirmationCode": 3,
  "FCMToken": "sample string 4",
  "OwnerName": "sample string 5",
  "OwnerID": "sample string 6",
  "NID": "sample string 7",
  "DocumentType": 8
}

text/xml

Sample:
<ConfirmNewCardBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCashAPI.Models">
  <DocumentType>8</DocumentType>
  <FCMToken>sample string 4</FCMToken>
  <NID>sample string 7</NID>
  <OwnerID>sample string 6</OwnerID>
  <OwnerName>sample string 5</OwnerName>
  <PinCode>sample string 2</PinCode>
  <RequestID>1</RequestID>
  <SenderConfirmationCode>3</SenderConfirmationCode>
</ConfirmNewCardBindingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ConfirmNewCardBindingModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.