PUT api/banks/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

BankUpsertRequest
NameDescriptionTypeAdditional information
Id

integer

None.

CountryId

integer

None.

BankKey

string

None.

IsActive

boolean

None.

DisplayOrder

integer

None.

Translations

Collection of BankTranslationUpsertRequest

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CountryId": 1,
  "BankKey": "sample string 2",
  "IsActive": true,
  "DisplayOrder": 4,
  "Translations": [
    {
      "Id": 1,
      "LanguageId": 1,
      "Name": "sample string 2",
      "DisplayOrder": 3
    },
    {
      "Id": 1,
      "LanguageId": 1,
      "Name": "sample string 2",
      "DisplayOrder": 3
    }
  ]
}

application/xml, text/xml

Sample:
<BankUpsertRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Static.Models">
  <BankKey>sample string 2</BankKey>
  <CountryId>1</CountryId>
  <DisplayOrder>4</DisplayOrder>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Translations>
    <BankTranslationUpsertRequest>
      <DisplayOrder>3</DisplayOrder>
      <Id>1</Id>
      <LanguageId>1</LanguageId>
      <Name>sample string 2</Name>
    </BankTranslationUpsertRequest>
    <BankTranslationUpsertRequest>
      <DisplayOrder>3</DisplayOrder>
      <Id>1</Id>
      <LanguageId>1</LanguageId>
      <Name>sample string 2</Name>
    </BankTranslationUpsertRequest>
  </Translations>
</BankUpsertRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.