POST api/Patch?userId={userId}&cardId={cardId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

globally unique identifier

Required

cardId

globally unique identifier

Required

Body Parameters

OperationStatusOfListOfStatementDataItem
NameDescriptionTypeAdditional information
Result

Collection of StatementDataItem

None.

HasNoData

boolean

None.

ErrorMsg

string

None.

Succeeded

boolean

None.

AlreadyExists

boolean

None.

NotFound

boolean

None.

Error

Exception

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'TransactionDate' on 'Bankiom.Integrations.NEC.StatementDataItem'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'TransactionDate' on 'Bankiom.Integrations.NEC.StatementDataItem'.

application/xml, text/xml

Sample:
<OperationStatusOfArrayOfStatementDataItem9och9DqG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <AlreadyExists>true</AlreadyExists>
  <Error xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Error>
  <ErrorMsg>sample string 2</ErrorMsg>
  <HasNoData>true</HasNoData>
  <NotFound>true</NotFound>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bankiom.Integrations.NEC">
    <d2p1:StatementDataItem>
      <d2p1:ADDRESS>sample string 16</d2p1:ADDRESS>
      <d2p1:BILL_AMOUNT>sample string 8</d2p1:BILL_AMOUNT>
      <d2p1:BILL_CCY>sample string 9</d2p1:BILL_CCY>
      <d2p1:CITY>sample string 12</d2p1:CITY>
      <d2p1:COUNTRY>sample string 15</d2p1:COUNTRY>
      <d2p1:DATE>sample string 10</d2p1:DATE>
      <d2p1:MCC>sample string 11</d2p1:MCC>
      <d2p1:POSTAL_CODE>sample string 13</d2p1:POSTAL_CODE>
      <d2p1:STATE>sample string 14</d2p1:STATE>
      <d2p1:TXN_AMOUNT>sample string 4</d2p1:TXN_AMOUNT>
      <d2p1:TXN_CCY>sample string 6</d2p1:TXN_CCY>
      <d2p1:TXN_CURRENCY>sample string 17</d2p1:TXN_CURRENCY>
      <d2p1:TXN_DATE>sample string 1</d2p1:TXN_DATE>
      <d2p1:TXN_ID>sample string 2</d2p1:TXN_ID>
      <d2p1:TXN_MERCHANT>sample string 7</d2p1:TXN_MERCHANT>
      <d2p1:TXN_STATUS>sample string 5</d2p1:TXN_STATUS>
      <d2p1:TXN_TYPE>sample string 3</d2p1:TXN_TYPE>
      <d2p1:transactionType>Statement</d2p1:transactionType>
    </d2p1:StatementDataItem>
    <d2p1:StatementDataItem>
      <d2p1:ADDRESS>sample string 16</d2p1:ADDRESS>
      <d2p1:BILL_AMOUNT>sample string 8</d2p1:BILL_AMOUNT>
      <d2p1:BILL_CCY>sample string 9</d2p1:BILL_CCY>
      <d2p1:CITY>sample string 12</d2p1:CITY>
      <d2p1:COUNTRY>sample string 15</d2p1:COUNTRY>
      <d2p1:DATE>sample string 10</d2p1:DATE>
      <d2p1:MCC>sample string 11</d2p1:MCC>
      <d2p1:POSTAL_CODE>sample string 13</d2p1:POSTAL_CODE>
      <d2p1:STATE>sample string 14</d2p1:STATE>
      <d2p1:TXN_AMOUNT>sample string 4</d2p1:TXN_AMOUNT>
      <d2p1:TXN_CCY>sample string 6</d2p1:TXN_CCY>
      <d2p1:TXN_CURRENCY>sample string 17</d2p1:TXN_CURRENCY>
      <d2p1:TXN_DATE>sample string 1</d2p1:TXN_DATE>
      <d2p1:TXN_ID>sample string 2</d2p1:TXN_ID>
      <d2p1:TXN_MERCHANT>sample string 7</d2p1:TXN_MERCHANT>
      <d2p1:TXN_STATUS>sample string 5</d2p1:TXN_STATUS>
      <d2p1:TXN_TYPE>sample string 3</d2p1:TXN_TYPE>
      <d2p1:transactionType>Statement</d2p1:transactionType>
    </d2p1:StatementDataItem>
  </Result>
  <Succeeded>true</Succeeded>
</OperationStatusOfArrayOfStatementDataItem9och9DqG>

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 'OperationStatus`1'.

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>