[Index]

API Reference for data/exchangeonline

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.

For a list of available UUIDs and their dot notations:
GET /api/v0/data/HierarchyNode/?format=json

Get the Add form

Task Call URL Parameters Response
Get the GUI Add form. GET /api/data/exchangeonline/add/
  • hierarchy=[hierarchy]
  • format=json
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.

Create

Task Call URL Parameters Payload
Create POST /api/data/exchangeonline/ hierarchy=[hierarchy]
(For payload specification)

  • Response is a transaction pkid for the create action.
  • Use the GET call to
    tool/Transaction/[trans pkid]
    to inspect the created resource and its instance pkid.
  • Bulk Delete

    Task Call URL Parameters Payload
    Bulk delete [pkid1],[pkid2]... DELETE /api/data/exchangeonline/ hierarchy=[hierarchy] {"hrefs":["/api/data/exchangeonline/[pkid1]", "/api/data/exchangeonline/[pkid2]", ...]}
    • For the instance pkids [pkid1],[pkid2], ... that can be added to the DELETE call (the instance pkids to delete), refer to the List GET call for: data/exchangeonline
      GET http://[host-proxy]/api/data/exchangeonline/?hierarchy=[hierarchy]&format=json

    Bulk Modify

    Task Call URL Parameters Response
    Bulk Modify GET /api/data/exchangeonline/bulk_update/?schema=&schema_rules=true
    • hierarchy=[hierarchy]
    • format=json
    • pkids=pkid1,pkid2,...
      In JSON format:
    • POST call to update the instances of data/exchangeonline
    • data/exchangeonline schema to create POST payload.
    Task Call URL Parameters Payload
    Bulk Modify POST /api/data/exchangeonline/bulk_update/
    • hierarchy=[hierarchy]
    • format=json
    For example:
    {"data":{"name":"value"}, "meta":{}, "request_meta":{ "hrefs":["/api/v0/data/exchangeonline/[pkid1]", "/api/v0/data/exchangeonline/[pkid2]",...]}}
    • To get a list of model instance pkids that are available to Bulk Modify, use the GET call:
      GET http://[host-proxy]/api/data/exchangeonline/?hierarchy=[hierarchy]&format=json
    • The POST payload is in JSON format (refer to the Payload example) and contains:
      • data in name-value update pairs according to the returned schema
      • meta (empty - for a valid payload)
      • request_meta with the hrefs list of instances to update

    Export Bulk Load Template

    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/
    • hierarchy=[hierarchy]
    • modeltype=data/exchangeonline
    The response is an attachment of the format: filetype_bulkloadsheet.xlsx.gz

    Configuration Template

    Task Call URL Parameters Response
    Configuration Template GET /api/data/exchangeonline/configuration_template/ hierarchy=[hierarchy]
    • POST call to create the Configuration Template
    • Configuration Template schema

    • Use the returned properties to create the POST payload data for the .
    • For a description of the schema that shows properties to add to the POST payload:
      • The POST call is of the format:
      • POST http://[host-proxy]/api/data/ConfigurationTemplate/?hierarchy=[hierarchy]

    Field Display Policy

    Task Call URL Parameters Response
    Field Display Policy GET /api/data/exchangeonline/field_display_policy/ hierarchy=[hierarchy]
    • POST call to create the Field Display Policy
    • Field Display Policy schema

    • Use the returned properties to create the POST payload data for the .
    • For a description of the schema that shows properties to add to the POST payload:
    • The POST call is of the format:
      • POST http://[host-proxy]/api/data/FieldDisplayPolicy/?hierarchy=[hierarchy]

    Migration Template

    Task Call URL Parameters Response
    Migration Template GET /api/data/exchangeonline/migration/
    • hierarchy=[hierarchy]
    • format=json
     

    List

    Task Call URL Parameters Response
    List GET /api/data/exchangeonline/
    • hierarchy=[hierarchy]
    • format=json
    • schema=true
    The data/exchangeonline schema and all instances as JSON.

    (The list will return 0 to 3 data/exchangeonline instances)

    Help

    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

    Instance API Reference

    Modify

    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.

    Delete

    Task Call URL Parameters Response
    Delete DELETE /api/data/exchangeonline/[pkid]/ hierarchy=[hierarchy]

    Clone

    Task Call URL Parameters Response
    Clone instance with [pkid]. The schema rules are applied. GET /api/data/exchangeonline/[pkid]/clone/?schema=&schema_rules=true
    • hierarchy=[hierarchy]
    A JSON payload with:
    • A POST action URL.
    • The unchanged model [pkid] payload to be modified to create a new instance.
    • For the instance pkids that can cloned, refer to the List GET call for data/exchangeonline
    • GET http://[host-proxy]/api/data/exchangeonline/?hierarchy=[hierarchy]&format=json
    • Use the POST action in the response with a modification of the response payload to create the clone.

    Test Connection

    Task Call URL Parameters Payload
    Test Connection POST /api/data/exchangeonline/[pkid]/test_connect/ hierarchy=[hierarchy] If payload required:

    Get

    Task Call URL Parameters Response
    Get GET /api/data/exchangeonline/[pkid]/ hierarchy=[hierarchy] The data/exchangeonline instance with [pkid].

    Help

    Task Call URL Parameters Response
    Help GET /api/data/exchangeonline/[pkid]/help hierarchy=[hierarchy] The on-line Help for data/exchangeonline.