POST api/v1/RP_Customer_Reward4M_Final/ExportToGGSheet

Request Information

URI Parameters

None.

Body Parameters

RP_Customer_Reward4M_HistoryParamModel
NameDescriptionTypeAdditional information
Barcode

string

None.

CustomerId

string

None.

FromDate

decimal number

None.

ToDate

decimal number

None.

ConfigReward4MId

string

None.

MaterialId

string

None.

MaterialCode

string

None.

CounterId

string

None.

Page

integer

None.

PageSize

integer

None.

IsExportExcel

boolean

None.

FilterQuery

Dictionary of string [key] and Object [value]

None.

ScreenGUID

string

None.

DocumentWidth

integer

None.

Url

string

None.

OptionConfigsMore

Dictionary of string [key] and Object [value]

None.

QuerySearch

Dictionary of string [key] and Object [value]

None.

IsTestCase

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Barcode": "sample string 1",
  "CustomerId": "sample string 2",
  "FromDate": 1.1,
  "ToDate": 1.1,
  "ConfigReward4MId": "sample string 3",
  "MaterialId": "sample string 4",
  "MaterialCode": "sample string 5",
  "CounterId": "sample string 6",
  "Page": 7,
  "PageSize": 8,
  "IsExportExcel": true,
  "FilterQuery": null,
  "ScreenGUID": "sample string 10",
  "DocumentWidth": 11,
  "Url": "sample string 12",
  "OptionConfigsMore": null,
  "QuerySearch": null,
  "IsTestCase": true
}

application/xml, text/xml

Sample:
<RP_Customer_Reward4M_HistoryParamModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <DocumentWidth xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">11</DocumentWidth>
  <FilterQuery xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <IsTestCase xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsTestCase>
  <OptionConfigsMore xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <QuerySearch xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <ScreenGUID xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 10</ScreenGUID>
  <Url xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 12</Url>
  <Barcode>sample string 1</Barcode>
  <ConfigReward4MId>sample string 3</ConfigReward4MId>
  <CounterId>sample string 6</CounterId>
  <CustomerId>sample string 2</CustomerId>
  <FromDate>1.1</FromDate>
  <IsExportExcel>true</IsExportExcel>
  <MaterialCode>sample string 5</MaterialCode>
  <MaterialId>sample string 4</MaterialId>
  <Page>7</Page>
  <PageSize>8</PageSize>
  <ToDate>1.1</ToDate>
</RP_Customer_Reward4M_HistoryParamModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RP_Customer_Reward4M_HistoryParamModel'.

Response Information

Resource Description

EzyResultObjectOfExportExcelResultModel
NameDescriptionTypeAdditional information
Data

ExportExcelResultModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "FileId": "sample string 1",
    "FullPath": "sample string 2",
    "sMessage": "sample string 3"
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfExportExcelResultModelR0RYriJB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">
    <d2p1:FileId>sample string 1</d2p1:FileId>
    <d2p1:FullPath>sample string 2</d2p1:FullPath>
    <d2p1:sMessage>sample string 3</d2p1:sMessage>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfExportExcelResultModelR0RYriJB>