Creates a business location.
POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/location
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required |
The request body takes a complete AuLocationModel resource, containing the following writable properties:
{
"country": "string",
"defaultShiftConditionIds": [
"int32"
],
"externalAccountingLocationId": "string",
"externalId": "string",
"fullyQualifiedName": "string",
"generalLedgerMappingCode": "string",
"id": "int32",
"isGlobal": "boolean",
"isRollupReportingLocation": "boolean",
"name": "string",
"parentId": "int32",
"source": "string",
"state": "string"
}
Name | Type | Description |
---|---|---|
country | string | String |
defaultShiftConditionIds[] | array of int32 | |
externalAccountingLocationId | string | String |
externalId | string | String |
fullyQualifiedName | string | String |
generalLedgerMappingCode | string | String |
id | int32 | Int32 |
isGlobal | boolean | Boolean |
isRollupReportingLocation | boolean | Boolean |
name | string | String |
parentId | int32 |
Nullable |
source | string | String |
state | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
AuLocationModel |
Powered by DapperDox