Creates a new business.
POST https://api.yourpayroll.com.au/api/v2/business
Parameter name | Value | Description | Additional |
---|---|---|---|
setupDefaultData | boolean |
The request body takes a complete AuBusinessExportModel resource, containing the following writable properties:
{
"abn": "string",
"addressLine1": "string",
"addressLine2": "string",
"budgetEntryMethod": "string",
"budgetWarningPercent": "double",
"contactEmailAddress": "string",
"contactFaxNumber": "string",
"contactName": "string",
"contactPhoneNumber": "string",
"dateCreated": "date-time",
"endOfWeek": "string",
"externalId": "string",
"foreignEntityCountry": "string",
"id": "int32",
"industryName": "string",
"initialFinancialYearStart": "int32",
"isForeignEntity": "boolean",
"journalService": "string",
"leaveAccrualStartDateType": "string",
"leaveYearStart": "date-time",
"legalName": "string",
"managementSoftwareId": "string",
"managersCanEditRosterBudgets": "boolean",
"name": "string",
"numberOfEmployees": "string",
"payCycleFrequency": "string",
"postCode": "string",
"promoCode": "string",
"region": "string",
"source": "string",
"standardHoursPerDay": "double",
"state": "string",
"suburb": "string",
"whiteLabelId": "int32",
"whiteLabelName": "string"
}
Name | Type | Description |
---|---|---|
abn | string | String |
addressLine1 | string | String |
addressLine2 | string | String |
budgetEntryMethod | string |
BudgetEntryMethodEnum
Possible values are:
|
budgetWarningPercent | double |
Nullable |
contactEmailAddress | string | String |
contactFaxNumber | string | String |
contactName | string | String |
contactPhoneNumber | string | String |
dateCreated | date-time | DateTime |
endOfWeek | string |
DayOfWeek
Possible values are:
|
externalId | string | String |
foreignEntityCountry | string | String |
id | int32 | Int32 |
industryName | string | String |
initialFinancialYearStart | int32 |
Nullable |
isForeignEntity | boolean |
Nullable |
journalService | string | String |
leaveAccrualStartDateType | string |
LeaveAccrualStartDateType
Possible values are:
|
leaveYearStart | date-time |
Nullable |
legalName | string | String |
managementSoftwareId | string | String |
managersCanEditRosterBudgets | boolean |
Nullable |
name | string | String |
numberOfEmployees | string |
Nullable Possible values are:
|
payCycleFrequency | string |
Nullable Possible values are:
|
postCode | string | String |
promoCode | string | String |
region | string | String |
source | string |
Nullable Possible values are:
|
standardHoursPerDay | double | Decimal |
state | string | String |
suburb | string | String |
whiteLabelId | int32 |
Nullable |
whiteLabelName | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
AuBusinessExportModel |