POST api/BankInfo/SaveBankInfo

Request Information

URI Parameters

None.

Body Parameters

BankInfo
NameDescriptionTypeAdditional information
TenantId

integer

None.

InsertSQL

string

None.

DeleteSQL

string

None.

SelectSQL

string

None.

EditSQL

string

None.

Title

string

None.

Name

string

None.

BSB

string

None.

BankName

string

None.

AccountName

string

None.

AccountNumber

string

None.

Branch

string

None.

Currency

string

None.

Note

string

None.

DailyLimit

decimal number

None.

Active

boolean

None.

Balance

decimal number

None.

ErrorMessage

string

None.

LimitLeft

decimal number

None.

CustormerId

integer

None.

BeneficiaryAddress

Address

None.

AddressString

string

None.

Created

date

None.

CreatedBy

integer

None.

CreatedComboId

string

None.

EntityInsertSQL

string

None.

EntityEditSQL

string

None.

EntitySelectionSQL

string

None.

Guid

globally unique identifier

None.

Id

integer

None.

SelectLastTransaction

string

None.

IsDirty

boolean

None.

Loaded

boolean

None.

Modified

date

None.

ModifiedBy

integer

None.

ModifiedComboId

string

None.

Deleted

boolean

None.

Action

EntityAction

None.

Message

string

None.

Error

ServiceError

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "Name": "BankInfo",
  "BSB": "sample string 2",
  "BankName": "sample string 3",
  "AccountName": "sample string 4",
  "AccountNumber": "sample string 5",
  "Branch": "sample string 6",
  "Currency": "sample string 7",
  "Note": "sample string 8",
  "DailyLimit": 9.1,
  "Active": true,
  "Balance": 11.1,
  "ErrorMessage": "sample string 12",
  "LimitLeft": 13.1,
  "CustormerId": 14,
  "BeneficiaryAddress": {
    "$id": "2",
    "Name": "Address",
    "Building": "sample string 1",
    "Street": "sample string 2",
    "City": "sample string 3",
    "Region": "sample string 4",
    "PostCode": "sample string 5",
    "Country": "sample string 6",
    "FullAddress": "sample string 7",
    "CustormerId": 9,
    "Created": "2020-11-25T10:18:13.6384277+00:00",
    "CreatedBy": 11,
    "CreatedComboId": "sample string 12",
    "Guid": "1e8951c4-cbd0-458f-90f0-65ebc1b69c31",
    "Id": 14,
    "IsDirty": true,
    "Loaded": true,
    "Modified": "2020-11-25T10:18:13.6384277+00:00",
    "ModifiedBy": 18,
    "ModifiedComboId": "sample string 19",
    "TenantId": 20,
    "Deleted": true,
    "Action": 0,
    "Message": "sample string 22",
    "Error": {
      "$id": "3",
      "Message": "sample string 1",
      "ECode": 2,
      "Source": "sample string 3",
      "DateTime": "2020-11-25T10:18:13.6384277+00:00",
      "Operator": 5,
      "TenantId": 6
    }
  },
  "AddressString": "sample string 15",
  "Created": "2020-11-25T10:18:13.6384277+00:00",
  "CreatedBy": 17,
  "CreatedComboId": "sample string 18",
  "Guid": "78e66016-bce6-45e3-b816-692e513618ff",
  "Id": 20,
  "IsDirty": true,
  "Loaded": true,
  "Modified": "2020-11-25T10:18:13.6384277+00:00",
  "ModifiedBy": 24,
  "ModifiedComboId": "sample string 25",
  "Deleted": true,
  "Action": 0,
  "Message": "sample string 27",
  "Error": {
    "$ref": "3"
  }
}

application/xml, text/xml

