POST api/PAN/SavePAN

Request Information

URI Parameters

None.

Body Parameters

PAN
NameDescriptionTypeAdditional information
PANNumber

string

None.

DateOfBirth

string

None.

Request Formats

application/json, text/json

Sample:
{
  "panNumber": "sample string 1",
  "dateOfBirth": "sample string 2"
}

application/xml, text/xml

Sample:
<PAN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountOpening.Data">
  <DateOfBirth>sample string 2</DateOfBirth>
  <PANNumber>sample string 1</PANNumber>
</PAN>

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

Response Information

Resource Description

PANResponse
NameDescriptionTypeAdditional information
ApplicationNumber

string

None.

PANNumber

string

None.

DateOfBirth

string

None.

MessageCode

string

None.

MessageTex

string

None.

Response Formats

application/json, text/json

Sample:
{
  "applicationNumber": "sample string 1",
  "panNumber": "sample string 2",
  "dateOfBirth": "sample string 3",
  "messageCode": "sample string 4",
  "messageTex": "sample string 5"
}

application/xml, text/xml

Sample:
<PANResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountOpening.Data">
  <ApplicationNumber>sample string 1</ApplicationNumber>
  <DateOfBirth>sample string 3</DateOfBirth>
  <MessageCode>sample string 4</MessageCode>
  <MessageTex>sample string 5</MessageTex>
  <PANNumber>sample string 2</PANNumber>
</PANResponse>