Create

Create

Create

Adds an alternate installer to an account.

Request

Method
URL
POST

Path Parameters

Name
Required
Type
Description
accountUniqueId

Guid
The unique ID of the account.

Headers

Name
Required
Type
Description
APIKey

Guid
A valid API key with a scope of AccountLists

Body

Name
Required
Type
Description
alternateInstaller

Text
The name of the alternate installer. Maximum length is 32 characters and it cannot be empty.
active
Boolean
Indicates if the alternate installer is active or inactive. The default is active.
{
"alternateInstaller": "Acme Installation Co.",
"active": true
}

Remarks

alternateInstaller is required, cannot be empty, and cannot exceed 32 characters.
An alternate installer's name must be unique within an account. If an alternate installer with the same name already exists for the account, the request will fail with a 409 Conflict.
If active is omitted, the alternate installer is created as active.

Response

Headers

Location — the URL of the newly created alternate installer.

Status Code

Code
Description
201 Created
The alternate installer was created.
400 Bad Request
The alternate installer was not created. This occurs if alternateInstaller is missing, empty, or exceeds 32 characters.
401 Unauthorized
The API key is missing, invalid, disabled, or does not have the correct scope.
403 Forbidden
The API key does not belong to this account, the account does not have the API-keys feature, or the key does not have the required scope.
409 Conflict
An alternate installer with that name already exists for this account.

Body

Name
Type
Description
uniqueId
Guid
The unique ID of the alternate installer.
alternateInstaller
Text
The name of the alternate installer.
active
Boolean
Indicates if the alternate installer is active or inactive.