PUT api/EmailUser/Copy
Copy target report group type to new email user.
Request Information
URI Parameters
None.
Body Parameters
dto.email = new email user to create, dto.target = copy the report group types of the email user containing id
EmailUserCopyDTOName | Description | Type | Additional information |
---|---|---|---|
string |
None. |
||
target | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "email": "sample string 1", "target": 2 }
text/html
Sample:
{"email":"sample string 1","target":2}
application/xml, text/xml
Sample:
<EmailUserCopyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._BLL"> <email>sample string 1</email> <target>2</target> </EmailUserCopyDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StatusDTOName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "msg": "sample string 1" }
text/html
Sample:
{"id":1,"msg":"sample string 1"}
application/xml, text/xml
Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._DAL"> <id>1</id> <msg>sample string 1</msg> </StatusDTO>