Create new journal accounts for the Business. This will not replace any existing journal accounts.
POST https://apimy.yourpayroll.io/api/v2/business/{businessId}/accounts/bulk
Parameter name | Value | Description | Additional |
---|---|---|---|
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 |
JournalAccountBulkCreateModel |
Powered by DapperDox