项目作者: shanec-

项目描述 :
Dynamics 365 Customer Engagement - Online Management API Client
高级语言: C#
项目地址: git://github.com/shanec-/OnlineManagementApiClient.git
创建时间: 2017-09-09T13:06:32Z
项目社区:https://github.com/shanec-/OnlineManagementApiClient

开源协议:GNU General Public License v3.0

下载


Dynamics 365 Customer Engagement - Online Management API Client

Build status

A tool that can be used to interact with the Dynamics 365 Customer Engagement API.

Usage

Execute the client using the following command line parameters:

omac.exe <OperationName> --<Parameter1> "<ParameterValue1>" --<Parameter2> "<ParameterValue2>"

Example:

omac.exe GetInstances --username "admin@sndbx16.onmicrosoft.com" --password "Pass@word1"

Available Operations

Use the following command in order to get a list of available operations:

omac.exe --help

and the following command to get more information about a specific operation.

omac.exe <operationName> --help

Operation Description
GetInstances Retrieves a Customer Engagement instance in your Office 365 tenant.
CreateInstance Provisions (creates) a Customer Engagement instance in your Office 365 tenant.
DeleteInstance Deletes a Customer Engagement instance in your Office 365 tenant.
GetOperation Retrieves status of an operation in your Customer Engagement instance.
GetServiceVersions Retrieves information about all the supported releases for Customer Engagement.
GetBackups Retrieves all backups of a Customer Engagement instance.
CreateBackup Backs up a Customer Engagement instance.
RestoreBackup Restores a Customer Engagement instance in your Office 365 tenant.

Delete Instance

  1. Retreive a list of available instances:

    1. `omac.exe GetInstances --username "admin@sndbx16.onmicrosoft.com" --password "Pass@word1"`
  2. Delete the instance using previously obtained instance details:

    1. `omac.exe DeleteInstance -f SuperInstance -confirm -u admin@sndbx16.onmicrosoft.com -p "Pass@word1"`

Create Instance

  1. Create new instance on the tenant:

    1. `.\omac.exe CreateInstance -f "SandboxPlayground" -d "sndbx16" -e "admin@sndbx16.onmicrosoft.com" --username "admin@sndbx16.onmicrosoft.com" --password "Pass@word1"`