Sample:
<BankInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/IMBK.Common.Data">
  <Action xmlns="http://IMBK/query/2.0">None</Action>
  <Created xmlns="http://IMBK/query/2.0">2020-11-25T10:18:13.6384277+00:00</Created>
  <CreatedBy xmlns="http://IMBK/query/2.0">17</CreatedBy>
  <CreatedComboId xmlns="http://IMBK/query/2.0">sample string 18</CreatedComboId>
  <Deleted xmlns="http://IMBK/query/2.0">true</Deleted>
  <Error z:Id="i2" xmlns="http://IMBK/query/2.0">
    <DateTime>2020-11-25T10:18:13.6384277+00:00</DateTime>
    <ECode>2</ECode>
    <Message>sample string 1</Message>
    <Operator>5</Operator>
    <Source>sample string 3</Source>
    <TenantId>6</TenantId>
  </Error>
  <Guid xmlns="http://IMBK/query/2.0">78e66016-bce6-45e3-b816-692e513618ff</Guid>
  <Id xmlns="http://IMBK/query/2.0">20</Id>
  <IsDirty xmlns="http://IMBK/query/2.0">true</IsDirty>
  <Message xmlns="http://IMBK/query/2.0">sample string 27</Message>
  <Modified xmlns="http://IMBK/query/2.0">2020-11-25T10:18:13.6384277+00:00</Modified>
  <ModifiedBy xmlns="http://IMBK/query/2.0">24</ModifiedBy>
  <ModifiedComboId xmlns="http://IMBK/query/2.0">sample string 25</ModifiedComboId>
  <Name xmlns="http://IMBK/query/2.0">BankInfo</Name>
  <TenantId xmlns="http://IMBK/query/2.0">1</TenantId>
  <AccountName>sample string 4</AccountName>
  <AccountNumber>sample string 5</AccountNumber>
  <Active>true</Active>
  <BSB>sample string 2</BSB>
  <Balance>11.1</Balance>
  <BankName>sample string 3</BankName>
  <BeneficiaryAddress xmlns:d2p1="http://IMBK/query/2.0" z:Id="i3">
    <d2p1:Action>None</d2p1:Action>
    <d2p1:Created>2020-11-25T10:18:13.6384277+00:00</d2p1:Created>
    <d2p1:CreatedBy>11</d2p1:CreatedBy>
    <d2p1:CreatedComboId>sample string 12</d2p1:CreatedComboId>
    <d2p1:Deleted>true</d2p1:Deleted>
    <d2p1:Error z:Ref="i2" />
    <d2p1:Guid>1e8951c4-cbd0-458f-90f0-65ebc1b69c31</d2p1:Guid>
    <d2p1:Id>14</d2p1:Id>
    <d2p1:IsDirty>true</d2p1:IsDirty>
    <d2p1:Message>sample string 22</d2p1:Message>
    <d2p1:Modified>2020-11-25T10:18:13.6384277+00:00</d2p1:Modified>
    <d2p1:ModifiedBy>18</d2p1:ModifiedBy>
    <d2p1:ModifiedComboId>sample string 19</d2p1:ModifiedComboId>
    <d2p1:Name>Address</d2p1:Name>
    <d2p1:TenantId>20</d2p1:TenantId>
    <d2p1:Building>sample string 1</d2p1:Building>
    <d2p1:City>sample string 3</d2p1:City>
    <d2p1:Country>sample string 6</d2p1:Country>
    <d2p1:CustormerId>9</d2p1:CustormerId>
    <d2p1:FullAddress>sample string 7</d2p1:FullAddress>
    <d2p1:PostCode>sample string 5</d2p1:PostCode>
    <d2p1:Region>sample string 4</d2p1:Region>
    <d2p1:Street>sample string 2</d2p1:Street>
  </BeneficiaryAddress>
  <Branch>sample string 6</Branch>
  <Currency>sample string 7</Currency>
  <CustormerId>14</CustormerId>
  <DailyLimit>9.1</DailyLimit>
  <ErrorMessage>sample string 12</ErrorMessage>
  <LimitLeft>13.1</LimitLeft>
  <Note>sample string 8</Note>
</BankInfo>

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

