POST api/EnKash/AddCard

Request Information

URI Parameters

None.

Body Parameters

EnKashCardAddCard
NameDescriptionTypeAdditional information
Authorization

string

Required

cardAccountId

string

Required

companyId

string

Required

userId

string

Required

specialDate

string

Required

address

string

Required

address2

string

Required

city

string

Required

state

string

Required

country

string

Required

pincode

string

Required

documents

Collection of EnKashCardCarddocuments

None.

Request Formats

application/json, text/json

Sample:
{
  "Authorization": "sample string 1",
  "cardAccountId": "sample string 2",
  "companyId": "sample string 3",
  "userId": "sample string 4",
  "specialDate": "sample string 5",
  "address": "sample string 6",
  "address2": "sample string 7",
  "city": "sample string 8",
  "state": "sample string 9",
  "country": "sample string 10",
  "pincode": "sample string 11",
  "documents": [
    {
      "docType": "sample string 1",
      "docNo": "sample string 2",
      "docExpDate": "sample string 3"
    },
    {
      "docType": "sample string 1",
      "docNo": "sample string 2",
      "docExpDate": "sample string 3"
    }
  ]
}

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

Response Information

Resource Description

EnkashMessage
NameDescriptionTypeAdditional information
response_code

integer

None.

response_message

string

None.

payload

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "response_code": 1,
  "response_message": "sample string 2",
  "payload": {}
}