Sets the ATO details for the business.

Request

POST https://keypay.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 Description
abn string String
addressLine1 string String
addressLine2 string String
branch string String
contactName string String
country string String
faxNumber string String
id int32 Int32
name string String
phoneNumber string String
postCode string String
signatoryName string String
state string String
suburb string String

Response

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

Status code Description Resource
200 OK

OK