POST api/Reports?organizationId={organizationId}
Add a new report Will add the report to the organization if specificied
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| organizationId | globally unique identifier |
None. |
Body Parameters
ReportDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| CaseName | string |
None. |
|
| FriendlyId | string |
None. |
|
| Template | string |
None. |
|
| Sections | Collection of ReportSectionDetail |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReportSimple| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "a8b21537-d9d7-4642-823c-138166aaefc2",
"Name": "sample string 2"
}
application/xml, text/xml
Sample:
<ReportSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XCapture.DTO"> <Id>a8b21537-d9d7-4642-823c-138166aaefc2</Id> <Name>sample string 2</Name> </ReportSimple>