POST api/accountingsystem/createofficeaccount

Create an office account for the accounting system Processes this accounting system API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The office account data contract supplied with the request.

OfficeAccountDataContract
NameDescriptionTypeAdditional information
Name

The name value.

string

None.

AccountNumber

The account number value.

string

None.

SortCode

The sort code value.

string

None.

IBAN

The iban value.

string

None.

BIC

The bic value.

string

None.

CountryCode

The country code value.

string

None.

IsPrimary

Indicates whether this item is primary.

boolean

None.

Id

The unique identifier of this resource.

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "AccountNumber": "sample string 2",
  "SortCode": "sample string 3",
  "IBAN": "sample string 4",
  "BIC": "sample string 5",
  "CountryCode": "sample string 6",
  "IsPrimary": true,
  "Id": 8
}

Response Information

Resource Description

The response returned after the operation completes.

OfficeAccountDataContract
NameDescriptionTypeAdditional information
Name

The name value.

string

None.

AccountNumber

The account number value.

string

None.

SortCode

The sort code value.

string

None.

IBAN

The iban value.

string

None.

BIC

The bic value.

string

None.

CountryCode

The country code value.

string

None.

IsPrimary

Indicates whether this item is primary.

boolean

None.

Id

The unique identifier of this resource.

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "AccountNumber": "sample string 2",
  "SortCode": "sample string 3",
  "IBAN": "sample string 4",
  "BIC": "sample string 5",
  "CountryCode": "sample string 6",
  "IsPrimary": true,
  "Id": 8
}