Creates a new business.
POST https://apimy.yourpayroll.io/api/v2/business
Parameter name | Value | Description | Additional |
---|---|---|---|
setupDefaultData | boolean |
The request body takes a complete MyBusinessExportModel resource, containing the following writable properties:
{
"addressLine1": "string",
"addressLine2": "string",
"blockNumber": "string",
"budgetEntryMethod": "string",
"budgetWarningPercent": "double",
"contactEmailAddress": "string",
"contactFaxNumber": "string",
"contactName": "string",
"contactPhoneNumber": "string",
"countryId": "string",
"crn": "string",
"dateCreated": "date-time",
"endOfWeek": "string",
"externalId": "string",
"formulaForCalculatingOrdinaryRateOfPay": "string",
"id": "int32",
"industryName": "string",
"initialFinancialYearStart": "int32",
"journalService": "string",
"leaveAccrualStartDateType": "string",
"leaveAnniversarySetting": "string",
"leaveAnniversarySettingDate": "date-time",
"leaveYearStart": "date-time",
"legalName": "string",
"levelNumber": "string",
"managersCanEditRosterBudgets": "boolean",
"name": "string",
"numberOfEmployees": "string",
"payCycleFrequency": "string",
"postCode": "string",
"promoCode": "string",
"region": "string",
"registrationNumberValidationBypassed": "boolean",
"source": "string",
"standardDaysPerWeek": "int32",
"standardHoursPerDay": "double",
"state": "string",
"suburb": "string",
"unitNumber": "string",
"whiteLabelId": "int32",
"whiteLabelName": "string"
}
Name | Type | Description |
---|---|---|
addressLine1 | string | String |
addressLine2 | string | String |
blockNumber | string | String |
budgetEntryMethod | string |
BudgetEntryMethodEnum
Possible values are:
|
budgetWarningPercent | double |
Nullable |
contactEmailAddress | string | String |
contactFaxNumber | string | String |
contactName | string | String |
contactPhoneNumber | string | String |
countryId | string | String |
crn | string | String |
dateCreated | date-time | DateTime |
endOfWeek | string |
DayOfWeek
Possible values are:
|
externalId | string | String |
formulaForCalculatingOrdinaryRateOfPay | string |
FormulaForCalculatingOrdinaryRateOfPayEnum
Possible values are:
|
id | int32 | Int32 |
industryName | string | String |
initialFinancialYearStart | int32 |
Nullable |
journalService | string | String |
leaveAccrualStartDateType | string |
LeaveAccrualStartDateType
Possible values are:
|
leaveAnniversarySetting | string |
Nullable Possible values are:
|
leaveAnniversarySettingDate | date-time |
Nullable |
leaveYearStart | date-time |
Nullable |
legalName | string | String |
levelNumber | 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 |
registrationNumberValidationBypassed | boolean | Boolean |
source | string |
Nullable Possible values are:
|
standardDaysPerWeek | int32 | Int32 |
standardHoursPerDay | double | Decimal |
state | string | String |
suburb | string | String |
unitNumber | 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 |
MyBusinessExportModel |