Skip to content



This function inserts a new availability group.

Request Parameters#

Type Description
availabilitygroup_name String The name of availability group
availabilitygroup_tax_exempt Boolean Boolean value indicating if the new availability group is tax exempt

Response Parameters#

Type Description
success Number 1 indicating a successful request.
0 indicating an unsuccessful request.

Example Request#

    "Store_code": "beta",
    "Function": "AvailabilityGroup_Insert",
    "AvailabilityGroup_Name": "Availability Group 2",
    "AvailabilityGroup_Tax_Exempt": 1

Example Response#

    "success": 1

Error Responses#

Error Code Error Message Error Description
MER-JSN-00018 Invalid value for field AvailabilityGroup_Name Availability group name already exists