[Index]
Model ref.: relation/HcsResellerREL
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": { "dataUser": { "type": "object", "properties": { "customString3": { "type": "string", "description": "Custom String", "title": "Custom String 3" }, "customListOfStrings10": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 10" }, "last_name": { "type": "string", "description": "The last name corresponding to user last name in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "Last Name" }, "customString7": { "type": "string", "description": "Custom String", "title": "Custom String 7" }, "ldap_server": { "description": "A reference to the LDAP server which this user must authenticate against.", "title": "LDAP Server", "format": "uri", "required": false, "choices": [], "target_model_type": "data/Ldap", "type": "string", "target": "/api/data/Ldap/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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" } ], "type": "string" }, "ldap_username": { "type": "string", "description": "The login attribute of the associated LDAP device model instance", "title": "LDAP Username" }, "manager": { "type": "string", "description": "Manager.", "title": "Manager" }, "street": { "type": "string", "description": "Contains site information from a postal address.", "title": "Street" }, "postal_code": { "type": "string", "description": "Contains code used by a Postal Service to identify postal service zones.", "title": "Postal Code" }, "other_mailbox": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "title": "Other Mailbox" }, "timezone": { "type": "string", "description": "Timezone.", "title": "Timezone" }, "customBoolean1": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 1" }, "object_class": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "title": "Object Class" }, "customListOfStrings2": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 2" }, "building_name": { "type": "string", "description": "Building name or number.", "title": "Building Name" }, "city": { "type": "string", "description": "Contains the name of a person's locality.", "title": "City" }, "first_name": { "type": "string", "description": "The first name corresponding to the user first name in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "First Name" }, "jabber_id": { "type": "string", "description": "Jabber ID", "title": "Jabber ID" }, "display_name": { "type": "string", "description": "Display name of the user", "title": "Display Name" }, "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" }, "customListOfStrings3": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 3" }, "directory_uri": { "type": "string", "description": "Alphanumeric Directory URI (e.g. SIP URI)", "title": "Directory URI" }, "auth_method": { "default": "Local", "choices": [ { "value": "Local", "title": "Local" }, { "value": "Automatic", "title": "Automatic" }, { "value": "LDAP", "title": "LDAP" }, { "value": "SSO", "title": "SSO" } ], "type": "string", "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" }, "customBoolean10": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 10" }, "entitlement_profile": { "is_password": false, "target_model_type": "data/HcsEntitlementProfileDAT", "target": "/api/data/HcsEntitlementProfileDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "Entitlement Profile", "type": "string" }, "customBoolean2": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 2" }, "facsimile_telephone_number": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's facsimile telephone Number(s).", "title": "Facsimile Telephone Number" }, "customListOfStrings5": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 5" }, "state": { "type": "string", "description": "Contains full names of state or province.", "title": "State" }, "role": { "description": "The role to which the user belongs. See: Role.", "title": "Role", "format": "uri", "required": true, "choices": [], "target_attr": "name", "target_model_type": "data/Role", "type": "string", "target": "/api/data/Role/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "sso_idp": { "description": "The entity id of the SSO Identity Provider.", "title": "SSO Identity Provider", "format": "uri", "required": false, "choices": [], "target_attr": "entity_id", "target_model_type": "data/SsoIdentityProvider", "type": "string", "target": "/api/data/SsoIdentityProvider/choices/?field=entity_id&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "home_phone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's home phone number(s).", "title": "Home Phone" }, "department": { "type": "string", "description": "Department names and numbers.", "title": "Department" }, "customListOfStrings7": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 7" }, "email": { "required": false, "type": "string", "description": "The email address corresponding to the the Username in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "Email Address" }, "username": { "required": true, "type": "string", "description": "The username corresponding to the the Username in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "User Name" }, "customString2": { "type": "string", "description": "Custom String", "title": "Custom String 2" }, "customString1": { "type": "string", "description": "Custom String", "title": "Custom String 1" }, "physical_delivery_office_name": { "type": "string", "description": "Physical Delivery Office Name.", "title": "Physical Delivery Office Name" }, "customString6": { "type": "string", "description": "Custom String", "title": "Custom String 6" }, "customString5": { "type": "string", "description": "Custom String", "title": "Custom String 5" }, "customString4": { "type": "string", "description": "Custom String", "title": "Custom String 4" }, "title": { "type": "string", "description": "Title.", "title": "Title" }, "customString9": { "type": "string", "description": "Custom String", "title": "Custom String 9" }, "customString8": { "type": "string", "description": "Custom String", "title": "Custom String 8" }, "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" }, "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" }, "sso_username": { "required": false, "type": "string", "description": "The name identifier that is used for an SSO authenticated user.", "title": "SSO Username" }, "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).", "title": "Sync Source", "default": "LOCAL", "format": "uri", "choices": [], "target_attr": "name", "target_model_type": "data/UserSyncSource", "type": "string", "target": "/api/data/UserSyncSource/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "customListOfStrings1": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 1" }, "employee_type": { "type": "string", "description": "Employee type", "title": "Employee Type" }, "password": { "is_password": true, "description": "The password corresponding to the user password in Cisco Unified Communications Manager. The password is hidden.", "title": "Password", "pattern": ".{8,}", "store_encrypted": true, "type": "string" }, "customListOfStrings4": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 4" }, "unverified_mailbox": { "type": "string", "description": "Unverified Mail Box.", "title": "Unverified Mail Box" }, "customListOfStrings6": { "items": { "type": "string" }, "type": "array", "description": "Custom List of Strings", "title": "Custom List of Strings 6" }, "photo_url": { "type": "string", "description": "Photo URL.", "title": "Photo URL" }, "customBoolean7": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 7" }, "customBoolean6": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 6" }, "customBoolean5": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 5" }, "customBoolean4": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 4" }, "customBoolean3": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 3" }, "preferred_language": { "type": "string", "description": "Preferred Language.", "title": "Preferred Language" }, "language": { "description": "The preferred language for this user.", "format": "uri", "default": "en-us", "required": false, "choices": [], "target_attr": "lcid", "target_model_type": "data/Language", "title": "Language", "type": "string", "target": "/api/data/Language/choices/?field=lcid&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "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" }, "account_information": { "properties": { "reason_for_disabled": { "required": false, "type": "string", "description": "A description of why the account is disabled.", "title": "Reason for Disabled" }, "locked": { "required": false, "type": "boolean", "description": "Indicates if the account has been locked to prevent the user from logging in.", "title": "Locked" }, "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" }, "security_questions": { "items": { "type": "object", "properties": { "answer": { "title": "Answer", "required": true, "type": "string", "maxLength": 128 }, "question": { "maxLength": 128, "required": true, "type": "string", "displayable": true, "title": "Question" } } }, "type": "array", "title": "Security Questions" }, "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" }, "credential_policy": { "description": "Specifies the policy with the rules used to govern this user's credentials.", "title": "Credential Policy", "format": "uri", "required": false, "choices": [], "target_attr": "name", "target_model_type": "data/CredentialPolicy", "type": "string", "target": "/api/data/CredentialPolicy/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken] }, "failed_login_lock_date": { "title": "Time Locked Due to Failed Login Attempts", "required": false, "type": "string", "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" }, "password_last_change_time_by_user": { "description": "The time when the password was last changed by the user.", "title": "Time of Last Password Change By User", "format": "date-time", "required": false, "readonly": true, "type": "string" }, "password_last_change_time": { "description": "The time when the password was last changed.", "title": "Time of Last Password Change", "format": "date-time", "required": false, "readonly": true, "type": "string" }, "num_of_failed_login_attempts": { "default": "0", "required": false, "type": "integer", "description": "The total number of failed login attempts since last successful login.", "title": "Number of Failed Login Attempts Since Last Successful Login" }, "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" }, "last_login_time": { "description": "The time the user last logged in successfully.", "title": "Time of Last Successful Login", "format": "date-time", "required": false, "readonly": true, "type": "string" } }, "required": false, "type": "object", "description": "Additional account information for the given user.", "title": "Account Information" }, "employee_number": { "type": "string", "description": "Employee number of the user", "title": "Employee Number" }, "telephone_number": { "items": { "type": "string" }, "type": "array", "description": "Telephone Number.", "title": "Telephone Number" }, "customBoolean9": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 9" }, "customBoolean8": { "type": "boolean", "description": "Custom Boolean", "title": "Custom Boolean 8" }, "customString10": { "type": "string", "description": "Custom String", "title": "Custom String 10" }, "ip_phone": { "items": { "type": "string" }, "type": "array", "description": "Contains strings that represent the user's IP phone number(s).", "title": "IP Phone" }, "country": { "type": "string", "description": "Country name.", "title": "Country" }, "organization": { "type": "string", "description": "The name of the person's organization.", "title": "Organization" }, "ou": { "minItems": 0, "items": { "is_password": false, "type": "string" }, "type": "array", "description": "The name of the person's organization unit.", "title": "Organizational Unit" }, "set_language": { "default": false, "required": false, "type": "boolean", "description": "Indicate if the user's language is set by language default in the hierarchy.", "title": "Set by Default Language" } }, "title": "Data User" }, "directoryDomain": { "is_password": false, "description": "Reseller's directory domain name", "title": "Directory Domain", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "name": { "is_password": false, "description": "Reseller's name", "title": "Name", "pattern": "^[A-Za-z0-9_\\- ]+$", "required": true, "displayable": false, "readonly": false, "maxLength": 64, "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" }, "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" }, "data_rsell": { "type": "object", "properties": { "contactAddress2": { "is_password": false, "title": "Contact Address2", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "contactAddress1": { "is_password": false, "title": "Contact Address1", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "contactCountry": { "is_password": false, "title": "Contact Country", "required": false, "displayable": false, "readonly": false, "maxLength": 32, "type": "string" }, "description": { "is_password": false, "title": "Description", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "monitorsPrimeCollab": { "is_password": false, "target_model_type": "data/HCSHcmfPrimeCollabDAT", "target": "/api/data/HCSHcmfPrimeCollabDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "Monitors Prime Collab", "type": "string" }, "contactPhoneNumber": { "is_password": false, "title": "Contact Phone Number", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "contactPostZip": { "is_password": false, "title": "Contact Post Zip", "required": false, "displayable": false, "readonly": false, "maxLength": 32, "type": "string" }, "contactCity": { "is_password": false, "title": "Contact City", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "cCDM": { "is_password": false, "target_model_type": "data/HCSHcmfCCDMDAT", "target": "/api/data/HCSHcmfCCDMDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "CCDM", "type": "string" }, "directoryDomain": { "is_password": false, "target_model_type": "data/HCSHcmfDirectoryDomainDAT", "target": "/api/data/HCSHcmfDirectoryDomainDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "Directory Domain", "type": "string" }, "name": { "is_password": false, "title": "Name", "required": true, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "contactEmail": { "is_password": false, "title": "Contact Email", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "ownsCTX": { "is_password": false, "target_model_type": "data/HCSHcmfCTXDAT", "target": "/api/data/HCSHcmfCTXDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "Owns CTX", "type": "string" }, "contactName": { "is_password": false, "title": "Contact Name", "required": false, "displayable": false, "readonly": false, "maxLength": 128, "type": "string" }, "contactState": { "is_password": false, "title": "Contact State", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" }, "serviceProvider": { "is_password": false, "target_model_type": "data/HCSHcmfServiceProviderDAT", "target": "/api/data/HCSHcmfServiceProviderDAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "Service Provider", "type": "string" }, "id": { "is_password": false, "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "cUCDM2": { "is_password": false, "target_model_type": "data/HCSHcmfCUCDM2DAT", "target": "/api/data/HCSHcmfCUCDM2DAT/choices/?format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "required": false, "displayable": false, "choices": [], "readonly": false, "maxLength": 1024, "title": "CUCDM2", "type": "string" }, "accountID": { "is_password": false, "title": "Account ID", "required": false, "displayable": false, "readonly": false, "maxLength": 64, "type": "string" } }, "title": "Data Rsell" }, "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" }, "hcs_role": { "type": "object", "properties": { "role": { "is_password": false, "description": "The role selector.", "title": "Role", "minItems": 0, "required": true, "displayable": false, "choices": [ { "value": " ", "title": " " } ], "readonly": false, "type": "string" }, "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" } }, "title": "Hcs Role" }, "HierarchyPath": { "is_password": false, "description": "Reseller entity's hierarchy", "title": "Hierarchy Path", "required": false, "displayable": false, "readonly": false, "maxLength": 1024, "type": "string" }, "data_user": { "type": "object", "properties": { "password": { "is_password": true, "title": "Password", "minItems": 0, "required": false, "displayable": false, "readonly": false, "type": "string" }, "name": { "is_password": false, "title": "Name", "minItems": 0, "required": false, "displayable": false, "readonly": false, "type": "string" } }, "title": "Data User" }, "description": { "is_password": false, "description": "Reseller's description", "title": "Description", "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/HcsResellerREL/add/ |
|
The GUI Add form of relation/HcsResellerREL 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/HcsResellerREL/ | 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/HcsResellerREL/ | hierarchy=[hierarchy] | {"hrefs":["/api/relation/HcsResellerREL/[pkid1]", "/api/relation/HcsResellerREL/[pkid2]", ...]} |
GET http://[host-proxy]/api/relation/HcsResellerREL/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of relation/HcsResellerREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/relation/HcsResellerREL/export/ |
|
{ "hrefs":["/api/relation/HcsResellerREL/[pkid1]", "/api/relation/HcsResellerREL/[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/HcsResellerREL and the JSON format can be used to import instances of relation/HcsResellerREL.
GET http://[host-proxy]/api/relation/HcsResellerREL/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for relation/HcsResellerREL | POST | /api/relation/HcsResellerREL/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/relation/HcsResellerREL/ |
|
The relation/HcsResellerREL schema and all instances as JSON. |
(The list will return 0 to 3 relation/HcsResellerREL instances)
{ "operations": [ "field_display_policy", "configuration_template", "help", "get", "export_bulkload_template", "list", "update", "remove", "add", "bulk_update", "export" ], "pagination": { "direction": "asc", "order_by": "name", "maximum_limit": 2000, "skip": 0, "current": "/api/relation/HcsResellerREL/?skip=0&limit=3&order_by=name&direction=asc&traversal=default", "limit": 3, "total_limit": null, "total": 1 }, "meta": { "tags": [], "cached": true, "title": "", "business_key": {}, "schema_version": "2.2", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": null, "href": "/api/relation/HcsResellerREL/None/" } ], "children": [], "parent": [ { "pkid": "6t0ggef2c0deab00hb595101", "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101" } ], "foreign_key": [] }, "actions": [ { "add": { "support_async": false, "class": "add", "href": "/api/relation/HcsResellerREL/add/?hierarchy=[hierarchy]", "method": "GET", "title": "Add" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsResellerREL/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsResellerREL/export/?hierarchy=[hierarchy]", "method": "POST", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "export_bulkload_template": { "support_async": false, "class": "bulkload_template", "href": "/api/relation/HcsResellerREL/export_bulkload_template/?hierarchy=[hierarchy]", "method": "POST", "title": "Export Bulk Load Template" } }, { "list": { "support_async": false, "class": "list", "href": "/api/relation/HcsResellerREL/?hierarchy=[hierarchy]", "method": "GET", "title": "List" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsResellerREL/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsResellerREL", "model_specific_actions": [ "help", "get", "export_bulkload_template", "list", "update", "remove", "add", "export" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "resources": [ { "pkid": "5fff564bce894e00155055fd", "meta": { "tags": [], "cached": true, "title": "title format", "business_key": {}, "schema_version": "2.2", "summary": "false", "references": { "device": [ { "pkid": "", "href": "" } ], "owner": [ { "pkid": "" } ], "self": [ { "pkid": "5fff564bce894e00155055fd", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/" } ], "parent": [ { "pkid": "5fff5649ce894e001550558f", "href": "/api/data/HierarchyNode/5fff5649ce894e001550558f" } ], "foreign_key": [] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/export/", "method": "GET", "view": "/api/view/ExportData/add/" } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/help", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsResellerREL", "path": [ "6t0ggef2c0deab00hb595101", "5fff24a2ce894e0015f6de4e", "5fff560ace894e001550455c", "5fff5649ce894e001550558f", "5fff564bce894e00155055fd" ], "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "directoryDomain": "csnb.com", "name": "CS-NB", "pkid": "5fff564bce894e00155055fe", "create_admin": true, "misc_data": "", "HierarchyPath": "sys.hcs.CS-P", "migrate": false, "hierarchy_friendly_name": "CS-NB (Reseller)", "hierarchy_path": "sys.hcs.CS-P.CS-NB" } } ] }
(Show the first instance)
{ "pkid": "5fff564bce894e00155055fd", "meta": { "tags": [], "cached": true, "cache_control_policy": "cache_then_device", "title": "CS-NB", "business_key": {}, "schema_version": "2.2", "references": { "device": [ { "pkid": "", "href": "" } ], "self": [ { "pkid": "5fff564bce894e00155055fd", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/" } ], "children": [], "parent": [ { "pkid": "5fff5649ce894e001550558f", "href": "/api/data/HierarchyNode/5fff5649ce894e001550558f" } ] }, "actions": [ { "update": { "support_async": true, "class": "update", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/?hierarchy=[hierarchy]", "method": "PUT", "title": "Modify" } }, { "remove": { "support_async": true, "class": "delete", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/?hierarchy=[hierarchy]", "method": "DELETE", "title": "Delete" } }, { "export": { "title": "Export", "support_async": false, "submit": "payload", "class": "export", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/export/?hierarchy=[hierarchy]", "method": "GET", "view": "/api/view/ExportData/add/?auth_token=[authtoken] } }, { "get": { "support_async": false, "class": "get", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/?hierarchy=[hierarchy]", "method": "GET", "title": "Get" } }, { "help": { "support_async": false, "class": "help", "href": "/api/relation/HcsResellerREL/5fff564bce894e00155055fd/help?hierarchy=[hierarchy]", "method": "GET", "title": "Help" } } ], "model_type": "relation/HcsResellerREL", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "description", "title": "Description" }, { "allow_filtering": true, "name": "hierarchy_friendly_name", "title": "Located At" } ], "api_version": "20.1.1", "tagged_versions": [] }, "data": { "directoryDomain": "csnb.com", "name": "CS-NB", "migrate": false, "create_admin": true, "data_rsell": { "serviceProvider": "[\"CS-P\", \"1\"]", "name": "CS-NB", "id": "eba5847a-55dc-11eb-8064-0242ac1ffc05" }, "misc_data": "", "HierarchyPath": "sys.hcs.CS-P" } }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for relation/HcsResellerREL. | GET | /api/relation/HcsResellerREL/help | hierarchy=[hierarchy] | On-line help of Model ref.: relation/HcsResellerREL as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/relation/HcsResellerREL/[pkid]/ | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/relation/HcsResellerREL/[pkid]/ | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of relation/HcsResellerREL; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/relation/HcsResellerREL/[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/HcsResellerREL and the JSON format can be used to import instances of relation/HcsResellerREL.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/relation/HcsResellerREL/[pkid]/ | hierarchy=[hierarchy] | The relation/HcsResellerREL instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/relation/HcsResellerREL/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for relation/HcsResellerREL. |