POST api/{database}/SetIsPreferredBankCommand?bankId={bankId}&isPreferred={isPreferred}

Execute the SetIsPreferredBankCommand



Request Information

Parameters

NameDescriptionAdditional information
bankId The bankId.

Define this parameter in the request URI.

isPreferred The isPreferred.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "bankId": "sample string 1",
  "isPreferred": true,
  "result": true
}

application/xml, text/xml

Sample:
<SetIsPreferredBankCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Commands">
  <BankId>sample string 1</BankId>
  <IsPreferred>true</IsPreferred>
  <Result>true</Result>
</SetIsPreferredBankCommand>