[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": { "is_password": false, "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "shortName": { "is_password": false, "title": "Short Name", "required": true, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "description": { "is_password": false, "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "isDefaultLocation": { "is_password": false, "title": "Is Default Location", "default": false, "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "extendedName": { "is_password": false, "title": "Extended Name", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "externalID": { "is_password": false, "title": "External ID", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "siteLocationCode": { "is_password": false, "title": "Site Location Code", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "streetAddress1": { "is_password": false, "title": "Street Address1", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "streetAddress2": { "is_password": false, "title": "Street Address2", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "streetAddress3": { "is_password": false, "title": "Street Address3", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "city": { "is_password": false, "title": "City", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "state": { "is_password": false, "title": "State", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "country": { "is_password": false, "title": "Country", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "postalCode": { "is_password": false, "title": "Postal Code", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "customer": { "is_password": false, "format": "uri", "required": true, "displayable": false, "readonly": false, "maxLength": 1024, "title": "Customer", "type": "string", "target": "/api/data/HCSHcmfCustomerDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HCSHcmfCustomerDAT", "choices": [] }, "bkCustomer_shortName": { "is_password": false, "format": "uri", "required": false, "displayable": false, "target_attr": "shortName", "readonly": false, "maxLength": 1024, "title": "Bk Customer Short Name", "type": "string", "target": "/api/data/HCSHcmfCustomerDAT/choices/?field=shortName&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "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": { "required": true, "type": "string", "description": "User's Username.", "title": "User Name" }, "email": { "required": false, "type": "string", "description": "The User email address.", "title": "Email Address" }, "first_name": { "type": "string", "description": "The User first name.", "title": "First Name" }, "last_name": { "type": "string", "description": "The User last name.", "title": "Last Name" }, "password": { "is_password": true, "description": "The User password.", "title": "Password", "pattern": ".{8,}", "type": "string", "store_encrypted": true }, "role": { "description": "The role to which the user belongs. See: Role.", "format": "uri", "required": true, "target_attr": "name", "target": "/api/data/Role/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Role", "type": "string", "target_model_type": "data/Role", "choices": [] }, "language": { "description": "The preferred language for this user.", "format": "uri", "default": "en-us", "required": false, "target_attr": "lcid", "target": "/api/data/Language/choices/?field=lcid&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Language", "type": "string", "target_model_type": "data/Language", "choices": [] }, "set_language": { "description": "Indicate if the user's language is set by language default in the hierarchy.", "title": "Set by Default Language", "default": false, "required": false, "type": "boolean" }, "account_information": { "description": "Additional account information for the given user.", "title": "Account Information", "required": false, "type": "object", "properties": { "change_password_on_login": { "required": false, "type": "boolean", "description": "Indicates if the user must be forced to change their password the next time that login.", "title": "Change Password on Next Login" }, "locked": { "required": false, "type": "boolean", "description": "Indicates if the account has been locked to prevent the user from logging in.", "title": "Locked" }, "disabled": { "required": false, "type": "boolean", "description": "Indicates if the account has been disabled to prevent the user from logging in until an administrator enables the account again.", "title": "Disabled" }, "reason_for_disabled": { "required": false, "type": "string", "description": "A description of why the account is disabled.", "title": "Reason for Disabled" }, "credential_policy": { "description": "Specifies the policy with the rules used to govern this user's credentials.", "format": "uri", "required": false, "target_attr": "name", "target": "/api/data/CredentialPolicy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Credential Policy", "type": "string", "target_model_type": "data/CredentialPolicy", "choices": [] }, "failed_login_lock_date": { "description": "The time when the user account was locked as result of the number of failed login attempts exceeding the permitted thresholds.", "format": "date-time", "required": false, "title": "Time Locked Due to Failed Login Attempts", "type": "string" }, "password_last_change_time": { "description": "The time when the password was last changed.", "format": "date-time", "required": false, "readonly": true, "title": "Time of Last Password Change", "type": "string" }, "password_last_change_time_by_user": { "description": "The time when the password was last changed by the user.", "format": "date-time", "required": false, "readonly": true, "title": "Time of Last Password Change By User", "type": "string" }, "last_login_time": { "description": "The time the user last logged in successfully.", "format": "date-time", "required": false, "readonly": true, "title": "Time of Last Successful Login", "type": "string" }, "num_of_failed_login_attempts": { "description": "The total number of failed login attempts since last successful login.", "title": "Number of Failed Login Attempts Since Last Successful Login", "default": "0", "required": false, "type": "integer" }, "security_questions": { "items": { "type": "object", "properties": { "question": { "title": "Question", "required": true, "displayable": true, "maxLength": 128, "type": "string" }, "answer": { "maxLength": 128, "required": true, "type": "string", "title": "Answer" } } }, "type": "array", "title": "Security Questions" }, "used_passwords": { "items": { "type": "object", "properties": { "password": { "type": "string", "description": "Used password", "title": "Password" }, "time_created": { "type": "string", "description": "Time when password was created.", "title": "Time Created" } } }, "type": "array", "description": "List of passwords that have been used by user.", "title": "Used Passwords" } } }, "entitlement_profile": { "is_password": false, "format": "uri", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "title": "Entitlement Profile", "type": "string", "target": "/api/data/HcsEntitlementProfileDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "target_model_type": "data/HcsEntitlementProfileDAT", "choices": [] }, "sync_source": { "target": "/api/data/UserSyncSource/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "default": "LOCAL", "title": "Sync Source", "target_attr": "name", "type": "string", "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).", "target_model_type": "data/UserSyncSource", "choices": [] }, "sync_type": { "default": "LOCAL", "type": "string", "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.", "title": "Sync Type" }, "building_name": { "type": "string", "description": "Building name or number.", "title": "Building Name" }, "country": { "type": "string", "description": "Country name.", "title": "Country" }, "department": { "type": "string", "description": "Department names and numbers.", "title": "Department" }, "directory_uri": { "type": "string", "description": "Alphanumeric Directory URI (e.g. SIP URI)", "title": "Directory URI" }, "display_name": { "type": "string", "description": "Display name of the user", "title": "Display Name" }, "employee_number": { "type": "string", "description": "Employee number of the user", "title": "Employee Number" }, "employee_type": { "type": "string", "description": "Employee type", "title": "Employee Type" }, "facsimile_telephone_number": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's facsimile telephone Number(s).", "title": "Facsimile Telephone Number" }, "home_phone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's home phone number(s).", "title": "Home Phone" }, "ip_phone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's IP phone number(s).", "title": "IP Phone" }, "jabber_id": { "type": "string", "description": "Jabber ID", "title": "Jabber ID" }, "city": { "type": "string", "description": "Contains the name of a person's locality.", "title": "City" }, "manager": { "type": "string", "description": "Manager.", "title": "Manager" }, "member_of": { "items": { "type": "string" }, "type": "array", "description": "The user can be a member of a variety of groups.", "title": "Member Of" }, "mobile": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's IP mobile number(s).", "title": "Mobile" }, "organization": { "type": "string", "description": "The name of the person's organization.", "title": "Organization" }, "object_class": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "title": "Object Class" }, "other_mailbox": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "title": "Other Mailbox" }, "ou": { "description": "The name of the person's organization unit.", "title": "Organizational Unit", "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array" }, "photo_url": { "type": "string", "description": "Photo URL.", "title": "Photo URL" }, "physical_delivery_office_name": { "type": "string", "description": "Physical Delivery Office Name.", "title": "Physical Delivery Office Name" }, "postal_code": { "type": "string", "description": "Contains code used by a Postal Service to identify postal service zones.", "title": "Postal Code" }, "preferred_language": { "type": "string", "description": "Preferred Language.", "title": "Preferred Language" }, "state": { "type": "string", "description": "Contains full names of state or province.", "title": "State" }, "street": { "type": "string", "description": "Contains site information from a postal address.", "title": "Street" }, "telephone_number": { "items": { "type": "string" }, "type": "array", "description": "Telephone Number.", "title": "Telephone Number" }, "timezone": { "type": "string", "description": "Timezone.", "title": "Timezone" }, "title": { "type": "string", "description": "Title.", "title": "Title" }, "unverified_mailbox": { "type": "string", "description": "Unverified Mail Box.", "title": "Unverified Mail Box" }, "customString1": { "type": "string", "description": "Custom String", "title": "Custom String 1" }, "customString2": { "type": "string", "description": "Custom String", "title": "Custom String 2" }, "customString3": { "type": "string", "description": "Custom String", "title": "Custom String 3" }, "customString4": { "type": "string", "description": "Custom String", "title": "Custom String 4" }, "customString5": { "type": "string", "description": "Custom String", "title": "Custom String 5" }, "customString6": { "type": "string", "description": "Custom String", "title": "Custom String 6" }, "customString7": { "type": "string", "description": "Custom String", "title": "Custom String 7" }, "customString8": { "type": "string", "description": "Custom String", "title": "Custom String 8" }, "customString9": { "type": "string", "description": "Custom String", "title": "Custom String 9" }, "customString10": { "type": "string", "description": "Custom String", "title": "Custom String 10" }, "customListOfStrings1": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 1" }, "customListOfStrings2": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 2" }, "customListOfStrings3": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 3" }, "customListOfStrings4": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 4" }, "customListOfStrings5": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 5" }, "customListOfStrings6": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 6" }, "customListOfStrings7": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 7" }, "customListOfStrings8": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 8" }, "customListOfStrings9": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 9" }, "customListOfStrings10": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 10" }, "customBoolean1": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 1" }, "customBoolean2": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 2" }, "customBoolean3": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 3" }, "customBoolean4": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 4" }, "customBoolean5": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 5" }, "customBoolean6": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 6" }, "customBoolean7": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 7" }, "customBoolean8": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 8" }, "customBoolean9": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 9" }, "customBoolean10": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 10" }, "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.", "title": "Auth Method", "default": "Local", "choices": [ { "value": "Local", "title": "Local" }, { "value": "Automatic", "title": "Automatic" }, { "value": "LDAP", "title": "LDAP" }, { "value": "SSO", "title": "SSO" } ], "type": "string" }, "ldap_server": { "description": "A reference to the LDAP server which this user must authenticate against.", "format": "uri", "required": false, "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "LDAP Server", "type": "string", "target_model_type": "data/Ldap", "choices": [] }, "ldap_username": { "type": "string", "description": "The login attribute of the associated LDAP device model instance", "title": "LDAP Username" }, "sso_idp": { "description": "The entity id of the SSO Identity Provider.", "format": "uri", "required": false, "target_attr": "entity_id", "target": "/api/data/SsoIdentityProvider/choices/?field=entity_id&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "SSO Identity Provider", "type": "string", "target_model_type": "data/SsoIdentityProvider", "choices": [] }, "sso_username": { "required": false, "type": "string", "description": "The name identifier that is used for an SSO authenticated user.", "title": "SSO Username" }, "user_type": { "description": "Indicate the user's login type.", "title": "User Type", "default": "Admin", "required": false, "choices": [ { "value": "Admin", "title": "Admin" }, { "value": "End User", "title": "End User" }, { "value": "End User + Admin", "title": "End User + Admin" } ], "type": "string" }, "exclude_from_directory": { "type": "boolean", "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.", "title": "Exclude from Directory" }, "mvs_hybrid_status": { "required": false, "type": "string", "title": "Hybrid Status" }, "mvs_primary_line": { "type": "string", "title": "Primary Line" }, "mvs_primary_line_cos": { "type": "string", "title": "Primary Class of Service" }, "mvs_extensions": { "description": "Extensions to select primary details from.", "title": "Extensions", "items": { "type": "object", "properties": { "line": { "type": "string", "title": "Line" }, "line_e164": { "type": "string", "title": "Line E164" }, "line_cos": { "type": "string", "title": "Class of Service" } } }, "required": false, "type": "array" }, "username_avaya_system_manager": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Avaya System Manager.", "title": "Avaya System Manager User Name" }, "username_broadworks": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Broadworks.", "title": "Broadworks User Name" }, "username_cuc": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco Unity Connection.", "title": "Cisco Unity Connection User Name" }, "username_cucm": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco Unified Communication Manager.", "title": "Cisco Unified Communication Manager User Name" }, "username_hcmf": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco HCMF.", "title": "HCMF User Name" }, "username_ldap": { "required": false, "type": "string", "description": "The username corresponding to the the Username in the LDAP Directory.", "title": "LDAP Directory User Name" }, "username_microsoft": { "required": false, "type": "string", "description": "The username corresponding to the the Microsoft Username.", "title": "Microsoft User Name" }, "username_ms_365": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Microsoft Office 365.", "title": "Microsoft Office 365 User Name" }, "username_ms_ldap": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Microsoft LDAP.", "title": "Microsoft LDAP User Name" }, "username_ms_teams": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Microsoft Teams.", "title": "Microsoft Teams User Name" }, "username_open_ldap": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Opoen LDAP.", "title": "Open LDAP User Name" }, "username_uccx": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Cisco Unified Contact Centre Express.", "title": "Cisco Unified Contact Centre Express User Name" }, "username_webex_teams": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Webex App.", "title": "Webex App User Name" }, "username_zoom": { "required": false, "type": "string", "description": "The username corresponding to the the Username in Zoom.", "title": "Zoom User Name" }, "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.", "format": "uri", "required": false, "target_attr": "name", "target": "/api/data/AuthorizedAdminHierarchy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "title": "Authorized Admin Hierarchy", "type": "string", "target_model_type": "data/AuthorizedAdminHierarchy", "choices": [] }, "license_audit_details": { "description": "License Audit Information.", "title": "License Audit Details", "required": false, "type": "object", "properties": { "last_checked": { "description": "The last time the License Audit Details were updated.", "format": "date-time", "required": false, "readonly": true, "title": "Last Checked", "type": "string" }, "status": { "description": "The License Audit status of the user.", "title": "License Audit Status", "default": "Unknown", "required": false, "choices": [ { "value": "Licensed", "title": "Licensed" }, { "value": "Unlicensed", "title": "Unlicensed" }, { "value": "Unknown", "title": "Unknown" } ], "readonly": true, "type": "string" } } } } }, "hcsSiteDAT": { "title": "Hcs Site Dat", "type": "object", "properties": { "name": { "is_password": false, "description": "Site's name", "title": "Name", "pattern": "^[A-Za-z0-9_\\- ]+$", "required": true, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "create_admin": { "is_password": false, "description": "Indicates whether or not an Admin User should be created", "title": "Create Local Admin", "default": "true", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "push_cucm": { "is_password": false, "description": "Indicates whether or not all of Users at Site level are pushed to CUCM", "title": "Push Users to CUCM", "default": "false", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "HierarchyPath": { "is_password": false, "description": "Site's entity's hierarchy", "title": "Hierarchy Path", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "migrate": { "is_password": false, "description": "Migrate HCM-F Models to CUCDM Models", "title": "Migrate from HCM-F to CUCDM", "default": "false", "required": false, "displayable": false, "readonly": false, "type": "boolean" }, "misc_data": { "is_password": false, "description": "Miscellaneous data used at run-time", "title": "Misc Data", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" } } } }, "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": 34, "total_limit": null, "order_by": "name", "direction": "asc", "current": "/api/relation/HcsSiteREL/?skip=0&limit=3&order_by=name&direction=asc&traversal=down" }, "operations": [ "update", "help", "remove", "field_display_policy", "add", "export", "list", "configuration_template", "get", "bulk_update", "export_bulkload_template" ], "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": [ "update", "help", "remove", "add", "export", "list", "get", "export_bulkload_template" ], "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": "AlterLake", "ndlr": "[\"RND\", \"hcs.CS-P.CS-NB.RND\"]", "City": "Tulsa", "InternalSiteID": "37", "Country": "United States of America", "hierarchy_friendly_name": "AlterLake (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-NB.RND.East.AlterLake" }, "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": "AlterLake", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "6644e9f8f14dbdc7695d425c", "href": "/api/data/HierarchyNode/6644e9f8f14dbdc7695d425c" } ], "foreign_key": [], "self": [ { "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/", "pkid": "6644ea00f14dbdc7695d43a8" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89bd5affa931cce3863f9", "6644e9bcf14dbdc7695d37d1", "6644e9f6f14dbdc7695d41e9", "6644e9f8f14dbdc7695d425c", "6644ea00f14dbdc7695d43a8" ], "schema_version": null, "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/", "support_async": true, "title": "Delete" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "6644ea00f14dbdc7695d43a8" }, { "data": { "name": "CL1-AB-C-Berlin", "SiteID": "AB-C-BE", "Description": "AB_Group-Civil-Berlin", "ndlr": "[\"AB_Group-Germany-CL1-NDL\", \"hcs.CS-P.CS-AB.AB_Group\"]", "Address1": "Hunefeldstr.5", "Address2": "Neuenland", "Address3": "Berlin,28199", "City": "Berlin", "PostalCode": "28199", "ExtendedName": "AB_Group-Civil-Berlin", "ExternalID": "AB-C-BE", "InternalSiteID": "6", "Country": "Germany", "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": "CL1-AB-C-Berlin (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Berlin" }, "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": "CL1-AB-C-Berlin", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae8a04aaffa931cce3910b5", "href": "/api/data/HierarchyNode/5ae8a04aaffa931cce3910b5" } ], "foreign_key": [], "self": [ { "href": "/api/relation/HcsSiteREL/5ae8a05caffa931cce3912c1/", "pkid": "5ae8a05caffa931cce3912c1" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "5ae8a04aaffa931cce3910b5", "5ae8a05caffa931cce3912c1" ], "schema_version": null, "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/HcsSiteREL/5ae8a05caffa931cce3912c1/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsSiteREL/5ae8a05caffa931cce3912c1/", "support_async": true, "title": "Delete" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/HcsSiteREL/5ae8a05caffa931cce3912c1/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/HcsSiteREL/5ae8a05caffa931cce3912c1/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsSiteREL/5ae8a05caffa931cce3912c1/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ae8a05caffa931cce3912c1" }, { "data": { "City": "Grenoble", "InternalSiteID": "2", "ndlr": "[\"AB_Group-France-CL1-NDL\", \"hcs.CS-P.CS-AB.AB_Group\"]", "name": "CL1-AB-C-Grenoble", "Address1": "Site de Saint Martin du Talon", "Address2": "316 Route de Beuvoir", "Address3": "Grenoble,31160", "ExtendedName": "AB_Group-Civil-Grenoble", "SiteID": "AB-C-GR", "Country": "France", "PostalCode": "31160", "ExternalID": "AB-C-GR", "Description": "AB_Group-Civil-Grenoble", "hierarchy_friendly_name": "CL1-AB-C-Grenoble (Site)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C.CL1-AB-C-Grenoble" }, "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": "CL1-AB-C-Grenoble", "business_key": { "hierarchy": true, "unique": [ "name" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89fffaffa931cce39008b", "href": "/api/data/HierarchyNode/5ae89fffaffa931cce39008b" } ], "foreign_key": [], "self": [ { "href": "/api/relation/HcsSiteREL/5ae8a00aaffa931cce3903e5/", "pkid": "5ae8a00aaffa931cce3903e5" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "5ae89fffaffa931cce39008b", "5ae8a00aaffa931cce3903e5" ], "schema_version": null, "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/HcsSiteREL/5ae8a00aaffa931cce3903e5/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsSiteREL/5ae8a00aaffa931cce3903e5/", "support_async": true, "title": "Delete" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/HcsSiteREL/5ae8a00aaffa931cce3903e5/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "get": { "method": "GET", "class": "get", "href": "/api/relation/HcsSiteREL/5ae8a00aaffa931cce3903e5/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsSiteREL/5ae8a00aaffa931cce3903e5/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "5ae8a00aaffa931cce3903e5" } ] }
(Show the first instance)
{ "data": { "name": "AlterLake", "ndlr": "[\"RND\", \"hcs.CS-P.CS-NB.RND\"]", "City": "Tulsa", "InternalSiteID": "37", "Country": "United States of America", "hcsSite": { "customer": "[\"RND\", \"62606732-12dc-11ef-bd0f-0242ac110007\"]", "city": "Tulsa", "isDefaultLocation": false, "country": "United States of America", "shortName": "AlterLake", "bkCustomer_shortName": "RND", "id": "88cd07cc-12dc-11ef-bd0f-0242ac110007" }, "siteNdlr": { "name": "AlterLake", "reference": "[\"RND\", \"hcs.CS-P.CS-NB.RND\"]" }, "hcsSiteDAT": { "name": "AlterLake", "migrate": false, "push_cucm": false, "create_admin": true, "misc_data": "", "HierarchyPath": "sys.hcs.CS-P.CS-NB.RND.East" } }, "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": "AlterLake", "business_key": {}, "api_version": "21.2", "cached": true, "cache_control_policy": "cache_then_device", "references": { "device": [ { "href": "", "pkid": "" } ], "children": [], "parent": [ { "pkid": "6644e9f8f14dbdc7695d425c", "href": "/api/data/HierarchyNode/6644e9f8f14dbdc7695d425c" } ], "self": [ { "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/", "pkid": "6644ea00f14dbdc7695d43a8" } ] }, "schema_version": "2.2", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "export": { "method": "GET", "class": "export", "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/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/6644ea00f14dbdc7695d43a8/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/relation/HcsSiteREL/6644ea00f14dbdc7695d43a8/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "pkid": "6644ea00f14dbdc7695d43a8" }
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. |