POST api/cards/RequestCard

Request Information

URI Parameters

None.

Body Parameters

RequestCardBySmsBindingModel
NameDescriptionTypeAdditional information
PackageID

integer

None.

CardTypeID

integer

None.

LangID

integer

None.

FCMToken

string

None.

OwnerName

string

None.

OwnerID

string

None.

NID

string

None.

DocumentType

integer

None.

AcceptAgrement

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PackageID": 1,
  "CardTypeID": 2,
  "LangID": 3,
  "FCMToken": "sample string 4",
  "OwnerName": "sample string 5",
  "OwnerID": "sample string 6",
  "NID": "sample string 7",
  "DocumentType": 8,
  "AcceptAgrement": true
}

text/xml

Sample:
<RequestCardBySmsBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCashAPI.Models">
  <AcceptAgrement>true</AcceptAgrement>
  <CardTypeID>2</CardTypeID>
  <DocumentType>8</DocumentType>
  <FCMToken>sample string 4</FCMToken>
  <LangID>3</LangID>
  <NID>sample string 7</NID>
  <OwnerID>sample string 6</OwnerID>
  <OwnerName>sample string 5</OwnerName>
  <PackageID>1</PackageID>
</RequestCardBySmsBindingModel>

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 'RequestCardBySmsBindingModel'.

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.