Edit a site

Edit an existing site.

Request

Security

Table 1. Roles capable of executing the Edit Site API method
Any Super User System Admin Security Admin Operator
  superUser systemAdmin    

HTTP method

POST /manager/api/{apiResponseType}/1.0/editSite.adm HTTP/1.1 Host:{manager.dsnet} id={siteId}&abbreviation={abbr}&description={description}

Curl method


curl -u {admin}:{password} 
     -k ”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editSite.adm“ 
     -d ”id={siteId}&abbreviation={abbr}&description={description}“

Parameters

Table 2. Request parameters for Edit Site (editSite) API method
Parameter Type Usage Default Description
id Long Required  

ID of the site that is being modified.

name String Optional  

Unique new name of site.

description String Optional  

Description of site.

abbreviation String Optional  

Abbreviation of site; must be fewer than 12 characters.

company String Optional  

Company field of site.

address String Optional  

Address of site.

phone String Optional  

Telephone number that is related to site.

latitude String Longitude  

Latitude of this site's location.

Longitude String Latitude  

Longitude of the site's location.

ldapServiceName String    

The site-specific code that maps to the site's name in Active Directory.

country String Optional   The 2-character ISO-3166 country code where this site is located