[Index]
The User field mappings from various applications.
Model ref.: data/UserFieldMapping
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": { "required": true, "type": "string", "description": "The name of the user mapping object.", "title": "Name" }, "description": { "type": "string", "description": "The description of the user mapping object.", "title": "Description" }, "application": { "target": "/api/data/UserSyncSource/choices/?field=name&format=json&hierarchy=[hierarchy]&auth_token=[authtoken], "format": "uri", "description": "Application name like CUCM, LDAP, CUC", "required": true, "target_attr": "name", "title": "Application name", "type": "string", "target_model_type": "data/UserSyncSource", "choices": [] }, "model_type": { "type": "string", "description": "The model type used for this LDAP server.", "title": "Model Type" }, "data_exist": { "type": "boolean", "description": "Flag to see if data exists for the server. If data exist the username and email fields will be disabled. These mappings cannot be changed once data exists.", "title": "Data Exist" }, "username": { "type": "string", "description": "The username corresponding to the the Username in Cisco Unified Communications Manager and Cisco Unity Connection server.", "title": "User Name" }, "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" }, "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" }, "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" }, "password": { "type": "string", "description": "The password corresponding to the user password in Cisco Unified Communications Manager. The password is hidden.", "title": "Password" }, "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": { "type": "string", "description": "Facsimile Telephone Number", "title": "Facsimile Telephone Number" }, "home_phone": { "type": "string", "description": "Contains strings that represent the user's home phone number(s).", "title": "Home Phone" }, "ip_phone": { "type": "string", "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": { "type": "string", "description": "The user can be a member of a variety of groups.", "title": "Member Of" }, "mobile": { "type": "string", "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": { "type": "string", "description": "Object Class.", "title": "Object Class" }, "other_mailbox": { "type": "string", "description": "Other Mailbox.", "title": "Other Mailbox" }, "ou": { "type": "string", "description": "The name of the person's organization unit.", "title": "Organizational Unit" }, "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": { "type": "string", "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": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 1" }, "customListOfStrings2": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 2" }, "customListOfStrings3": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 3" }, "customListOfStrings4": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 4" }, "customListOfStrings5": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 5" }, "customListOfStrings6": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 6" }, "customListOfStrings7": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 7" }, "customListOfStrings8": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 8" }, "customListOfStrings9": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 9" }, "customListOfStrings10": { "type": "string", "description": "Custom List of Strings", "title": "Custom List of Strings 10" }, "customBoolean1": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 1" }, "customBoolean2": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 2" }, "customBoolean3": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 3" }, "customBoolean4": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 4" }, "customBoolean5": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 5" }, "customBoolean6": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 6" }, "customBoolean7": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 7" }, "customBoolean8": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 8" }, "customBoolean9": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 9" }, "customBoolean10": { "type": "string", "description": "Custom Boolean", "title": "Custom Boolean 10" } }, "schema_version": "0.0" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/UserFieldMapping/add/ |
|
The GUI Add form of data/UserFieldMapping 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/data/UserFieldMapping | 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/data/UserFieldMapping/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/UserFieldMapping/[pkid1]", "/api/data/UserFieldMapping/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/UserFieldMapping/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/UserFieldMapping/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/UserFieldMapping/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/UserFieldMapping/[pkid1]", "/api/v0/data/UserFieldMapping/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/UserFieldMapping/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Get a selected [export_format] of the schema and instances [pkid1], [pkid2],... of data/UserFieldMapping; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | POST | /api/data/UserFieldMapping/export/ |
|
{ "hrefs":["/api/data/UserFieldMapping/[pkid1]", "/api/data/UserFieldMapping/[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 data/UserFieldMapping and the JSON format can be used to import instances of data/UserFieldMapping.
GET http://[host-proxy]/api/data/UserFieldMapping/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/UserFieldMapping | POST | /api/data/UserFieldMapping/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Tag | PATCH | /api/data/UserFieldMapping/+tag/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Tag Version | PATCH | /api/data/UserFieldMapping/+tag_version/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/data/UserFieldMapping/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/UserFieldMapping/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/UserFieldMapping/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/UserFieldMapping/ |
|
The data/UserFieldMapping schema and all instances as JSON. |
(The list will return 0 to 3 data/UserFieldMapping instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 16, "total_limit": null, "order_by": "name", "direction": "asc", "current": "/api/data/UserFieldMapping/?skip=0&limit=3&order_by=name&direction=asc&traversal=down" }, "operations": [ "field_display_policy", "update", "help", "remove", "move", "add", "export", "list", "configuration_template", "get", "bulk_update_form", "migration", "transform", "export_bulkload_template" ], "meta": { "model_type": "data/UserFieldMapping", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "application", "title": "Application name" }, { "name": "description", "title": "Description" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "", "business_key": { "hierarchy": true, "unique": [ "name", "application" ] }, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "get", "list", "add", "clone", "update", "remove", "export_bulkload_template", "bulk_update_form", "configuration_template", "field_display_policy", "export", "migration", "help", "tag", "tag_version" ], "schema_version": "0.0", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/data/UserFieldMapping/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/UserFieldMapping/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "bulk_update_form": { "method": "GET", "class": "update", "href": "/api/data/UserFieldMapping/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Bulk Modify" } }, { "export": { "method": "POST", "class": "export", "href": "/api/data/UserFieldMapping/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/data/UserFieldMapping/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/data/UserFieldMapping/+tag/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "method": "PATCH", "class": "tag_version", "href": "/api/data/UserFieldMapping/+tag_version/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag Version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/data/UserFieldMapping/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/data/UserFieldMapping/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "migration": { "method": "GET", "class": "migration", "href": "/api/data/UserFieldMapping/migration/?hierarchy=[hierarchy]", "support_async": false, "title": "Migration Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/UserFieldMapping/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/UserFieldMapping/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [ { "data": { "last_name": "sn", "manager": "manager", "street": "streetAddress", "postal_code": "postalCode", "facsimile_telephone_number": "facsimileTelephoneNumber", "object_class": "objectClass", "building_name": "physicalDeliveryOfficeName", "city": "l", "first_name": "givenName", "display_name": "displayName", "directory_uri": "mail", "pkid": "650fe64784eaf2a1ce63c3a3", "other_mailbox": "otherMailbox", "application": "LDAP", "state": "st", "home_phone": "homePhone", "department": "department", "email": "mail", "username": "sAMAccountName", "physical_delivery_office_name": "physicalDeliveryOfficeName", "description": "LDAP field mapping for [\"10.120.2.221\", \"389\", \"OU=AB-C,OU=AB-GROUP,DC=vossqa,DC=net\", \"hcs.CS-P.CS-AB.AB_Group.AB-C\"]", "employee_type": "employeeType", "ou": "ou", "name": "[\"10.120.2.221\", \"389\", \"OU=AB-C,OU=AB-GROUP,DC=vossqa,DC=net\", \"hcs.CS-P.CS-AB.AB_Group.AB-C\"]", "member_of": "memberOf", "mobile": "mobile", "country": "c", "title": "title", "telephone_number": "telephoneNumber", "employee_number": "employeeNumber", "ip_phone": "ipPhone", "model_type": "device/ldap/user", "organization": "o", "unverified_mailbox": "unverifiedMailBox", "hierarchy_friendly_name": "AB-C (IntermediateNode)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-C" }, "meta": { "model_type": "data/UserFieldMapping", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "application", "title": "Application name" }, { "name": "description", "title": "Description" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "[\"10.120.2.221\", \"389\", \"OU=AB-C,OU=AB-GROUP,DC=vossqa,DC=net\", \"hcs.CS-P.CS-AB.AB_Group.AB-C\"] - LDAP", "business_key": { "hierarchy": true, "unique": [ "name", "application" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89f22affa931cce38d2f4", "href": "/api/data/HierarchyNode/5ae89f22affa931cce38d2f4" } ], "foreign_key": [ { "pkid": "650fe39d84eaf2a1ce636bb6", "path": "application", "model_type": "data/UserSyncSource" } ], "self": [ { "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/", "pkid": "650fe64784eaf2a1ce63c3a1" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "650fe64784eaf2a1ce63c3a1" ], "schema_version": "0.0", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/+tag/", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "method": "PATCH", "class": "tag_version", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/+tag_version/", "support_async": true, "title": "Tag Version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "650fe64784eaf2a1ce63c3a1" }, { "data": { "last_name": "sn", "manager": "manager", "street": "streetAddress", "postal_code": "postalCode", "facsimile_telephone_number": "facsimileTelephoneNumber", "object_class": "objectClass", "building_name": "physicalDeliveryOfficeName", "city": "l", "first_name": "givenName", "display_name": "displayName", "directory_uri": "mail", "pkid": "650fe64784eaf2a1ce63c3a7", "other_mailbox": "otherMailbox", "application": "LDAP", "state": "st", "home_phone": "homePhone", "department": "department", "email": "mail", "username": "sAMAccountName", "physical_delivery_office_name": "physicalDeliveryOfficeName", "description": "LDAP field mapping for [\"10.120.2.221\", \"389\", \"OU=AB-DS,OU=AB-GROUP,DC=vossqa,DC=net\", \"hcs.CS-P.CS-AB.AB_Group.AB-DS\"]", "employee_type": "employeeType", "ou": "ou", "name": "[\"10.120.2.221\", \"389\", \"OU=AB-DS,OU=AB-GROUP,DC=vossqa,DC=net\", \"hcs.CS-P.CS-AB.AB_Group.AB-DS\"]", "member_of": "memberOf", "mobile": "mobile", "country": "c", "title": "title", "telephone_number": "telephoneNumber", "employee_number": "employeeNumber", "ip_phone": "ipPhone", "model_type": "device/ldap/user", "organization": "o", "unverified_mailbox": "unverifiedMailBox", "hierarchy_friendly_name": "AB-DS (IntermediateNode)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group.AB-DS" }, "meta": { "model_type": "data/UserFieldMapping", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "application", "title": "Application name" }, { "name": "description", "title": "Description" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "[\"10.120.2.221\", \"389\", \"OU=AB-DS,OU=AB-GROUP,DC=vossqa,DC=net\", \"hcs.CS-P.CS-AB.AB_Group.AB-DS\"] - LDAP", "business_key": { "hierarchy": true, "unique": [ "name", "application" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89f25affa931cce38d369", "href": "/api/data/HierarchyNode/5ae89f25affa931cce38d369" } ], "foreign_key": [ { "pkid": "650fe39d84eaf2a1ce636bb6", "path": "application", "model_type": "data/UserSyncSource" } ], "self": [ { "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a5/", "pkid": "650fe64784eaf2a1ce63c3a5" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f25affa931cce38d369", "650fe64784eaf2a1ce63c3a5" ], "schema_version": "0.0", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a5/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a5/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a5/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a5/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a5/+tag/", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "method": "PATCH", "class": "tag_version", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a5/+tag_version/", "support_async": true, "title": "Tag Version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a5/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a5/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "650fe64784eaf2a1ce63c3a5" }, { "data": { "last_name": "lastName", "manager": "manager", "street": "street", "postal_code": "postalCode", "facsimile_telephone_number": "facsimileTelephoneNumber", "timezone": "timezone", "building_name": "buildingName", "city": "l", "first_name": "firstName", "jabber_id": "jabberID", "display_name": "displayName", "directory_uri": "directoryUri", "pkid": "650fe64684eaf2a1ce63c39b", "other_mailbox": "otherMailbox", "application": "CUCM", "state": "st", "home_phone": "homeNumber", "department": "department", "email": "mailid", "username": "userid", "physical_delivery_office_name": "physicalDeliveryOfficeName", "description": "CUCM field mapping for [\"192.168.100.15\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]", "employee_type": "employeeType", "ou": "ou", "photo_url": "photoURL", "name": "[\"192.168.100.15\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"]", "member_of": "memberOf", "mobile": "mobileNumber", "country": "c", "title": "title", "telephone_number": "telephoneNumber", "employee_number": "employeeNumber", "ip_phone": "ipPhone", "model_type": "device/cucm/User", "organization": "o", "unverified_mailbox": "unverifiedMailBox", "hierarchy_friendly_name": "AB_Group (Customer)", "hierarchy_path": "sys.hcs.CS-P.CS-AB.AB_Group" }, "meta": { "model_type": "data/UserFieldMapping", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "application", "title": "Application name" }, { "name": "description", "title": "Description" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "[\"192.168.100.15\", \"8443\", \"hcs.CS-P.CS-AB.AB_Group\"] - CUCM", "business_key": { "hierarchy": true, "unique": [ "name", "application" ] }, "api_version": "21.2", "cached": true, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "pkid": "5ae89ea2affa931cce38a523", "href": "/api/data/HierarchyNode/5ae89ea2affa931cce38a523" } ], "foreign_key": [ { "pkid": "650fe39d84eaf2a1ce636bbc", "path": "application", "model_type": "data/UserSyncSource" } ], "self": [ { "href": "/api/data/UserFieldMapping/650fe64684eaf2a1ce63c399/", "pkid": "650fe64684eaf2a1ce63c399" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "650fe64684eaf2a1ce63c399" ], "schema_version": "0.0", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/UserFieldMapping/650fe64684eaf2a1ce63c399/", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/UserFieldMapping/650fe64684eaf2a1ce63c399/", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/UserFieldMapping/650fe64684eaf2a1ce63c399/clone/?schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/UserFieldMapping/650fe64684eaf2a1ce63c399/export/", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/", "submit": "payload" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/data/UserFieldMapping/650fe64684eaf2a1ce63c399/+tag/", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/" } }, { "tag_version": { "method": "PATCH", "class": "tag_version", "href": "/api/data/UserFieldMapping/650fe64684eaf2a1ce63c399/+tag_version/", "support_async": true, "title": "Tag Version", "view": "/api/view/TagVersionForm/add/" } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/UserFieldMapping/650fe64684eaf2a1ce63c399/", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/UserFieldMapping/650fe64684eaf2a1ce63c399/help", "support_async": false, "title": "Help" } } ], "summary": "false" }, "pkid": "650fe64684eaf2a1ce63c399" } ] }
(Show the first instance)
{ "data": { "last_name": "sn", "manager": "manager", "street": "streetAddress", "postal_code": "postalCode", "facsimile_telephone_number": "facsimileTelephoneNumber", "object_class": "objectClass", "building_name": "physicalDeliveryOfficeName", "city": "l", "first_name": "givenName", "display_name": "displayName", "directory_uri": "mail", "other_mailbox": "otherMailbox", "application": "LDAP", "state": "st", "home_phone": "homePhone", "department": "department", "email": "mail", "username": "sAMAccountName", "physical_delivery_office_name": "physicalDeliveryOfficeName", "description": "LDAP field mapping for [\"10.120.2.221\", \"389\", \"OU=AB-C,OU=AB-GROUP,DC=vossqa,DC=net\", \"hcs.CS-P.CS-AB.AB_Group.AB-C\"]", "model_type": "device/ldap/user", "employee_type": "employeeType", "ou": "ou", "name": "[\"10.120.2.221\", \"389\", \"OU=AB-C,OU=AB-GROUP,DC=vossqa,DC=net\", \"hcs.CS-P.CS-AB.AB_Group.AB-C\"]", "member_of": "memberOf", "mobile": "mobile", "country": "c", "title": "title", "telephone_number": "telephoneNumber", "employee_number": "employeeNumber", "ip_phone": "ipPhone", "organization": "o", "unverified_mailbox": "unverifiedMailBox", "pkid": "650fe64784eaf2a1ce63c3a3" }, "meta": { "model_type": "data/UserFieldMapping", "summary_attrs": [ { "name": "name", "title": "Name" }, { "name": "application", "title": "Application name" }, { "name": "description", "title": "Description" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "[\"10.120.2.221\", \"389\", \"OU=AB-C,OU=AB-GROUP,DC=vossqa,DC=net\", \"hcs.CS-P.CS-AB.AB_Group.AB-C\"] - LDAP", "business_key": { "hierarchy": true, "unique": [ "name", "application" ] }, "api_version": "21.2", "cached": false, "references": { "device": [ { "href": "", "pkid": "" } ], "owner": [ { "pkid": "" } ], "parent": [ { "href": "/api/data/HierarchyNode/5ae89f22affa931cce38d2f4", "pkid": "5ae89f22affa931cce38d2f4" } ], "foreign_key": [ { "pkid": "650fe39d84eaf2a1ce636bb6", "path": "application", "model_type": "data/UserSyncSource" } ], "children": [], "self": [ { "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/", "pkid": "650fe64784eaf2a1ce63c3a1" } ] }, "path": [ "6t0ggef2c0deab00hb595101", "5ad5bacbaffa9343e4d93e01", "5ae89b62affa931cce3855c4", "5ae89c0faffa931cce386c0f", "5ae89ea2affa931cce38a523", "5ae89f22affa931cce38d2f4", "650fe64784eaf2a1ce63c3a1" ], "schema_version": "0.0", "actions": [ { "update": { "method": "PUT", "class": "update", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/?hierarchy=[hierarchy]", "support_async": true, "title": "Modify" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "clone": { "method": "GET", "class": "clone", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/clone/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Clone" } }, { "export": { "method": "GET", "class": "export", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/export/?hierarchy=[hierarchy]", "support_async": false, "title": "Export", "view": "/api/view/ExportData/add/?auth_token=[authtoken], "submit": "payload" } }, { "tag": { "method": "PATCH", "class": "tag", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/+tag/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag", "view": "/api/view/TagNameForm/add/?auth_token=[authtoken] } }, { "tag_version": { "method": "PATCH", "class": "tag_version", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/+tag_version/?hierarchy=[hierarchy]", "support_async": true, "title": "Tag Version", "view": "/api/view/TagVersionForm/add/?auth_token=[authtoken] } }, { "get": { "method": "GET", "class": "get", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/?hierarchy=[hierarchy]", "support_async": false, "title": "Get" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/UserFieldMapping/650fe64784eaf2a1ce63c3a1/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "pkid": "650fe64784eaf2a1ce63c3a1" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/UserFieldMapping. | GET | /api/data/UserFieldMapping/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/UserFieldMapping as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/UserFieldMapping/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/UserFieldMapping/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/UserFieldMapping/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/UserFieldMapping/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a selected [export_format] of the schema and a single instance with [pkid] of data/UserFieldMapping; optionally with tag_version at [version] and Configuration Template as [configtemplate]. | GET | /api/data/UserFieldMapping/[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 data/UserFieldMapping and the JSON format can be used to import instances of data/UserFieldMapping.
For Bulk Export, refer to the Bulk Export section.
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Tag | PATCH | /api/data/UserFieldMapping/[pkid]/+tag | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/UserFieldMapping/[pkid] | hierarchy=[hierarchy] | The data/UserFieldMapping instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/UserFieldMapping/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/UserFieldMapping. |