POST api/KYC/CheckIdCardExists

Request Information

URI Parameters

None.

Body Parameters

IDCardKYC
NameDescriptionTypeAdditional information
BankCardProcessID

globally unique identifier

None.

CPR

string

None.

CPRExpiry

string

None.

CPR_Front

string

None.

CPR_Rear

string

None.

KYC_ScanReference2

string

None.

CPRExpiry_Text

string

None.

REF_ID

string

None.

IDCard_Rear

string

None.

IDCard_Front

string

None.

ID_Place_Of_Issuance

string

None.

KYCType

integer

None.

BankBinSponsorID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BankCardProcessID": "1b83525c-ead0-436c-8fe9-d8ac5277c988",
  "CPR": "sample string 1",
  "CPRExpiry": "sample string 2",
  "CPR_Front": "sample string 3",
  "CPR_Rear": "sample string 4",
  "KYC_ScanReference2": "sample string 5",
  "CPRExpiry_Text": "sample string 6",
  "REF_ID": "sample string 7",
  "IDCard_Rear": "sample string 8",
  "IDCard_Front": "sample string 9",
  "ID_Place_Of_Issuance": "sample string 10",
  "KYCType": 11,
  "BankBinSponsorID": 12
}

application/xml, text/xml

Sample:
<IDCardKYC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <BankBinSponsorID>12</BankBinSponsorID>
  <BankCardProcessID>1b83525c-ead0-436c-8fe9-d8ac5277c988</BankCardProcessID>
  <CPR>sample string 1</CPR>
  <CPRExpiry>sample string 2</CPRExpiry>
  <CPRExpiry_Text>sample string 6</CPRExpiry_Text>
  <CPR_Front>sample string 3</CPR_Front>
  <CPR_Rear>sample string 4</CPR_Rear>
  <IDCard_Front>sample string 9</IDCard_Front>
  <IDCard_Rear>sample string 8</IDCard_Rear>
  <ID_Place_Of_Issuance>sample string 10</ID_Place_Of_Issuance>
  <KYCType>11</KYCType>
  <KYC_ScanReference2>sample string 5</KYC_ScanReference2>
  <REF_ID>sample string 7</REF_ID>
</IDCardKYC>

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

Response Information

Resource Description

ResponseViewModel
NameDescriptionTypeAdditional information
Status

boolean

None.

StatusCode

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "StatusCode": 2,
  "Message": "sample string 3",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <Data />
  <Message>sample string 3</Message>
  <Status>true</Status>
  <StatusCode>2</StatusCode>
</ResponseViewModel>