POST 1.0/internal/azure/{siteprefix}/{siteid}?includesiteid={includesiteid}

Description

Creates the Azure storage resources for the passed customer (Resource group, Storage Account and Fileshare) if sql settings are passed it will also update the Estate Agents SystemConfiguration table with the Azure settings

URI Parameters

Name Description Type Additional information
sitePrefix

Customer's Site Prefix

string

Required

siteID

Customer's Site ID

integer

Required

includeSiteId

boolean

Default value is False

SQL settings for an extsting SQL server,

Name Description Type Additional information
Name

string

None.

UserName

string

None.

Password

string

None.

ResellerID

integer

None.

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "userName": "sample string 2",
  "password": "sample string 3",
  "resellerID": 4
}

application/xml, text/xml

Sample:
<AzureSqlServer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>sample string 1</Name>
  <UserName>sample string 2</UserName>
  <Password>sample string 3</Password>
  <ResellerID>4</ResellerID>
</AzureSqlServer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
Success

boolean

None.

application/json, text/json

Sample:
{
  "success": true
}

application/xml, text/xml

Sample:
<SuccessStatus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Success>true</Success>
</SuccessStatus>