Updates a BankAccount.
Name | Description | Additional information |
---|---|---|
request | The BankAccountdetails to be updated |
Define this parameter in the request body. |
{ "BankAccountId": 1, "EmployeeId": 2, "AccountName": "sample string 3", "AccountNumber": "sample string 4", "AccountType": 5, "SortCode": "sample string 6", "Reference": "sample string 7", "CurrencyId": 8, "CurrencyName": "sample string 9", "CountryId": 10, "Archived": true, "Outcome": "sample string 12", "Iban": "sample string 13", "SwiftCode": "sample string 14" }
<BankAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Types"> <AccountName>sample string 3</AccountName> <AccountNumber>sample string 4</AccountNumber> <AccountType>5</AccountType> <Archived>true</Archived> <BankAccountId>1</BankAccountId> <CountryId>10</CountryId> <CurrencyId>8</CurrencyId> <CurrencyName>sample string 9</CurrencyName> <EmployeeId>2</EmployeeId> <Iban>sample string 13</Iban> <Outcome>sample string 12</Outcome> <Reference>sample string 7</Reference> <SortCode>sample string 6</SortCode> <SwiftCode>sample string 14</SwiftCode> </BankAccount>
Sample not available.
{ "Item": { "BankAccountId": 1, "EmployeeId": 2, "AccountName": "sample string 3", "AccountNumber": "sample string 4", "AccountType": 5, "SortCode": "sample string 6", "Reference": "sample string 7", "CurrencyId": 8, "CurrencyName": "sample string 9", "CountryId": 10, "Archived": true, "Outcome": "sample string 12", "Iban": "sample string 13", "SwiftCode": "sample string 14" }, "ResponseInformation": { "Errors": [ { "ErrorCode": "sample string 1", "Message": "sample string 2" }, { "ErrorCode": "sample string 1", "Message": "sample string 2" }, { "ErrorCode": "sample string 1", "Message": "sample string 2" } ], "Status": 0, "Links": [ { "Rel": "sample string 1", "Href": "sample string 2", "Title": "sample string 3", "IsTemplated": true }, { "Rel": "sample string 1", "Href": "sample string 2", "Title": "sample string 3", "IsTemplated": true }, { "Rel": "sample string 1", "Href": "sample string 2", "Title": "sample string 3", "IsTemplated": true } ] } }
<BankAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Responses"> <ResponseInformation xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Common"> <Errors> <ApiErrorDetail> <ErrorCode>sample string 1</ErrorCode> <Message>sample string 2</Message> </ApiErrorDetail> <ApiErrorDetail> <ErrorCode>sample string 1</ErrorCode> <Message>sample string 2</Message> </ApiErrorDetail> <ApiErrorDetail> <ErrorCode>sample string 1</ErrorCode> <Message>sample string 2</Message> </ApiErrorDetail> </Errors> <Links> <Link> <Href>sample string 2</Href> <IsTemplated>true</IsTemplated> <Rel>sample string 1</Rel> <Title>sample string 3</Title> </Link> <Link> <Href>sample string 2</Href> <IsTemplated>true</IsTemplated> <Rel>sample string 1</Rel> <Title>sample string 3</Title> </Link> <Link> <Href>sample string 2</Href> <IsTemplated>true</IsTemplated> <Rel>sample string 1</Rel> <Title>sample string 3</Title> </Link> </Links> <Status>Failure</Status> </ResponseInformation> <Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Types" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Common"> <d2p1:AccountName>sample string 3</d2p1:AccountName> <d2p1:AccountNumber>sample string 4</d2p1:AccountNumber> <d2p1:AccountType>5</d2p1:AccountType> <d2p1:Archived>true</d2p1:Archived> <d2p1:BankAccountId>1</d2p1:BankAccountId> <d2p1:CountryId>10</d2p1:CountryId> <d2p1:CurrencyId>8</d2p1:CurrencyId> <d2p1:CurrencyName>sample string 9</d2p1:CurrencyName> <d2p1:EmployeeId>2</d2p1:EmployeeId> <d2p1:Iban>sample string 13</d2p1:Iban> <d2p1:Outcome>sample string 12</d2p1:Outcome> <d2p1:Reference>sample string 7</d2p1:Reference> <d2p1:SortCode>sample string 6</d2p1:SortCode> <d2p1:SwiftCode>sample string 14</d2p1:SwiftCode> </Item> </BankAccountResponse>