[Index]
Model ref.: relation/HcsSiteREL
The full URL would include the host-proxy name: https://[host-proxy].
Variables are enclosed in square brackets.
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"name": {
"is_password": false,
"title": "Site Name",
"minLength": 1,
"required": true,
"readonly": false,
"maxLength": 64,
"pattern": "^[\\w\\ -]+$",
"items": {
"is_password": false
},
"type": "string"
},
"SiteID": {
"is_password": false,
"title": "Site ID",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"Description": {
"is_password": false,
"title": "Description",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"ndlr": {
"is_password": false,
"format": "uri",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"title": "Network Device List Reference",
"type": "string",
"target": "/api/data/NetworkDeviceList/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_model_type": "data/NetworkDeviceList",
"choices": []
},
"Address1": {
"is_password": false,
"title": "Address 1",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"Address2": {
"is_password": false,
"title": "Address 2",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"Address3": {
"is_password": false,
"title": "Address 3",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"City": {
"is_password": false,
"title": "City",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"State": {
"is_password": false,
"title": "State",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"PostalCode": {
"is_password": false,
"title": "Postal Code",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"ExtendedName": {
"is_password": false,
"title": "Extended Name",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"ExternalID": {
"is_password": false,
"title": "External ID",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"InternalSiteID": {
"is_password": false,
"title": "Internal ID",
"default": "\"Auto-generated value\"",
"items": {
"is_password": false
},
"required": false,
"readonly": false,
"type": "string"
},
"Country": {
"is_password": false,
"format": "uri",
"items": {
"is_password": false
},
"required": false,
"target_attr": "country_name",
"readonly": false,
"title": "Country",
"type": "string",
"target": "/api/data/Countries/choices/?field=country_name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_model_type": "data/Countries",
"choices": []
},
"CUCDM8xLocID": {
"required": false,
"type": "string",
"description": "Location ID as used in CUCDM 8.x DialPlan",
"title": "CUCDM 8.x Location ID"
},
"CUCDM8xRID": {
"required": false,
"type": "string",
"description": "Routing Identifier(RID) value as used in CUCDM 8.x DialPlan",
"title": "CUCDM 8.x Routing Identifier(RID)"
},
"custom_string_1": {
"type": "string",
"title": "custom_string_1"
},
"custom_string_2": {
"type": "string",
"title": "custom_string_2"
},
"custom_string_3": {
"type": "string",
"title": "custom_string_3"
},
"custom_string_4": {
"type": "string",
"title": "custom_string_4"
},
"custom_string_5": {
"type": "string",
"title": "custom_string_5"
},
"custom_string_6": {
"type": "string",
"title": "custom_string_6"
},
"custom_string_7": {
"type": "string",
"title": "custom_string_7"
},
"custom_string_8": {
"type": "string",
"title": "custom_string_8"
},
"custom_string_9": {
"type": "string",
"title": "custom_string_9"
},
"custom_string_10": {
"type": "string",
"title": "custom_string_10"
},
"custom_boolean_1": {
"type": "boolean",
"title": "custom_boolean_1"
},
"custom_boolean_2": {
"type": "boolean",
"title": "custom_boolean_2"
},
"custom_boolean_3": {
"type": "boolean",
"title": "custom_boolean_3"
},
"custom_boolean_4": {
"type": "boolean",
"title": "custom_boolean_4"
},
"custom_boolean_5": {
"type": "boolean",
"title": "custom_boolean_5"
},
"custom_boolean_6": {
"type": "boolean",
"title": "custom_boolean_6"
},
"custom_boolean_7": {
"type": "boolean",
"title": "custom_boolean_7"
},
"custom_boolean_8": {
"type": "boolean",
"title": "custom_boolean_8"
},
"custom_boolean_9": {
"type": "boolean",
"title": "custom_boolean_9"
},
"custom_boolean_10": {
"type": "boolean",
"title": "custom_boolean_10"
},
"hcsSite": {
"title": "Hcs Site",
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 1024,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"shortName": {
"title": "Short Name",
"type": "string",
"maxLength": 128,
"required": true,
"readonly": false,
"is_password": false,
"displayable": false
},
"description": {
"title": "Description",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"isDefaultLocation": {
"title": "Is Default Location",
"type": "boolean",
"required": false,
"readonly": false,
"is_password": false,
"displayable": false,
"default": false
},
"extendedName": {
"title": "Extended Name",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"externalID": {
"title": "External ID",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"siteLocationCode": {
"title": "Site Location Code",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"streetAddress1": {
"title": "Street Address1",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"streetAddress2": {
"title": "Street Address2",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"streetAddress3": {
"title": "Street Address3",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"city": {
"title": "City",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"state": {
"title": "State",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"country": {
"title": "Country",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"postalCode": {
"title": "Postal Code",
"type": "string",
"maxLength": 128,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"customer": {
"title": "Customer",
"type": "string",
"maxLength": 1024,
"format": "uri",
"required": true,
"readonly": false,
"is_password": false,
"displayable": false,
"target": "/api/data/HCSHcmfCustomerDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_model_type": "data/HCSHcmfCustomerDAT",
"choices": []
},
"bkCustomer_shortName": {
"title": "Bk Customer Short Name",
"type": "string",
"maxLength": 1024,
"format": "uri",
"required": false,
"readonly": false,
"is_password": false,
"displayable": false,
"target": "/api/data/HCSHcmfCustomerDAT/choices/?field=shortName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_attr": "shortName",
"target_model_type": "data/HCSHcmfCustomerDAT",
"choices": []
}
}
},
"siteNdlr": {
"title": "Site Ndlr",
"type": "object",
"properties": {
"name": {
"is_password": false,
"title": "Name",
"required": true,
"displayable": false,
"readonly": false,
"maxLength": 1024,
"type": "string"
},
"reference": {
"is_password": false,
"format": "uri",
"required": false,
"displayable": false,
"readonly": false,
"maxLength": 1024,
"title": "Reference",
"type": "string",
"target": "/api/data/NetworkDeviceList/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_model_type": "data/NetworkDeviceList",
"choices": []
}
}
},
"data_user": {
"title": "Data User",
"type": "object",
"properties": {
"name": {
"is_password": false,
"title": "Name",
"minItems": 0,
"required": false,
"displayable": false,
"readonly": false,
"type": "string"
},
"password": {
"is_password": true,
"title": "Password",
"minItems": 0,
"required": false,
"displayable": false,
"readonly": false,
"type": "string"
}
}
},
"hcs_role": {
"title": "Hcs Role",
"type": "object",
"properties": {
"name": {
"is_password": false,
"title": "Name",
"minItems": 0,
"required": false,
"displayable": false,
"readonly": false,
"type": "string"
},
"clonedRole": {
"is_password": false,
"description": "The role selector.",
"title": "Role",
"minItems": 0,
"required": true,
"displayable": false,
"choices": [
{
"value": " ",
"title": " "
}
],
"readonly": false,
"type": "string"
},
"role": {
"is_password": false,
"description": "The role selector.",
"title": "Role",
"minItems": 0,
"required": true,
"displayable": false,
"choices": [
{
"value": " ",
"title": " "
}
],
"readonly": false,
"type": "string"
}
}
},
"dataUser": {
"title": "Data User",
"type": "object",
"properties": {
"username": {
"title": "User Name",
"description": "User's Username.",
"type": "string",
"required": true
},
"email": {
"title": "Email Address",
"description": "The User email address.",
"type": "string",
"required": false
},
"first_name": {
"title": "First Name",
"description": "The User first name.",
"type": "string"
},
"last_name": {
"title": "Last Name",
"description": "The User last name.",
"type": "string"
},
"password": {
"title": "Local Password",
"description": "The User password.",
"type": "string",
"is_password": true,
"pattern": ".{8,}",
"store_encrypted": true
},
"role": {
"title": "Role",
"description": "The role to which the user belongs. See: Role.",
"type": "string",
"format": "uri",
"required": true,
"target": "/api/data/Role/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_attr": "name",
"target_model_type": "data/Role",
"choices": []
},
"language": {
"title": "Language",
"description": "The preferred language for this user.",
"type": "string",
"format": "uri",
"required": false,
"target": "/api/data/Language/choices/?field=lcid&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_attr": "lcid",
"default": "en-us",
"target_model_type": "data/Language",
"choices": []
},
"set_language": {
"title": "Set by Default Language",
"description": "Indicate if the user's language is set by language default in the hierarchy.",
"type": "boolean",
"required": false,
"default": false
},
"account_information": {
"title": "Account Information",
"description": "Additional account information for the given user.",
"type": "object",
"required": false,
"properties": {
"change_password_on_login": {
"title": "Change Password on Next Login",
"description": "Indicates if the user must be forced to change their password the next time that login.",
"type": "boolean",
"required": false
},
"locked": {
"title": "Locked",
"description": "Indicates if the account has been locked to prevent the user from logging in.",
"type": "boolean",
"required": false
},
"disabled": {
"title": "Disabled",
"description": "Indicates if the account has been disabled to prevent the user from logging in until an administrator enables the account again.",
"type": "boolean",
"required": false
},
"reason_for_disabled": {
"title": "Reason for Disabled",
"description": "A description of why the account is disabled.",
"type": "string",
"required": false
},
"credential_policy": {
"title": "Credential Policy",
"description": "Specifies the policy with the rules used to govern this user's credentials.",
"type": "string",
"format": "uri",
"required": false,
"target": "/api/data/CredentialPolicy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_attr": "name",
"target_model_type": "data/CredentialPolicy",
"choices": []
},
"failed_login_lock_date": {
"title": "Time Locked Due to Failed Login Attempts",
"description": "The time when the user account was locked as result of the number of failed login attempts exceeding the permitted thresholds.",
"type": "string",
"format": "date-time",
"required": false
},
"password_last_change_time": {
"title": "Time of Last Password Change",
"description": "The time when the password was last changed.",
"type": "string",
"format": "date-time",
"required": false,
"readonly": true
},
"password_last_change_time_by_user": {
"title": "Time of Last Password Change By User",
"description": "The time when the password was last changed by the user.",
"type": "string",
"format": "date-time",
"required": false,
"readonly": true
},
"last_login_time": {
"title": "Time of Last Successful Login",
"description": "The time the user last logged in successfully.",
"type": "string",
"format": "date-time",
"required": false,
"readonly": true
},
"account_last_enabled": {
"title": "Account Last Enabled",
"description": "Indicates when last the account had been re-enabled after being disabled due to inactivity.",
"type": "string",
"format": "date-time",
"required": false
},
"num_of_failed_login_attempts": {
"title": "Number of Failed Login Attempts Since Last Successful Login",
"description": "The total number of failed login attempts since last successful login.",
"type": "integer",
"required": false,
"default": "0"
},
"security_questions": {
"title": "Security Questions",
"type": "array",
"items": {
"type": "object",
"properties": {
"question": {
"title": "Question",
"type": "string",
"maxLength": 128,
"required": true,
"displayable": true
},
"answer": {
"title": "Answer",
"type": "string",
"maxLength": 128,
"required": true
}
}
}
},
"used_passwords": {
"title": "Used Passwords",
"description": "List of passwords that have been used by user.",
"type": "array",
"items": {
"type": "object",
"properties": {
"password": {
"title": "Password",
"description": "Used password",
"type": "string"
},
"time_created": {
"title": "Time Created",
"description": "Time when password was created.",
"type": "string"
}
}
}
}
}
},
"entitlement_profile": {
"title": "Entitlement Profile",
"type": "string",
"maxLength": 1024,
"format": "uri",
"required": false,
"readonly": false,
"is_password": false,
"displayable": false,
"target": "/api/data/HcsEntitlementProfileDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_model_type": "data/HcsEntitlementProfileDAT",
"choices": []
},
"sync_source": {
"title": "Sync Source",
"description": "Sync source of the user. Identifies where the user was synced from. This value will determine the master of the data. The data in the User model will be derived from the fields of the master application (E.G. CUCM, CUC, MS-LDAP).",
"type": "string",
"format": "uri",
"target": "/api/data/UserSyncSource/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_attr": "name",
"default": "LOCAL",
"target_model_type": "data/UserSyncSource",
"choices": []
},
"sync_type": {
"title": "Sync Type",
"description": "Sync type of the user. Identifies the user type that was synced from device as indicated by Sync Source information, e.g. CUCM-Local, CUCM-LDAP, LOCAL.",
"type": "string",
"default": "LOCAL"
},
"building_name": {
"title": "Building Name",
"description": "Building name or number.",
"type": "string"
},
"country": {
"title": "Country",
"description": "Country name.",
"type": "string"
},
"department": {
"title": "Department",
"description": "Department names and numbers.",
"type": "string"
},
"directory_uri": {
"title": "Directory URI",
"description": "Alphanumeric Directory URI (e.g. SIP URI)",
"type": "string"
},
"display_name": {
"title": "Display Name",
"description": "Display name of the user",
"type": "string"
},
"employee_number": {
"title": "Employee Number",
"description": "Employee number of the user",
"type": "string"
},
"employee_type": {
"title": "Employee Type",
"description": "Employee type",
"type": "string"
},
"facsimile_telephone_number": {
"title": "Facsimile Telephone Number",
"description": "Contains strings that represent the user's facsimile telephone Number(s).",
"type": "array",
"items": {
"type": "string"
}
},
"home_phone": {
"title": "Home Phone",
"description": "Contains strings that represent the user's home phone number(s).",
"type": "array",
"items": {
"type": "string"
}
},
"ip_phone": {
"title": "IP Phone",
"description": "Contains strings that represent the user's IP phone number(s).",
"type": "array",
"items": {
"type": "string"
}
},
"jabber_id": {
"title": "Jabber ID",
"description": "Jabber ID",
"type": "string"
},
"city": {
"title": "City",
"description": "Contains the name of a person's locality.",
"type": "string"
},
"manager": {
"title": "Manager",
"description": "Manager.",
"type": "string"
},
"member_of": {
"title": "Member Of",
"description": "The user can be a member of a variety of groups.",
"type": "array",
"items": {
"type": "string"
}
},
"mobile": {
"title": "Mobile",
"description": "Contains strings that represent the user's IP mobile number(s).",
"type": "array",
"items": {
"type": "string"
}
},
"organization": {
"title": "Organization",
"description": "The name of the person's organization.",
"type": "string"
},
"object_class": {
"title": "Object Class",
"type": "array",
"minItems": 0,
"items": {
"type": "string",
"is_password": false
}
},
"other_mailbox": {
"title": "Other Mailbox",
"type": "array",
"minItems": 0,
"items": {
"type": "string",
"is_password": false
}
},
"ou": {
"title": "Organizational Unit",
"description": "The name of the person's organization unit.",
"type": "array",
"minItems": 0,
"items": {
"type": "string",
"is_password": false
}
},
"photo_url": {
"title": "Photo URL",
"description": "Photo URL.",
"type": "string"
},
"physical_delivery_office_name": {
"title": "Physical Delivery Office Name",
"description": "Physical Delivery Office Name.",
"type": "string"
},
"postal_code": {
"title": "Postal Code",
"description": "Contains code used by a Postal Service to identify postal service zones.",
"type": "string"
},
"preferred_language": {
"title": "Preferred Language",
"description": "Preferred Language.",
"type": "string"
},
"state": {
"title": "State",
"description": "Contains full names of state or province.",
"type": "string"
},
"street": {
"title": "Street",
"description": "Contains site information from a postal address.",
"type": "string"
},
"telephone_number": {
"title": "Telephone Number",
"description": "Telephone Number.",
"type": "array",
"items": {
"type": "string"
}
},
"timezone": {
"title": "Timezone",
"description": "Timezone.",
"type": "string"
},
"title": {
"title": "Title",
"description": "Title.",
"type": "string"
},
"unverified_mailbox": {
"title": "Unverified Mail Box",
"description": "Unverified Mail Box.",
"type": "string"
},
"customString1": {
"title": "Custom String 1",
"description": "Custom String",
"type": "string"
},
"customString2": {
"title": "Custom String 2",
"description": "Custom String",
"type": "string"
},
"customString3": {
"title": "Custom String 3",
"description": "Custom String",
"type": "string"
},
"customString4": {
"title": "Custom String 4",
"description": "Custom String",
"type": "string"
},
"customString5": {
"title": "Custom String 5",
"description": "Custom String",
"type": "string"
},
"customString6": {
"title": "Custom String 6",
"description": "Custom String",
"type": "string"
},
"customString7": {
"title": "Custom String 7",
"description": "Custom String",
"type": "string"
},
"customString8": {
"title": "Custom String 8",
"description": "Custom String",
"type": "string"
},
"customString9": {
"title": "Custom String 9",
"description": "Custom String",
"type": "string"
},
"customString10": {
"title": "Custom String 10",
"description": "Custom String",
"type": "string"
},
"customListOfStrings1": {
"title": "Custom List of Strings 1",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customListOfStrings2": {
"title": "Custom List of Strings 2",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customListOfStrings3": {
"title": "Custom List of Strings 3",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customListOfStrings4": {
"title": "Custom List of Strings 4",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customListOfStrings5": {
"title": "Custom List of Strings 5",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customListOfStrings6": {
"title": "Custom List of Strings 6",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customListOfStrings7": {
"title": "Custom List of Strings 7",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customListOfStrings8": {
"title": "Custom List of Strings 8",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customListOfStrings9": {
"title": "Custom List of Strings 9",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customListOfStrings10": {
"title": "Custom List of Strings 10",
"description": "Custom List of Strings",
"type": "array",
"items": {
"type": "string"
}
},
"customBoolean1": {
"title": "Custom Boolean 1",
"description": "Custom Boolean",
"type": "boolean"
},
"customBoolean2": {
"title": "Custom Boolean 2",
"description": "Custom Boolean",
"type": "boolean"
},
"customBoolean3": {
"title": "Custom Boolean 3",
"description": "Custom Boolean",
"type": "boolean"
},
"customBoolean4": {
"title": "Custom Boolean 4",
"description": "Custom Boolean",
"type": "boolean"
},
"customBoolean5": {
"title": "Custom Boolean 5",
"description": "Custom Boolean",
"type": "boolean"
},
"customBoolean6": {
"title": "Custom Boolean 6",
"description": "Custom Boolean",
"type": "boolean"
},
"customBoolean7": {
"title": "Custom Boolean 7",
"description": "Custom Boolean",
"type": "boolean"
},
"customBoolean8": {
"title": "Custom Boolean 8",
"description": "Custom Boolean",
"type": "boolean"
},
"customBoolean9": {
"title": "Custom Boolean 9",
"description": "Custom Boolean",
"type": "boolean"
},
"customBoolean10": {
"title": "Custom Boolean 10",
"description": "Custom Boolean",
"type": "boolean"
},
"auth_method": {
"title": "Auth Method",
"description": "The type of authentication that our user would be using. Typically this would be choices between a Standard VOSS 4 UC user, an LDAP user or an SSO user.",
"type": "string",
"default": "Local",
"choices": [
{
"value": "Local",
"title": "Local"
},
{
"value": "Automatic",
"title": "Automatic"
},
{
"value": "LDAP",
"title": "LDAP"
},
{
"value": "SSO",
"title": "SSO"
}
]
},
"ldap_server": {
"title": "LDAP Server",
"description": "A reference to the LDAP server which this user must authenticate against.",
"type": "string",
"format": "uri",
"required": false,
"target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_model_type": "data/Ldap",
"choices": []
},
"ldap_username": {
"title": "LDAP Username",
"description": "The login attribute of the associated LDAP device model instance",
"type": "string"
},
"sso_idp": {
"title": "SSO Identity Provider",
"description": "The entity id of the SSO Identity Provider.",
"type": "string",
"format": "uri",
"required": false,
"target": "/api/data/SsoIdentityProvider/choices/?field=entity_id&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_attr": "entity_id",
"target_model_type": "data/SsoIdentityProvider",
"choices": []
},
"sso_username": {
"title": "SSO Username",
"description": "The name identifier that is used for an SSO authenticated user.",
"type": "string",
"required": false
},
"user_type": {
"title": "User Type",
"description": "Indicate the user's login type.",
"type": "string",
"required": false,
"default": "Admin",
"choices": [
{
"value": "Admin",
"title": "Admin"
},
{
"value": "End User",
"title": "End User"
},
{
"value": "End User + Admin",
"title": "End User + Admin"
}
]
},
"exclude_from_directory": {
"title": "Exclude from Directory",
"description": "Exclude from Directory flag to control the Phone Services directory lookup. If set to true the User's phone number will not appear in the directory lookup.",
"type": "boolean"
},
"mvs_hybrid_status": {
"title": "Hybrid Status",
"type": "string",
"required": false
},
"mvs_primary_line": {
"title": "Primary Line",
"type": "string"
},
"mvs_primary_line_cos": {
"title": "Primary Class of Service",
"type": "string"
},
"mvs_extensions": {
"title": "Extensions",
"description": "Extensions to select primary details from.",
"type": "array",
"required": false,
"items": {
"type": "object",
"properties": {
"line": {
"title": "Line",
"type": "string"
},
"line_e164": {
"title": "Line E164",
"type": "string"
},
"line_cos": {
"title": "Class of Service",
"type": "string"
}
}
}
},
"username_avaya_system_manager": {
"title": "Avaya System Manager User Name",
"description": "The username corresponding to the the Username in Avaya System Manager.",
"type": "string",
"required": false
},
"username_broadworks": {
"title": "Broadworks User Name",
"description": "The username corresponding to the the Username in Broadworks.",
"type": "string",
"required": false
},
"username_cuc": {
"title": "Cisco Unity Connection User Name",
"description": "The username corresponding to the the Username in Cisco Unity Connection.",
"type": "string",
"required": false
},
"username_cucm": {
"title": "Cisco Unified Communication Manager User Name",
"description": "The username corresponding to the the Username in Cisco Unified Communication Manager.",
"type": "string",
"required": false
},
"username_hcmf": {
"title": "HCMF User Name",
"description": "The username corresponding to the the Username in Cisco HCMF.",
"type": "string",
"required": false
},
"username_ldap": {
"title": "LDAP Directory User Name",
"description": "The username corresponding to the the Username in the LDAP Directory.",
"type": "string",
"required": false
},
"username_microsoft": {
"title": "Microsoft User Name",
"description": "The username corresponding to the the Microsoft Username.",
"type": "string",
"required": false
},
"username_ms_365": {
"title": "Microsoft Office 365 User Name",
"description": "The username corresponding to the the Username in Microsoft Office 365.",
"type": "string",
"required": false
},
"username_ms_ldap": {
"title": "Microsoft LDAP User Name",
"description": "The username corresponding to the the Username in Microsoft LDAP.",
"type": "string",
"required": false
},
"username_ms_teams": {
"title": "Microsoft Teams User Name",
"description": "The username corresponding to the the Username in Microsoft Teams.",
"type": "string",
"required": false
},
"username_open_ldap": {
"title": "Open LDAP User Name",
"description": "The username corresponding to the the Username in Opoen LDAP.",
"type": "string",
"required": false
},
"username_uccx": {
"title": "Cisco Unified Contact Centre Express User Name",
"description": "The username corresponding to the the Username in Cisco Unified Contact Centre Express.",
"type": "string",
"required": false
},
"username_webex_teams": {
"title": "Webex App User Name",
"description": "The username corresponding to the the Username in Webex App.",
"type": "string",
"required": false
},
"username_zoom": {
"title": "Zoom User Name",
"description": "The username corresponding to the the Username in Zoom.",
"type": "string",
"required": false
},
"authorized_admin_hierarchy": {
"title": "Authorized Admin Hierarchy",
"description": "A reference an Authorized Admin Hierarchy instance that defines this user's administrative capabilities. This enables administrative capabilities for end users.",
"type": "string",
"format": "uri",
"required": false,
"target": "/api/data/AuthorizedAdminHierarchy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken],
"target_attr": "name",
"target_model_type": "data/AuthorizedAdminHierarchy",
"choices": []
},
"license_audit_details": {
"title": "License Audit Details",
"description": "License Audit Information.",
"type": "object",
"required": false,
"properties": {
"last_checked": {
"title": "Last Checked",
"description": "The last time the License Audit Details were updated.",
"type": "string",
"format": "date-time",
"required": false,
"readonly": true
},
"status": {
"title": "License Audit Status",
"description": "The License Audit status of the user.",
"type": "string",
"required": false,
"readonly": true,
"default": "Unknown",
"choices": [
{
"value": "Licensed",
"title": "Licensed"
},
{
"value": "Unlicensed",
"title": "Unlicensed"
},
{
"value": "Unknown",
"title": "Unknown"
}
]
}
}
}
}
},
"hcsSiteDAT": {
"title": "Hcs Site Dat",
"type": "object",
"properties": {
"name": {
"title": "Name",
"description": "Site's name",
"type": "string",
"maxLength": 1024,
"required": true,
"readonly": false,
"is_password": false,
"displayable": false,
"pattern": "^[A-Za-z0-9_\\- ]+$"
},
"create_admin": {
"title": "Create Local Admin",
"description": "Indicates whether or not an Admin User should be created",
"type": "boolean",
"required": false,
"readonly": false,
"is_password": false,
"displayable": false,
"default": "false"
},
"clone_admin_role": {
"title": "Clone Admin Role",
"description": "Indicates whether or not the Admin User Role should be cloned",
"type": "boolean",
"required": false,
"readonly": false,
"is_password": false,
"displayable": false,
"default": "false"
},
"push_cucm": {
"title": "Push Users to CUCM",
"description": "Indicates whether or not all of Users at Site level are pushed to CUCM",
"type": "boolean",
"required": false,
"readonly": false,
"is_password": false,
"displayable": false,
"default": "false"
},
"HierarchyPath": {
"title": "Hierarchy Path",
"description": "Site's entity's hierarchy",
"type": "string",
"maxLength": 1024,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
},
"migrate": {
"title": "Migrate from HCM-F to CUCDM",
"description": "Migrate HCM-F Models to CUCDM Models",
"type": "boolean",
"required": false,
"readonly": false,
"is_password": false,
"displayable": false,
"default": "false"
},
"misc_data": {
"title": "Misc Data",
"description": "Miscellaneous data used at run-time",
"type": "string",
"maxLength": 1024,
"required": false,
"readonly": false,
"is_password": false,
"displayable": false
}
}
}
},
"schema_version": "2.2"
}
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get the GUI Add form. | GET | /api/relation/HcsSiteREL/add/ |
|
The GUI Add form of relation/HcsSiteREL as JSON |
The API call to the /add/ URL can only be made from a hierarchy that allows the model type to be added. The actions in the response shows the url for the POST API call to create an instance.
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Create | POST | /api/relation/HcsSiteREL | hierarchy=[hierarchy] |
|
tool/Transaction/[trans pkid]to inspect the created resource and its instance pkid.
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Bulk delete [pkid1],[pkid2]... | DELETE | /api/relation/HcsSiteREL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/HcsSiteREL/[pkid1]", "/api/relation/HcsSiteREL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/HcsSiteREL/?hierarchy=[hierarchy]&format=json
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/HcsSiteREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/HcsSiteREL/export/ |
|
{ "hrefs":["/api/relation/HcsSiteREL/[pkid1]", "/api/relation/HcsSiteREL/[pkid2]",...]}} |
For export_format=json, the response is a time stamped zip file of data in JSON as in the system database. Item properties such as strings that are empty or Boolean values that are not set, are not included. The filename in the response is of the format as the example:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip
Content-Language:en
Content-Type:application/x-zip
For export_format=raw_xlsx, the response is a MS Excel spreadsheet with columns corresponding to the JSON format export and a response filename format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx
Content-Language:en
Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, arranged by any Field Display Policies that apply. The columns correspond with those of a Bulk Load Template export sheet. The response filename format is:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx
Content-Language:en
Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
The XLSX format can be used to bulk load instances of relation/HcsSiteREL and the JSON format can be used to import instances of relation/HcsSiteREL.
GET http://[host-proxy]/api/relation/HcsSiteREL/?hierarchy=[hierarchy]
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get a compressed format of the Bulk Load spreadsheet template for relation/HcsSiteREL | POST | /api/relation/HcsSiteREL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| List | GET | /api/relation/HcsSiteREL/ |
|
The relation/HcsSiteREL schema and all instances as JSON. |
(The list will return 0 to 3 relation/HcsSiteREL instances)
{
"pagination": {
"skip": 0,
"limit": 3,
"maximum_limit": 2000,
"total": 73,
"total_limit": null,
"order_by": "name",
"direction": "asc",
"current": "/api/relation/HcsSiteREL/?skip=0&limit=3&order_by=name&direction=asc&traversal=down"
},
"operations": [
"configuration_template",
"export_bulkload_template",
"bulk_update",
"add",
"update",
"help",
"remove",
"list",
"export",
"get",
"field_display_policy"
],
"meta": {
"model_type": "relation/HcsSiteREL",
"summary_attrs": [
{
"name": "name",
"title": "Site Name"
},
{
"name": "Description",
"title": "Description"
},
{
"name": "SiteID",
"title": "Site ID"
},
{
"name": "InternalSiteID",
"title": "Internal ID"
},
{
"name": "ExternalID",
"title": "External ID"
},
{
"name": "City",
"title": "City"
},
{
"name": "State",
"title": "State"
},
{
"name": "Country",
"title": "Country"
},
{
"name": "ndlr",
"title": "Network Device List Reference"
},
{
"name": "Address1",
"title": "Address 1"
},
{
"name": "Address2",
"title": "Address 2"
},
{
"name": "Address3",
"title": "Address 3"
},
{
"name": "PostalCode",
"title": "Postal Code"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "",
"business_key": {},
"api_version": "21.2",
"cached": true,
"references": {
"children": [],
"parent": [
{
"href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101",
"pkid": "6t0ggef2c0deab00hb595101"
}
],
"device": [
{
"href": "",
"pkid": ""
}
],
"foreign_key": [],
"self": [
{
"href": "/api/relation/HcsSiteREL/None/",
"pkid": null
}
]
},
"model_specific_actions": [
"export_bulkload_template",
"add",
"update",
"help",
"remove",
"list",
"export",
"get"
],
"schema_version": "2.2",
"actions": [
{
"add": {
"method": "GET",
"class": "add",
"href": "/api/relation/HcsSiteREL/add/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Add"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/relation/HcsSiteREL/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Delete"
}
},
{
"export": {
"method": "POST",
"class": "export",
"href": "/api/relation/HcsSiteREL/export/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Export",
"view": "/api/view/ExportData/add/?auth_token=[authtoken],
"submit": "payload"
}
},
{
"export_bulkload_template": {
"method": "POST",
"class": "bulkload_template",
"href": "/api/relation/HcsSiteREL/export_bulkload_template/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Export Bulk Load Template"
}
},
{
"list": {
"method": "GET",
"class": "list",
"href": "/api/relation/HcsSiteREL/?hierarchy=[hierarchy]",
"support_async": false,
"title": "List"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/relation/HcsSiteREL/help?hierarchy=[hierarchy]",
"support_async": false,
"title": "Help"
}
}
]
},
"resources": [
{
"data": {
"name": "AAA-Boston",
"Description": "AAA Boston",
"ndlr": "[\"AAAGlobal-CL1-NDL\", \"hcs.CS-P.CS-NB.AAAGlobal\"]",
"Address1": "2001 Lake Shore Drive",
"City": "Boston",
"State": "MA",
"PostalCode": "65765",
"ExtendedName": "AAA Boston Office",
"ExternalID": "AAA-BN",
"InternalSiteID": "5",
"Country": "United States of America",
"custom_string_1": "",
"custom_string_2": "",
"custom_string_3": "",
"custom_string_4": "",
"custom_string_5": "",
"custom_string_6": "",
"custom_string_7": "",
"custom_string_8": "",
"custom_string_9": "",
"custom_string_10": "",
"hierarchy_friendly_name": "AAA-Boston (Site)",
"hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.AAA-Boston"
},
"meta": {
"model_type": "relation/HcsSiteREL",
"summary_attrs": [
{
"name": "name",
"title": "Site Name"
},
{
"name": "Description",
"title": "Description"
},
{
"name": "SiteID",
"title": "Site ID"
},
{
"name": "InternalSiteID",
"title": "Internal ID"
},
{
"name": "ExternalID",
"title": "External ID"
},
{
"name": "City",
"title": "City"
},
{
"name": "State",
"title": "State"
},
{
"name": "Country",
"title": "Country"
},
{
"name": "ndlr",
"title": "Network Device List Reference"
},
{
"name": "Address1",
"title": "Address 1"
},
{
"name": "Address2",
"title": "Address 2"
},
{
"name": "Address3",
"title": "Address 3"
},
{
"name": "PostalCode",
"title": "Postal Code"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "AAA-Boston",
"business_key": {
"hierarchy": true,
"unique": [
"name"
]
},
"api_version": "21.2",
"cached": true,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"pkid": "5a86743967ea6f2039933bc1",
"href": "/api/data/HierarchyNode/5a86743967ea6f2039933bc1"
}
],
"foreign_key": [],
"self": [
{
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/",
"pkid": "5a867441b12a1c20228c0f97"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5a7c462e1360b64cc8bf16e5",
"5a866fd11360b6206c488deb",
"5a86702067ea6f203993285d",
"5a8673030085ec1f7f30e906",
"5a86743967ea6f2039933bc1",
"5a867441b12a1c20228c0f97"
],
"schema_version": null,
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/",
"support_async": true,
"title": "Delete"
}
},
{
"export": {
"method": "GET",
"class": "export",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/export/",
"support_async": false,
"title": "Export",
"view": "/api/view/ExportData/add/",
"submit": "payload"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/",
"support_async": false,
"title": "Get"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/help",
"support_async": false,
"title": "Help"
}
}
],
"summary": "false"
},
"pkid": "5a867441b12a1c20228c0f97"
},
{
"data": {
"City": "Brisbane",
"InternalSiteID": "11",
"ndlr": "[\"AAAGlobal-CL1-NDL\", \"hcs.CS-P.CS-NB.AAAGlobal\"]",
"name": "AAA-Brisbane",
"Address1": "AAA-Corp Brisbane",
"Address2": "192 Ann Street",
"ExtendedName": "AAA-Brisbane Office",
"State": "QLD",
"ExternalID": "AAA-BRI",
"Country": "Australia",
"PostalCode": "4000",
"Description": "AAA-Brisbane",
"hierarchy_friendly_name": "AAA-Brisbane (Site)",
"hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.AAA-Brisbane"
},
"meta": {
"model_type": "relation/HcsSiteREL",
"summary_attrs": [
{
"name": "name",
"title": "Site Name"
},
{
"name": "Description",
"title": "Description"
},
{
"name": "SiteID",
"title": "Site ID"
},
{
"name": "InternalSiteID",
"title": "Internal ID"
},
{
"name": "ExternalID",
"title": "External ID"
},
{
"name": "City",
"title": "City"
},
{
"name": "State",
"title": "State"
},
{
"name": "Country",
"title": "Country"
},
{
"name": "ndlr",
"title": "Network Device List Reference"
},
{
"name": "Address1",
"title": "Address 1"
},
{
"name": "Address2",
"title": "Address 2"
},
{
"name": "Address3",
"title": "Address 3"
},
{
"name": "PostalCode",
"title": "Postal Code"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "AAA-Brisbane",
"business_key": {
"hierarchy": true,
"unique": [
"name"
]
},
"api_version": "21.2",
"cached": true,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"pkid": "5a867496b12a1c20228c12eb",
"href": "/api/data/HierarchyNode/5a867496b12a1c20228c12eb"
}
],
"foreign_key": [],
"self": [
{
"href": "/api/relation/HcsSiteREL/5a86749ab12a1c20228c132a/",
"pkid": "5a86749ab12a1c20228c132a"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5a7c462e1360b64cc8bf16e5",
"5a866fd11360b6206c488deb",
"5a86702067ea6f203993285d",
"5a8673030085ec1f7f30e906",
"5a867496b12a1c20228c12eb",
"5a86749ab12a1c20228c132a"
],
"schema_version": null,
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/relation/HcsSiteREL/5a86749ab12a1c20228c132a/",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/relation/HcsSiteREL/5a86749ab12a1c20228c132a/",
"support_async": true,
"title": "Delete"
}
},
{
"export": {
"method": "GET",
"class": "export",
"href": "/api/relation/HcsSiteREL/5a86749ab12a1c20228c132a/export/",
"support_async": false,
"title": "Export",
"view": "/api/view/ExportData/add/",
"submit": "payload"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/relation/HcsSiteREL/5a86749ab12a1c20228c132a/",
"support_async": false,
"title": "Get"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/relation/HcsSiteREL/5a86749ab12a1c20228c132a/help",
"support_async": false,
"title": "Help"
}
}
],
"summary": "false"
},
"pkid": "5a86749ab12a1c20228c132a"
},
{
"data": {
"City": "Brooklyn",
"InternalSiteID": "4",
"ndlr": "[\"AAAGlobal-CL1-NDL\", \"hcs.CS-P.CS-NB.AAAGlobal\"]",
"name": "AAA-Brooklyn",
"Address1": "777 Reagan St",
"ExtendedName": "AAA Brooklyn Office",
"State": "NY",
"ExternalID": "AAA-BK",
"Country": "United States of America",
"PostalCode": "33453",
"Description": "AAA Brooklyn",
"hierarchy_friendly_name": "AAA-Brooklyn (Site)",
"hierarchy_path": "sys.hcs.CS-P.CS-NB.AAAGlobal.AAA-Brooklyn"
},
"meta": {
"model_type": "relation/HcsSiteREL",
"summary_attrs": [
{
"name": "name",
"title": "Site Name"
},
{
"name": "Description",
"title": "Description"
},
{
"name": "SiteID",
"title": "Site ID"
},
{
"name": "InternalSiteID",
"title": "Internal ID"
},
{
"name": "ExternalID",
"title": "External ID"
},
{
"name": "City",
"title": "City"
},
{
"name": "State",
"title": "State"
},
{
"name": "Country",
"title": "Country"
},
{
"name": "ndlr",
"title": "Network Device List Reference"
},
{
"name": "Address1",
"title": "Address 1"
},
{
"name": "Address2",
"title": "Address 2"
},
{
"name": "Address3",
"title": "Address 3"
},
{
"name": "PostalCode",
"title": "Postal Code"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "AAA-Brooklyn",
"business_key": {
"hierarchy": true,
"unique": [
"name"
]
},
"api_version": "21.2",
"cached": true,
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"owner": [
{
"pkid": ""
}
],
"parent": [
{
"pkid": "5a86742d0085ec1f7f30f144",
"href": "/api/data/HierarchyNode/5a86742d0085ec1f7f30f144"
}
],
"foreign_key": [],
"self": [
{
"href": "/api/relation/HcsSiteREL/5a8674341360b6206c48ab27/",
"pkid": "5a8674341360b6206c48ab27"
}
]
},
"path": [
"6t0ggef2c0deab00hb595101",
"5a7c462e1360b64cc8bf16e5",
"5a866fd11360b6206c488deb",
"5a86702067ea6f203993285d",
"5a8673030085ec1f7f30e906",
"5a86742d0085ec1f7f30f144",
"5a8674341360b6206c48ab27"
],
"schema_version": null,
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/relation/HcsSiteREL/5a8674341360b6206c48ab27/",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/relation/HcsSiteREL/5a8674341360b6206c48ab27/",
"support_async": true,
"title": "Delete"
}
},
{
"export": {
"method": "GET",
"class": "export",
"href": "/api/relation/HcsSiteREL/5a8674341360b6206c48ab27/export/",
"support_async": false,
"title": "Export",
"view": "/api/view/ExportData/add/",
"submit": "payload"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/relation/HcsSiteREL/5a8674341360b6206c48ab27/",
"support_async": false,
"title": "Get"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/relation/HcsSiteREL/5a8674341360b6206c48ab27/help",
"support_async": false,
"title": "Help"
}
}
],
"summary": "false"
},
"pkid": "5a8674341360b6206c48ab27"
}
]
}
(Show the first instance)
{
"data": {
"name": "AAA-Boston",
"Description": "AAA Boston",
"ndlr": "[\"AAAGlobal-CL1-NDL\", \"hcs.CS-P.CS-NB.AAAGlobal\"]",
"Address1": "2001 Lake Shore Drive",
"City": "Boston",
"State": "MA",
"PostalCode": "65765",
"ExtendedName": "AAA Boston Office",
"ExternalID": "AAA-BN",
"InternalSiteID": "5",
"Country": "United States of America",
"custom_string_1": "",
"custom_string_2": "",
"custom_string_3": "",
"custom_string_4": "",
"custom_string_5": "",
"custom_string_6": "",
"custom_string_7": "",
"custom_string_8": "",
"custom_string_9": "",
"custom_string_10": "",
"hcsSite": {
"externalID": "AAA-BN",
"extendedName": "AAA Boston Office",
"streetAddress1": "2001 Lake Shore Drive",
"country": "United States of America",
"customer": "[\"AAAGlobal\", \"6\"]",
"state": "MA",
"description": "AAA Boston",
"shortName": "AAA-Boston",
"postalCode": "65765",
"bkCustomer_shortName": "AAAGlobal",
"city": "Boston",
"isDefaultLocation": false,
"id": "5"
},
"siteNdlr": {
"name": "AAA-Boston",
"reference": "[\"AAAGlobal-CL1-NDL\", \"hcs.CS-P.CS-NB.AAAGlobal\"]"
},
"hcsSiteDAT": {
"name": "AAA-Boston",
"migrate": false,
"push_cucm": true,
"create_admin": false,
"misc_data": "",
"HierarchyPath": "sys.hcs.CS-P.CS-NB.AAAGlobal.AAA-Boston"
}
},
"meta": {
"model_type": "relation/HcsSiteREL",
"summary_attrs": [
{
"name": "name",
"title": "Site Name"
},
{
"name": "Description",
"title": "Description"
},
{
"name": "SiteID",
"title": "Site ID"
},
{
"name": "InternalSiteID",
"title": "Internal ID"
},
{
"name": "ExternalID",
"title": "External ID"
},
{
"name": "City",
"title": "City"
},
{
"name": "State",
"title": "State"
},
{
"name": "Country",
"title": "Country"
},
{
"name": "ndlr",
"title": "Network Device List Reference"
},
{
"name": "Address1",
"title": "Address 1"
},
{
"name": "Address2",
"title": "Address 2"
},
{
"name": "Address3",
"title": "Address 3"
},
{
"name": "PostalCode",
"title": "Postal Code"
},
{
"name": "hierarchy_friendly_name",
"title": "Located At",
"allow_filtering": true
}
],
"tagged_versions": [],
"tags": [],
"title": "AAA-Boston",
"business_key": {},
"api_version": "21.2",
"cached": true,
"cache_control_policy": "cache_then_device",
"references": {
"device": [
{
"href": "",
"pkid": ""
}
],
"children": [],
"parent": [
{
"pkid": "5a86743967ea6f2039933bc1",
"href": "/api/data/HierarchyNode/5a86743967ea6f2039933bc1"
}
],
"self": [
{
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/",
"pkid": "5a867441b12a1c20228c0f97"
}
]
},
"schema_version": "2.2",
"actions": [
{
"update": {
"method": "PUT",
"class": "update",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Modify"
}
},
{
"remove": {
"method": "DELETE",
"class": "delete",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/?hierarchy=[hierarchy]",
"support_async": true,
"title": "Delete"
}
},
{
"export": {
"method": "GET",
"class": "export",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/export/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Export",
"view": "/api/view/ExportData/add/?auth_token=[authtoken],
"submit": "payload"
}
},
{
"get": {
"method": "GET",
"class": "get",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/?hierarchy=[hierarchy]",
"support_async": false,
"title": "Get"
}
},
{
"help": {
"method": "GET",
"class": "help",
"href": "/api/relation/HcsSiteREL/5a867441b12a1c20228c0f97/help?hierarchy=[hierarchy]",
"support_async": false,
"title": "Help"
}
}
]
},
"pkid": "5a867441b12a1c20228c0f97"
}
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get the on-line Help for relation/HcsSiteREL. | GET | /api/relation/HcsSiteREL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/HcsSiteREL as HTML |
| Task | Call | URL | Parameters | Payload |
|---|---|---|---|---|
| Modify | PUT | /api/relation/HcsSiteREL/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Delete | DELETE | /api/relation/HcsSiteREL/[pkid] | hierarchy=[hierarchy] |
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get a selected [export_format] of the schema and a single instance with [pkid] of relation/HcsSiteREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/HcsSiteREL/[pkid]/export |
|
The response is an attachment. Refer to the list below. |
For export_format=raw_xlsx, the response is a "raw" MS Excel spreadsheet with columns corresponding to the JSON format export and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_CCYY-MM-DD_HH-MM-SS.xlsx
Content-Language:en
Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=xlsx, the response is a MS Excel spreadsheet, formatted to show all columns and a response format:
Content-Disposition: attachment; filename=<resource_type>_<resource_name>_exportedsheet_formatted_CCYY-MM-DD_HH-MM-SS.xlsx
Content-Language:en
Content-Type:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
For export_format=json, the response is a time stamped zip file of data in JSON and a response format:
Content-Disposition: attachment; filename=export_2013-05-17_14:20:19.186444.json.zip
Content-Language:en
Content-Type:application/x-zip
The XLSX format can be used to bulk load instances of relation/HcsSiteREL and the JSON format can be used to import instances of relation/HcsSiteREL.
For Bulk Export, refer to the Bulk Export section.
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Get | GET | /api/relation/HcsSiteREL/[pkid] | hierarchy=[hierarchy] | The relation/HcsSiteREL instance with [pkid]. |
| Task | Call | URL | Parameters | Response |
|---|---|---|---|---|
| Help | GET | /api/relation/HcsSiteREL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/HcsSiteREL. |