POST api/Account

Request Information

URI Parameters

None.

Body Parameters

NECCallbackInfo
NameDescriptionTypeAdditional information
Alert_Reference

string

None.

Timestamp

string

None.

Type

string

None.

NecData

NecpData

None.

Data

string

None.

TransactionInfo

NecpTransactionInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "Alert_Reference": "sample string 1",
  "Timestamp": "sample string 2",
  "Type": "sample string 3",
  "NecData": {
    "Compliance_Response": {
      "Application_Id": "sample string 1",
      "Status": "sample string 2",
      "Reason": "sample string 3",
      "Status_Label": "sample string 4",
      "Reason_Label": "sample string 5",
      "Note": "sample string 6",
      "Customer_Id": "sample string 7",
      "Account_Id": "sample string 8"
    }
  },
  "Data": "sample string 4",
  "TransactionInfo": {
    "Transaction_Response": {
      "transactionId": 1,
      "PublicToken": 2,
      "transaction_type": "sample string 3",
      "transaction_status": "sample string 4",
      "MTID": "sample string 5",
      "mcc": "sample string 6",
      "mccDescription": "sample string 7",
      "merchantId": "sample string 8",
      "merchantName": "sample string 9",
      "merchantCountry": "sample string 10",
      "currency": "sample string 11",
      "amount": 12.1,
      "transactionCurrency": "sample string 13",
      "transactionAmount": 14.1,
      "authCode": "sample string 15",
      "transactionDate": "sample string 16",
      "posType": "sample string 17"
    }
  }
}

application/xml, text/xml

Sample:
<NECCallbackInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.Integrations.NEC">
  <Alert_Reference>sample string 1</Alert_Reference>
  <Data>sample string 4</Data>
  <NecData>
    <Compliance_Response>
      <Account_Id>sample string 8</Account_Id>
      <Application_Id>sample string 1</Application_Id>
      <Customer_Id>sample string 7</Customer_Id>
      <Note>sample string 6</Note>
      <Reason>sample string 3</Reason>
      <Reason_Label>sample string 5</Reason_Label>
      <Status>sample string 2</Status>
      <Status_Label>sample string 4</Status_Label>
    </Compliance_Response>
  </NecData>
  <Timestamp>sample string 2</Timestamp>
  <TransactionInfo>
    <Transaction_Response>
      <MTID>sample string 5</MTID>
      <PublicToken>2</PublicToken>
      <amount>12.1</amount>
      <authCode>sample string 15</authCode>
      <currency>sample string 11</currency>
      <mcc>sample string 6</mcc>
      <mccDescription>sample string 7</mccDescription>
      <merchantCountry>sample string 10</merchantCountry>
      <merchantId>sample string 8</merchantId>
      <merchantName>sample string 9</merchantName>
      <posType>sample string 17</posType>
      <transactionAmount>14.1</transactionAmount>
      <transactionCurrency>sample string 13</transactionCurrency>
      <transactionDate>sample string 16</transactionDate>
      <transactionId>1</transactionId>
      <transaction_status>sample string 4</transaction_status>
      <transaction_type>sample string 3</transaction_type>
    </Transaction_Response>
  </TransactionInfo>
  <Type>sample string 3</Type>
</NECCallbackInfo>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>