POST api/AbacusTest/PostNewBank

Request Information

URI Parameters

None.

Body Parameters

Bank
NameDescriptionTypeAdditional information
BankName

string

None.

Address

Address

None.

Request Formats

application/json, text/json

Sample:
{
  "BankName": "sample string 1",
  "Address": {
    "AddressLine1": "sample string 1",
    "AddressLine2": "sample string 2",
    "AddressLine3": "sample string 3",
    "TownCity": "sample string 4",
    "County": "sample string 5",
    "PostalCode": "sample string 6",
    "CountryId": 7
  }
}

application/xml, text/xml

Sample:
<Bank xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abacus1._8_Api.Models">
  <Address>
    <AddressLine1>sample string 1</AddressLine1>
    <AddressLine2>sample string 2</AddressLine2>
    <AddressLine3>sample string 3</AddressLine3>
    <CountryId>7</CountryId>
    <County>sample string 5</County>
    <PostalCode>sample string 6</PostalCode>
    <TownCity>sample string 4</TownCity>
  </Address>
  <BankName>sample string 1</BankName>
</Bank>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.