Sets the ATO details for the business.

Request

POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/ato

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

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

{
    "abn": "string",
    "addressLine1": "string",
    "addressLine2": "string",
    "branch": "string",
    "contactName": "string",
    "country": "string",
    "faxNumber": "string",
    "id": "int32",
    "name": "string",
    "phoneNumber": "string",
    "postCode": "string",
    "signatoryName": "string",
    "state": "string",
    "suburb": "string"
}

Properties

Name Type
abn string
addressLine1 string
addressLine2 string
branch string
contactName string
country string
faxNumber string
id int32
name string
phoneNumber string
postCode string
signatoryName string
state string
suburb string

Response

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

Status code Description Resource
200 OK

OK