Update some standard business details

Request

PUT https://apimy.yourpayroll.io/api/v2/business

Request body

The request body takes a complete MyEditBusinessDetailsApiModel resource, containing the following writable properties:

{
    "addressLine1": "string",
    "addressLine2": "string",
    "blockNumber": "string",
    "businessId": "int32",
    "contactEmailAddress": "string",
    "contactFaxNumber": "string",
    "contactName": "string",
    "contactPhoneNumber": "string",
    "countryId": "string",
    "crn": "string",
    "endOfWeek": "string",
    "externalId": "string",
    "formulaForCalculatingOrdinaryRateOfPay": "string",
    "isSmsNotificationEnabled": "boolean",
    "legalName": "string",
    "levelNumber": "string",
    "name": "string",
    "postcode": "string",
    "registrationNumberValidationBypassed": "boolean",
    "source": "string",
    "standardDaysPerWeek": "int32",
    "standardHoursPerDay": "double",
    "state": "string",
    "suburb": "string",
    "unitNumber": "string"
}

Properties

Name Type Description
addressLine1 string String
addressLine2 string String
blockNumber string String
businessId int32 Int32
contactEmailAddress string String
contactFaxNumber string String
contactName string String
contactPhoneNumber string String
countryId string String
crn string String
endOfWeek string DayOfWeek

Possible values are:

  • Sunday
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
externalId string String
formulaForCalculatingOrdinaryRateOfPay string FormulaForCalculatingOrdinaryRateOfPayEnum

Possible values are:

  • DividedBy26
  • ActualWorkingDays
  • AverageWorkingDays
isSmsNotificationEnabled boolean Boolean
legalName string String
levelNumber string String
name string String
postcode string String
registrationNumberValidationBypassed boolean Boolean
source string Nullable

Possible values are:

  • None
  • Saasu
  • Xero
  • MYOB
  • Deputy
  • EmployeeTimePunch
  • ClickSuper
  • IntegratedTimesheets
  • FileImport
  • FileExport
  • QuickBooks
  • Harmony
  • AwardStore
  • Attache
  • IntegratedRostering
  • ReckonAccounts
  • API
  • MicroPower
  • RosterLive
  • NetSuite
  • Kounta
  • TimeAndAttendanceKiosk
  • DetailedFileExport
  • JonasPremier
  • WageEasy
  • Maestrano
  • WorkZone
  • EmployeePortal
  • RosterTemplate
  • Onboarding
  • Admin
  • WorkZoneClockOnOff
  • NetSuiteOneWorld
  • Sage50
  • PensionSync
  • FinancialsOffice
  • ProntoXI
  • PayRunDefault
  • StandardWorkDay
  • Beam
  • PayRunAutomation
  • BureauDashboard
  • Wiise
  • QBOMigrationTool
  • AbridgedFileImport
  • QBOForcedMigration
  • HmrcDpsUpdate
  • HmrcDpsStudentLoan
  • HmrcDpsPostGradLoan
  • Sage50FileImporter
  • FPSFileImporter
  • OAuth
  • FreshBooks
  • StarFileImporter
  • ActiveCampaign
  • SummaryAndDetailsExport
  • Telleroo
  • EmployeeAdvancedHoursUpload
  • BusinessCentral
  • Paytron
  • AccessFinancials
  • Comma
  • Zoho
  • FlatFileEmployeeImporter
  • Twinfield
  • SageAccounting
  • Square
  • Quickfile
  • Tide
  • TideSso
  • FreeAgent
  • Akahu
  • InstaPay
  • Zepto
  • Slack
  • Caxton
  • QuickbooksStandalonePayroll
  • ImportEmployeeSelfSetup
  • XeroIdentityPayrollSignUp
  • XeroIdentityHrSignUp
  • SageIntacct
  • InstaPayDaily
  • Salesforce
  • AutomatedPublicHolidayNotWorked
  • EmployeePayRatesUpload
  • Zapier
  • StapledSuperFund
  • Swag
standardDaysPerWeek int32 Int32
standardHoursPerDay double Nullable
state string String
suburb string String
unitNumber string String

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK

MyBusinessExportModel