PUT api/Reports/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Report| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ReportId | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| OrganisationId | string |
None. |
|
| ReportUsers | Collection of ReportUser |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ReportId": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"IsDeleted": true,
"OrganisationId": "sample string 6",
"ReportUsers": [
{
"Id": 1,
"ReportId": 2,
"UserId": "sample string 3",
"EmailAddress": "sample string 4"
},
{
"Id": 1,
"ReportId": 2,
"UserId": "sample string 3",
"EmailAddress": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<Report xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pyramid.View.API.Models">
<Description>sample string 4</Description>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 3</Name>
<OrganisationId>sample string 6</OrganisationId>
<ReportId>sample string 2</ReportId>
<ReportUsers>
<ReportUser>
<EmailAddress>sample string 4</EmailAddress>
<Id>1</Id>
<ReportId>2</ReportId>
<UserId>sample string 3</UserId>
</ReportUser>
<ReportUser>
<EmailAddress>sample string 4</EmailAddress>
<Id>1</Id>
<ReportId>2</ReportId>
<UserId>sample string 3</UserId>
</ReportUser>
</ReportUsers>
</Report>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.