POST api/ScheduleReport/SaveReport
Request Information
URI Parameters
None.
Body Parameters
ReportDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 100 |
|
| ReportTypeId | integer |
None. |
|
| FrequencyId | integer |
None. |
|
| CorporationCode | string |
String length: inclusive between 0 and 20 |
|
| OwnerEmail | string |
String length: inclusive between 0 and 50 |
|
| FrequencyType | string |
String length: inclusive between 0 and 100 |
|
| ReportTypeName | string |
String length: inclusive between 0 and 100 |
|
| IsPublished | boolean |
None. |
|
| EmailBody | string |
String length: inclusive between 0 and 4000 |
|
| ExportFileName | string |
String length: inclusive between 0 and 100 |
|
| SubjectLine | string |
String length: inclusive between 0 and 200 |
|
| MessageQueueId | integer |
None. |
|
| KeyName | string |
String length: inclusive between 0 and 250 |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| IsDataFound | boolean |
None. |
|
| CorporationName | string |
String length: inclusive between 0 and 100 |
|
| ReportTimeFrameId | integer |
None. |
|
| copyId | integer |
None. |
|
| ValidFlag | boolean |
None. |
|
| DateCreated | date |
None. |
|
| DateUpdated | date |
None. |
|
| UserIDCreated | integer |
None. |
|
| UserIDUpdated | integer |
None. |
|
| CompanyCode | string |
String length: inclusive between 0 and 20 |
|
| IsExcludeDiscount | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"ReportTypeId": 3,
"FrequencyId": 4,
"CorporationCode": "sample string 5",
"OwnerEmail": "sample string 6",
"FrequencyType": "sample string 7",
"ReportTypeName": "sample string 8",
"IsPublished": true,
"EmailBody": "sample string 10",
"ExportFileName": "sample string 11",
"SubjectLine": "sample string 12",
"MessageQueueId": 1,
"KeyName": "sample string 13",
"StartDate": "2025-10-30T13:38:53.9793052-07:00",
"EndDate": "2025-10-30T13:38:53.9793052-07:00",
"IsDataFound": true,
"CorporationName": "sample string 17",
"ReportTimeFrameId": 1,
"copyId": 18,
"ValidFlag": true,
"DateCreated": "2025-10-30T13:38:53.9793052-07:00",
"DateUpdated": "2025-10-30T13:38:53.9793052-07:00",
"UserIDCreated": 22,
"UserIDUpdated": 23,
"CompanyCode": "sample string 24",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<ReportDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.Report"> <CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 24</CompanyCode> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T13:38:53.9793052-07:00</DateCreated> <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T13:38:53.9793052-07:00</DateUpdated> <IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount> <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">22</UserIDCreated> <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">23</UserIDUpdated> <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag> <CorporationCode>sample string 5</CorporationCode> <CorporationName>sample string 17</CorporationName> <EmailBody>sample string 10</EmailBody> <EndDate>2025-10-30T13:38:53.9793052-07:00</EndDate> <ExportFileName>sample string 11</ExportFileName> <FrequencyId>4</FrequencyId> <FrequencyType>sample string 7</FrequencyType> <Id>1</Id> <IsDataFound>true</IsDataFound> <IsPublished>true</IsPublished> <KeyName>sample string 13</KeyName> <MessageQueueId>1</MessageQueueId> <Name>sample string 2</Name> <OwnerEmail>sample string 6</OwnerEmail> <ReportTimeFrameId>1</ReportTimeFrameId> <ReportTypeId>3</ReportTypeId> <ReportTypeName>sample string 8</ReportTypeName> <StartDate>2025-10-30T13:38:53.9793052-07:00</StartDate> <SubjectLine>sample string 12</SubjectLine> <copyId>18</copyId> </ReportDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfReportDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | ReportDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"Name": "sample string 2",
"ReportTypeId": 3,
"FrequencyId": 4,
"CorporationCode": "sample string 5",
"OwnerEmail": "sample string 6",
"FrequencyType": "sample string 7",
"ReportTypeName": "sample string 8",
"IsPublished": true,
"EmailBody": "sample string 10",
"ExportFileName": "sample string 11",
"SubjectLine": "sample string 12",
"MessageQueueId": 1,
"KeyName": "sample string 13",
"StartDate": "2025-10-30T13:38:54.0002011-07:00",
"EndDate": "2025-10-30T13:38:54.0002011-07:00",
"IsDataFound": true,
"CorporationName": "sample string 17",
"ReportTimeFrameId": 1,
"copyId": 18,
"ValidFlag": true,
"DateCreated": "2025-10-30T13:38:54.0002011-07:00",
"DateUpdated": "2025-10-30T13:38:54.0002011-07:00",
"UserIDCreated": 22,
"UserIDUpdated": 23,
"CompanyCode": "sample string 24",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfReportDTO_Sapgg6g_S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
<isSuccess>true</isSuccess>
<jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.Report">
<CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 24</CompanyCode>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T13:38:54.0002011-07:00</DateCreated>
<DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-10-30T13:38:54.0002011-07:00</DateUpdated>
<IsExcludeDiscount xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</IsExcludeDiscount>
<UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">22</UserIDCreated>
<UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">23</UserIDUpdated>
<ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
<d2p1:CorporationCode>sample string 5</d2p1:CorporationCode>
<d2p1:CorporationName>sample string 17</d2p1:CorporationName>
<d2p1:EmailBody>sample string 10</d2p1:EmailBody>
<d2p1:EndDate>2025-10-30T13:38:54.0002011-07:00</d2p1:EndDate>
<d2p1:ExportFileName>sample string 11</d2p1:ExportFileName>
<d2p1:FrequencyId>4</d2p1:FrequencyId>
<d2p1:FrequencyType>sample string 7</d2p1:FrequencyType>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsDataFound>true</d2p1:IsDataFound>
<d2p1:IsPublished>true</d2p1:IsPublished>
<d2p1:KeyName>sample string 13</d2p1:KeyName>
<d2p1:MessageQueueId>1</d2p1:MessageQueueId>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:OwnerEmail>sample string 6</d2p1:OwnerEmail>
<d2p1:ReportTimeFrameId>1</d2p1:ReportTimeFrameId>
<d2p1:ReportTypeId>3</d2p1:ReportTypeId>
<d2p1:ReportTypeName>sample string 8</d2p1:ReportTypeName>
<d2p1:StartDate>2025-10-30T13:38:54.0002011-07:00</d2p1:StartDate>
<d2p1:SubjectLine>sample string 12</d2p1:SubjectLine>
<d2p1:copyId>18</d2p1:copyId>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfReportDTO_Sapgg6g_S>