[Index]
Stores the connection parameters of an Exchange Online instance.
Model ref.: data/exchangeonline
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": { "version": { "choices": [ { "value": "2017.1", "title": "Schema as of 2017" } ], "required": true, "type": "string", "title": "Version" }, "host": { "required": true, "type": "string", "title": "Host Name" }, "username": { "required": true, "type": "string", "title": "Username" }, "password": { "is_password": true, "title": "Password", "required": true, "store_encrypted": true, "type": "string" }, "domain_name": { "required": true, "type": "string", "title": "Domain Name" }, "domain_username": { "required": true, "type": "string", "title": "Domain Username" }, "domain_password": { "is_password": true, "title": "Domain Password", "required": true, "store_encrypted": true, "type": "string" }, "connection_uri": { "required": true, "type": "string", "title": "Connection URI" }, "online_username": { "required": true, "type": "string", "title": "Online Username" }, "online_password": { "is_password": true, "title": "Online Password", "required": true, "store_encrypted": true, "type": "string" }, "model_relation_mapping": { "type": "object", "title": "Model Relation Mapping", "properties": { "mappings": { "default": [ { "model_to": "DomainController", "model_from_attribute": "DomainController", "model_from": "Mailbox", "model_to_display_attribute": "Identity", "model_to_target_attribute": "Identity" } ], "items": { "type": "object", "properties": { "model_from": { "default": "string", "type": "string", "title": "Model From" }, "model_from_attribute": { "default": "string", "type": "string", "title": "Model From Attribute" }, "model_to": { "default": "string", "type": "string", "title": "Model To" }, "model_to_target_attribute": { "default": "string", "type": "string", "title": "Model To Target Attribute" }, "model_to_display_attribute": { "default": "string", "type": "string", "title": "Model To Display Attribute" } } }, "type": "array", "title": "Mappings" } } } }, "schema_version": "0.1.7" }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the GUI Add form. | GET | /api/data/exchangeonline/add/ |
|
The GUI Add form of data/exchangeonline 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/exchangeonline | 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/exchangeonline/ | hierarchy=[hierarchy] | {"hrefs":["/api/data/exchangeonline/[pkid1]", "/api/data/exchangeonline/[pkid2]", ...]} |
GET http://[host-proxy]/api/data/exchangeonline/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Bulk Modify | GET | /api/data/exchangeonline/bulk_update/?schema=&schema_rules=true |
|
|
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Bulk Modify | POST | /api/data/exchangeonline/bulk_update/ |
|
For example: {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/exchangeonline/[pkid1]", "/api/v0/data/exchangeonline/[pkid2]",...]}} |
GET http://[host-proxy]/api/data/exchangeonline/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get a compressed format of the Bulk Load spreadsheet template for data/exchangeonline | POST | /api/data/exchangeonline/export_bulkload_template/ |
|
The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Configuration Template | GET | /api/data/exchangeonline/configuration_template/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Field Display Policy | GET | /api/data/exchangeonline/field_display_policy/ | hierarchy=[hierarchy] |
|
POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Migration Template | GET | /api/data/exchangeonline/migration/ |
|
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
List | GET | /api/data/exchangeonline/ |
|
The data/exchangeonline schema and all instances as JSON. |
(The list will return 0 to 3 data/exchangeonline instances)
{ "pagination": { "skip": 0, "limit": 3, "maximum_limit": 2000, "total": 0, "total_limit": null, "order_by": "domain_name", "direction": "asc", "current": "/api/data/exchangeonline/?skip=0&limit=3&order_by=domain_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/exchangeonline", "summary_attrs": [ { "name": "domain_name", "title": "Domain Name" }, { "name": "host", "title": "Host Name" }, { "name": "hierarchy_friendly_name", "title": "Located At", "allow_filtering": true } ], "tagged_versions": [], "tags": [], "title": "?", "business_key": { "hierarchy": true, "unique": [ "host" ] }, "api_version": "21.2", "cached": true, "references": { "children": [], "parent": [ { "href": "/api/data/HierarchyNode/6t0ggef2c0deab00hb595101", "pkid": "6t0ggef2c0deab00hb595101" } ], "device": [ { "href": "", "pkid": "" } ], "foreign_key": [] }, "model_specific_actions": [ "add", "bulk_update_form", "clone", "configuration_template", "export_bulkload_template", "field_display_policy", "get", "help", "list", "migration", "remove", "test_connect", "update" ], "schema_version": "0.1.7", "actions": [ { "add": { "method": "GET", "class": "add", "href": "/api/data/exchangeonline/add/?hierarchy=[hierarchy]", "support_async": false, "title": "Add" } }, { "remove": { "method": "DELETE", "class": "delete", "href": "/api/data/exchangeonline/?hierarchy=[hierarchy]", "support_async": true, "title": "Delete" } }, { "bulk_update_form": { "method": "GET", "class": "update", "href": "/api/data/exchangeonline/bulk_update/?hierarchy=[hierarchy]&schema=&schema_rules=true", "support_async": false, "title": "Bulk Modify" } }, { "export_bulkload_template": { "method": "POST", "class": "bulkload_template", "href": "/api/data/exchangeonline/export_bulkload_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Export Bulk Load Template" } }, { "configuration_template": { "method": "GET", "class": "config", "href": "/api/data/exchangeonline/configuration_template/?hierarchy=[hierarchy]", "support_async": false, "title": "Configuration Template" } }, { "field_display_policy": { "method": "GET", "class": "display_policy", "href": "/api/data/exchangeonline/field_display_policy/?hierarchy=[hierarchy]", "support_async": false, "title": "Field Display Policy" } }, { "migration": { "method": "GET", "class": "migration", "href": "/api/data/exchangeonline/migration/?hierarchy=[hierarchy]", "support_async": false, "title": "Migration Template" } }, { "list": { "method": "GET", "class": "list", "href": "/api/data/exchangeonline/?hierarchy=[hierarchy]", "support_async": false, "title": "List" } }, { "help": { "method": "GET", "class": "help", "href": "/api/data/exchangeonline/help?hierarchy=[hierarchy]", "support_async": false, "title": "Help" } } ] }, "resources": [] }
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get the on-line Help for data/exchangeonline. | GET | /api/data/exchangeonline/help | hierarchy=[hierarchy] | On-line help of Model ref.: data/exchangeonline as HTML |
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Modify | PUT | /api/data/exchangeonline/[pkid] | hierarchy=[hierarchy] | (For payload specification) |
For Bulk modification, refer to the Bulk Modify section.
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Delete | DELETE | /api/data/exchangeonline/[pkid] | hierarchy=[hierarchy] |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Clone instance with [pkid]. The schema rules are applied. | GET | /api/data/exchangeonline/[pkid]/clone/?schema=&schema_rules=true |
|
A JSON payload with:
|
GET http://[host-proxy]/api/data/exchangeonline/?hierarchy=[hierarchy]&format=json
Task | Call | URL | Parameters | Payload |
---|---|---|---|---|
Test Connection | POST | /api/data/exchangeonline/[pkid]/test_connect | hierarchy=[hierarchy] | If payload required: |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Get | GET | /api/data/exchangeonline/[pkid] | hierarchy=[hierarchy] | The data/exchangeonline instance with [pkid]. |
Task | Call | URL | Parameters | Response |
---|---|---|---|---|
Help | GET | /api/data/exchangeonline/[pkid]/help | hierarchy=[hierarchy] | The on-line Help for data/exchangeonline. |