POST api/ScheduleReport/SaveReportColumn

Request Information

URI Parameters

None.

Body Parameters

MasterReportColumnDTO
NameDescriptionTypeAdditional information
ReportId

integer

None.

listReportColumn

Collection of ReportColumnDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "ReportId": 1,
  "listReportColumn": [
    {
      "Id": 1,
      "ReportId": 2,
      "ReportTypeId": 3,
      "ReportColumnTypeId": 4,
      "CustomName": "sample string 5",
      "Sequence": 6,
      "IsEnable": true,
      "ColumnCode": "sample string 8",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:36:23.3752396-08:00",
      "DateUpdated": "2024-11-21T00:36:23.3752396-08:00",
      "UserIDCreated": 12,
      "UserIDUpdated": 13,
      "CompanyCode": "sample string 14",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "ReportId": 2,
      "ReportTypeId": 3,
      "ReportColumnTypeId": 4,
      "CustomName": "sample string 5",
      "Sequence": 6,
      "IsEnable": true,
      "ColumnCode": "sample string 8",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:36:23.3752396-08:00",
      "DateUpdated": "2024-11-21T00:36:23.3752396-08:00",
      "UserIDCreated": 12,
      "UserIDUpdated": 13,
      "CompanyCode": "sample string 14",
      "IsExcludeDiscount": true
    }
  ]
}

application/xml, text/xml

Sample:
<MasterReportColumnDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.Report">
  <ReportId>1</ReportId>
  <listReportColumn>
    <ReportColumnDTO>
      <CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 14</CompanyCode>
      <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2024-11-21T00:36:23.3752396-08:00</DateCreated>
      <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2024-11-21T00:36:23.3752396-08: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">12</UserIDCreated>
      <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">13</UserIDUpdated>
      <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
      <ColumnCode>sample string 8</ColumnCode>
      <CustomName>sample string 5</CustomName>
      <Id>1</Id>
      <IsEnable>true</IsEnable>
      <ReportColumnTypeId>4</ReportColumnTypeId>
      <ReportId>2</ReportId>
      <ReportTypeId>3</ReportTypeId>
      <Sequence>6</Sequence>
    </ReportColumnDTO>
    <ReportColumnDTO>
      <CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 14</CompanyCode>
      <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2024-11-21T00:36:23.3752396-08:00</DateCreated>
      <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2024-11-21T00:36:23.3752396-08: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">12</UserIDCreated>
      <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">13</UserIDUpdated>
      <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
      <ColumnCode>sample string 8</ColumnCode>
      <CustomName>sample string 5</CustomName>
      <Id>1</Id>
      <IsEnable>true</IsEnable>
      <ReportColumnTypeId>4</ReportColumnTypeId>
      <ReportId>2</ReportId>
      <ReportTypeId>3</ReportTypeId>
      <Sequence>6</Sequence>
    </ReportColumnDTO>
  </listReportColumn>
</MasterReportColumnDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfMasterReportColumnDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

MasterReportColumnDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "ReportId": 1,
    "listReportColumn": [
      {
        "Id": 1,
        "ReportId": 2,
        "ReportTypeId": 3,
        "ReportColumnTypeId": 4,
        "CustomName": "sample string 5",
        "Sequence": 6,
        "IsEnable": true,
        "ColumnCode": "sample string 8",
        "ValidFlag": true,
        "DateCreated": "2024-11-21T00:36:23.3909117-08:00",
        "DateUpdated": "2024-11-21T00:36:23.3909117-08:00",
        "UserIDCreated": 12,
        "UserIDUpdated": 13,
        "CompanyCode": "sample string 14",
        "IsExcludeDiscount": true
      },
      {
        "Id": 1,
        "ReportId": 2,
        "ReportTypeId": 3,
        "ReportColumnTypeId": 4,
        "CustomName": "sample string 5",
        "Sequence": 6,
        "IsEnable": true,
        "ColumnCode": "sample string 8",
        "ValidFlag": true,
        "DateCreated": "2024-11-21T00:36:23.3909117-08:00",
        "DateUpdated": "2024-11-21T00:36:23.3909117-08:00",
        "UserIDCreated": 12,
        "UserIDUpdated": 13,
        "CompanyCode": "sample string 14",
        "IsExcludeDiscount": true
      }
    ]
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfMasterReportColumnDTO_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">
    <d2p1:ReportId>1</d2p1:ReportId>
    <d2p1:listReportColumn>
      <d2p1:ReportColumnDTO>
        <CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 14</CompanyCode>
        <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2024-11-21T00:36:23.3909117-08:00</DateCreated>
        <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2024-11-21T00:36:23.3909117-08: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">12</UserIDCreated>
        <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">13</UserIDUpdated>
        <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
        <d2p1:ColumnCode>sample string 8</d2p1:ColumnCode>
        <d2p1:CustomName>sample string 5</d2p1:CustomName>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsEnable>true</d2p1:IsEnable>
        <d2p1:ReportColumnTypeId>4</d2p1:ReportColumnTypeId>
        <d2p1:ReportId>2</d2p1:ReportId>
        <d2p1:ReportTypeId>3</d2p1:ReportTypeId>
        <d2p1:Sequence>6</d2p1:Sequence>
      </d2p1:ReportColumnDTO>
      <d2p1:ReportColumnDTO>
        <CompanyCode xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">sample string 14</CompanyCode>
        <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2024-11-21T00:36:23.3909117-08:00</DateCreated>
        <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2024-11-21T00:36:23.3909117-08: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">12</UserIDCreated>
        <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">13</UserIDUpdated>
        <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
        <d2p1:ColumnCode>sample string 8</d2p1:ColumnCode>
        <d2p1:CustomName>sample string 5</d2p1:CustomName>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsEnable>true</d2p1:IsEnable>
        <d2p1:ReportColumnTypeId>4</d2p1:ReportColumnTypeId>
        <d2p1:ReportId>2</d2p1:ReportId>
        <d2p1:ReportTypeId>3</d2p1:ReportTypeId>
        <d2p1:Sequence>6</d2p1:Sequence>
      </d2p1:ReportColumnDTO>
    </d2p1:listReportColumn>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfMasterReportColumnDTO_Sapgg6g_S>