Response Information

Resource Description

Collection of BankInfo
NameDescriptionTypeAdditional information
TenantId

integer

None.

InsertSQL

string

None.

DeleteSQL

string

None.

SelectSQL

string

None.

EditSQL

string

None.

Title

string

None.

Name

string

None.

BSB

string

None.

BankName

string

None.

AccountName

string

None.

AccountNumber

string

None.

Branch

string

None.

Currency

string

None.

Note

string

None.

DailyLimit

decimal number

None.

Active

boolean

None.

Balance

decimal number

None.

ErrorMessage

string

None.

LimitLeft

decimal number

None.

CustormerId

integer

None.

BeneficiaryAddress

Address

None.

AddressString

string

None.

Created

date

None.

CreatedBy

integer

None.

CreatedComboId

string

None.

EntityInsertSQL

string

None.

EntityEditSQL

string

None.

EntitySelectionSQL

string

None.

Guid

globally unique identifier

None.

Id

integer

None.

SelectLastTransaction

string

None.

IsDirty

boolean

None.

Loaded

boolean

None.

Modified

date

None.

ModifiedBy

integer

None.

ModifiedComboId

string

None.

Deleted

boolean

None.

Action

EntityAction

None.

Message

string

None.

Error

ServiceError

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "TenantId": 1,
    "Name": "BankInfo",
    "BSB": "sample string 2",
    "BankName": "sample string 3",
    "AccountName": "sample string 4",
    "AccountNumber": "sample string 5",
    "Branch": "sample string 6",
    "Currency": "sample string 7",
    "Note": "sample string 8",
    "DailyLimit": 9.1,
    "Active": true,
    "Balance": 11.1,
    "ErrorMessage": "sample string 12",
    "LimitLeft": 13.1,
    "CustormerId": 14,
    "BeneficiaryAddress": {
      "$id": "2",
      "Name": "Address",
      "Building": "sample string 1",
      "Street": "sample string 2",
      "City": "sample string 3",
      "Region": "sample string 4",
      "PostCode": "sample string 5",
      "Country": "sample string 6",
      "FullAddress": "sample string 7",
      "CustormerId": 9,
      "Created": "2020-11-25T10:18:13.6414223+00:00",
      "CreatedBy": 11,
      "CreatedComboId": "sample string 12",
      "Guid": "ae64d617-5a5d-4c3b-b24a-1507801d697b",
      "Id": 14,
      "IsDirty": true,
      "Loaded": true,
      "Modified": "2020-11-25T10:18:13.6414223+00:00",
      "ModifiedBy": 18,
      "ModifiedComboId": "sample string 19",
      "TenantId": 20,
      "Deleted": true,
      "Action": 0,
      "Message": "sample string 22",
      "Error": {
        "$id": "3",
        "Message": "sample string 1",
        "ECode": 2,
        "Source": "sample string 3",
        "DateTime": "2020-11-25T10:18:13.6414223+00:00",
        "Operator": 5,
        "TenantId": 6
      }
    },
    "AddressString": "sample string 15",
    "Created": "2020-11-25T10:18:13.6414223+00:00",
    "CreatedBy": 17,
    "CreatedComboId": "sample string 18",
    "Guid": "35a11ff8-ba71-4bb0-8344-8e5da2dcc3b3",
    "Id": 20,
    "IsDirty": true,
    "Loaded": true,
    "Modified": "2020-11-25T10:18:13.6414223+00:00",
    "ModifiedBy": 24,
    "ModifiedComboId": "sample string 25",
    "Deleted": true,
    "Action": 0,
    "Message": "sample string 27",
    "Error": {
      "$ref": "3"
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBankInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBK.Common.Data">
  <BankInfo z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <Action xmlns="http://IMBK/query/2.0">None</Action>
    <Created xmlns="http://IMBK/query/2.0">2020-11-25T10:18:13.6414223+00:00</Created>
    <CreatedBy xmlns="http://IMBK/query/2.0">17</CreatedBy>
    <CreatedComboId xmlns="http://IMBK/query/2.0">sample string 18</CreatedComboId>
    <Deleted xmlns="http://IMBK/query/2.0">true</Deleted>
    <Error z:Id="i2" xmlns="http://IMBK/query/2.0">
      <DateTime>2020-11-25T10:18:13.6414223+00:00</DateTime>
      <ECode>2</ECode>
      <Message>sample string 1</Message>
      <Operator>5</Operator>
      <Source>sample string 3</Source>
      <TenantId>6</TenantId>
    </Error>
    <Guid xmlns="http://IMBK/query/2.0">35a11ff8-ba71-4bb0-8344-8e5da2dcc3b3</Guid>
    <Id xmlns="http://IMBK/query/2.0">20</Id>
    <IsDirty xmlns="http://IMBK/query/2.0">true</IsDirty>
    <Message xmlns="http://IMBK/query/2.0">sample string 27</Message>
    <Modified xmlns="http://IMBK/query/2.0">2020-11-25T10:18:13.6414223+00:00</Modified>
    <ModifiedBy xmlns="http://IMBK/query/2.0">24</ModifiedBy>
    <ModifiedComboId xmlns="http://IMBK/query/2.0">sample string 25</ModifiedComboId>
    <Name xmlns="http://IMBK/query/2.0">BankInfo</Name>
    <TenantId xmlns="http://IMBK/query/2.0">1</TenantId>
    <AccountName>sample string 4</AccountName>
    <AccountNumber>sample string 5</AccountNumber>
    <Active>true</Active>
    <BSB>sample string 2</BSB>
    <Balance>11.1</Balance>
    <BankName>sample string 3</BankName>
    <BeneficiaryAddress xmlns:d3p1="http://IMBK/query/2.0" z:Id="i3">
      <d3p1:Action>None</d3p1:Action>
      <d3p1:Created>2020-11-25T10:18:13.6414223+00:00</d3p1:Created>
      <d3p1:CreatedBy>11</d3p1:CreatedBy>
      <d3p1:CreatedComboId>sample string 12</d3p1:CreatedComboId>
      <d3p1:Deleted>true</d3p1:Deleted>
      <d3p1:Error z:Ref="i2" />
      <d3p1:Guid>ae64d617-5a5d-4c3b-b24a-1507801d697b</d3p1:Guid>
      <d3p1:Id>14</d3p1:Id>
      <d3p1:IsDirty>true</d3p1:IsDirty>
      <d3p1:Message>sample string 22</d3p1:Message>
      <d3p1:Modified>2020-11-25T10:18:13.6414223+00:00</d3p1:Modified>
      <d3p1:ModifiedBy>18</d3p1:ModifiedBy>
      <d3p1:ModifiedComboId>sample string 19</d3p1:ModifiedComboId>
      <d3p1:Name>Address</d3p1:Name>
      <d3p1:TenantId>20</d3p1:TenantId>
      <d3p1:Building>sample string 1</d3p1:Building>
      <d3p1:City>sample string 3</d3p1:City>
      <d3p1:Country>sample string 6</d3p1:Country>
      <d3p1:CustormerId>9</d3p1:CustormerId>
      <d3p1:FullAddress>sample string 7</d3p1:FullAddress>
      <d3p1:PostCode>sample string 5</d3p1:PostCode>
      <d3p1:Region>sample string 4</d3p1:Region>
      <d3p1:Street>sample string 2</d3p1:Street>
    </BeneficiaryAddress>
    <Branch>sample string 6</Branch>
    <Currency>sample string 7</Currency>
    <CustormerId>14</CustormerId>
    <DailyLimit>9.1</DailyLimit>
    <ErrorMessage>sample string 12</ErrorMessage>
    <LimitLeft>13.1</LimitLeft>
    <Note>sample string 8</Note>
  </BankInfo>
  <BankInfo z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfBankInfo>