IDRARestServer ContactCopy Method DRA REST Extensions SDK
Copy the specified contact to a new contact
UriTemplate: /dra/domains/{domainFqdn}/contacts/copies

Namespace: NetIQ.DRA.RestServiceLibrary
Assembly: NetIQ.DRA.RestServiceLibrary (in NetIQ.DRA.RestServiceLibrary.dll) Version: 1.1.0.318 (1.1.0.318)
Syntax

[WebInvokeAttribute(Method = "POST", ResponseFormat = WebMessageFormat.Json, 
	RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, 
	UriTemplate = "/dra/domains/{domainFqdn}/contacts/copies/post")]
[OperationContractAttribute]
Stream ContactCopy(
	string domainFqdn,
	string contactIdentifier,
	Contact contact,
	ConnectionParameters connectionParameters
)

Parameters

domainFqdn
Type: OnlineSystem String
The FQDN of the domain where the contact is located
contactIdentifier
Type: OnlineSystem String
A string identifying the contact to copy. Supported formats are: name or distinguishedName
contact
Type: NetIQ.DRA.Common.Rest.DataModels Contact
A User object containing the properties of the destination contact
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModels ConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials

Return Value

Type: OnlineStream
A GetContactPropertiesResponse object containing the operation results
See Also