Update an existing journal account for the Business.
PUT https://api.nzpayroll.co.nz/api/v2/business/{businessId}/accounts/{id}
Parameter name | Value | Description | Additional |
---|---|---|---|
id | int32 | Required | |
businessId | string | Required |
The request body takes a complete JournalAccountModel resource, containing the following writable properties:
{
"accountCode": "string",
"accountName": "string",
"accountType": "string",
"externalReferenceId": "string",
"id": "int32"
}
Name | Type | Description |
---|---|---|
accountCode | string | String |
accountName | string | String |
accountType | string |
ExternalAccountType
Possible values are:
|
externalReferenceId | string | String |
id | int32 | Int32 |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
JournalAccountModel |
Powered by DapperDox