POST api/v1/ChangeDetail_CounterOnline/List

Request Information

URI Parameters

None.

Body Parameters

ChangeDetailParamModel
NameDescriptionTypeAdditional information
ChangeStockId

string

None.

ItemCodeAndQuantity

string

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:
{
  "ChangeStockId": "sample string 1",
  "ItemCodeAndQuantity": "sample string 2",
  "FilterQuery": null,
  "ScreenGUID": "sample string 3",
  "DocumentWidth": 4,
  "Url": "sample string 5",
  "OptionConfigsMore": null,
  "QuerySearch": null,
  "IsTestCase": true
}

application/xml, text/xml

Sample:
<ChangeDetailParamModel 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">4</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 3</ScreenGUID>
  <Url xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 5</Url>
  <ChangeStockId>sample string 1</ChangeStockId>
  <ItemCodeAndQuantity>sample string 2</ItemCodeAndQuantity>
</ChangeDetailParamModel>

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 'ChangeDetailParamModel'.

Response Information

Resource Description

EzyResultObjectOfEzyDataSourceResultOfChangeDetailModel
NameDescriptionTypeAdditional information
Data

EzyDataSourceResultOfChangeDetailModel

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": {
    "Data": [
      {
        "Id": "sample string 1",
        "ChangeStockId": "sample string 2",
        "ChangeDetailId": "sample string 3",
        "StockSource": "sample string 4",
        "StockTaget": "sample string 5",
        "ItemCode": "sample string 6",
        "ItemName": "sample string 7",
        "IM_ItemInfo": "sample string 8",
        "Unit": "sample string 9",
        "Price": 10.0,
        "QuantityPlan": 11.1,
        "QuantityReal": 12.1,
        "InventoryAtMoment": 13.0,
        "TotalPrice": 14.0,
        "IM_ShelfName": "sample string 15",
        "WarningQuantityPlanGreaterThanInventoryAtMoment": "sample string 16",
        "IM_InventoryAtMoment_StockTaget": 17.0,
        "IM_Msg_Warning_QuantityPlan": "sample string 18",
        "IM_Warning_ChangeStock_BeforeChange": "sample string 19",
        "IM_AverageSalesQuantity": 20.0
      },
      {
        "Id": "sample string 1",
        "ChangeStockId": "sample string 2",
        "ChangeDetailId": "sample string 3",
        "StockSource": "sample string 4",
        "StockTaget": "sample string 5",
        "ItemCode": "sample string 6",
        "ItemName": "sample string 7",
        "IM_ItemInfo": "sample string 8",
        "Unit": "sample string 9",
        "Price": 10.0,
        "QuantityPlan": 11.1,
        "QuantityReal": 12.1,
        "InventoryAtMoment": 13.0,
        "TotalPrice": 14.0,
        "IM_ShelfName": "sample string 15",
        "WarningQuantityPlanGreaterThanInventoryAtMoment": "sample string 16",
        "IM_InventoryAtMoment_StockTaget": 17.0,
        "IM_Msg_Warning_QuantityPlan": "sample string 18",
        "IM_Warning_ChangeStock_BeforeChange": "sample string 19",
        "IM_AverageSalesQuantity": 20.0
      }
    ],
    "DataTotal": [
      {
        "Id": "sample string 1",
        "ChangeStockId": "sample string 2",
        "ChangeDetailId": "sample string 3",
        "StockSource": "sample string 4",
        "StockTaget": "sample string 5",
        "ItemCode": "sample string 6",
        "ItemName": "sample string 7",
        "IM_ItemInfo": "sample string 8",
        "Unit": "sample string 9",
        "Price": 10.0,
        "QuantityPlan": 11.1,
        "QuantityReal": 12.1,
        "InventoryAtMoment": 13.0,
        "TotalPrice": 14.0,
        "IM_ShelfName": "sample string 15",
        "WarningQuantityPlanGreaterThanInventoryAtMoment": "sample string 16",
        "IM_InventoryAtMoment_StockTaget": 17.0,
        "IM_Msg_Warning_QuantityPlan": "sample string 18",
        "IM_Warning_ChangeStock_BeforeChange": "sample string 19",
        "IM_AverageSalesQuantity": 20.0
      },
      {
        "Id": "sample string 1",
        "ChangeStockId": "sample string 2",
        "ChangeDetailId": "sample string 3",
        "StockSource": "sample string 4",
        "StockTaget": "sample string 5",
        "ItemCode": "sample string 6",
        "ItemName": "sample string 7",
        "IM_ItemInfo": "sample string 8",
        "Unit": "sample string 9",
        "Price": 10.0,
        "QuantityPlan": 11.1,
        "QuantityReal": 12.1,
        "InventoryAtMoment": 13.0,
        "TotalPrice": 14.0,
        "IM_ShelfName": "sample string 15",
        "WarningQuantityPlanGreaterThanInventoryAtMoment": "sample string 16",
        "IM_InventoryAtMoment_StockTaget": 17.0,
        "IM_Msg_Warning_QuantityPlan": "sample string 18",
        "IM_Warning_ChangeStock_BeforeChange": "sample string 19",
        "IM_AverageSalesQuantity": 20.0
      }
    ],
    "ExtraData": {},
    "Errors": {},
    "Total": 2
  },
  "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:
<EzyResultObjectOfEzyDataSourceResultOfChangeDetailModel3BwjWE5fUXXDg0Sb 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.Library.UI">
    <d2p1:Errors />
    <d2p1:ExtraData xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    <d2p1:Total>2</d2p1:Total>
    <d2p1:Data xmlns:d3p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
      <d3p1:ChangeDetailModel>
        <d3p1:ChangeDetailId>sample string 3</d3p1:ChangeDetailId>
        <d3p1:ChangeStockId>sample string 2</d3p1:ChangeStockId>
        <d3p1:IM_AverageSalesQuantity>20</d3p1:IM_AverageSalesQuantity>
        <d3p1:IM_InventoryAtMoment_StockTaget>17</d3p1:IM_InventoryAtMoment_StockTaget>
        <d3p1:IM_ItemInfo>sample string 8</d3p1:IM_ItemInfo>
        <d3p1:IM_Msg_Warning_QuantityPlan>sample string 18</d3p1:IM_Msg_Warning_QuantityPlan>
        <d3p1:IM_ShelfName>sample string 15</d3p1:IM_ShelfName>
        <d3p1:IM_Warning_ChangeStock_BeforeChange>sample string 19</d3p1:IM_Warning_ChangeStock_BeforeChange>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:InventoryAtMoment>13</d3p1:InventoryAtMoment>
        <d3p1:ItemCode>sample string 6</d3p1:ItemCode>
        <d3p1:ItemName>sample string 7</d3p1:ItemName>
        <d3p1:Price>10</d3p1:Price>
        <d3p1:QuantityPlan>11.1</d3p1:QuantityPlan>
        <d3p1:QuantityReal>12.1</d3p1:QuantityReal>
        <d3p1:StockSource>sample string 4</d3p1:StockSource>
        <d3p1:StockTaget>sample string 5</d3p1:StockTaget>
        <d3p1:TotalPrice>14</d3p1:TotalPrice>
        <d3p1:Unit>sample string 9</d3p1:Unit>
        <d3p1:WarningQuantityPlanGreaterThanInventoryAtMoment>sample string 16</d3p1:WarningQuantityPlanGreaterThanInventoryAtMoment>
      </d3p1:ChangeDetailModel>
      <d3p1:ChangeDetailModel>
        <d3p1:ChangeDetailId>sample string 3</d3p1:ChangeDetailId>
        <d3p1:ChangeStockId>sample string 2</d3p1:ChangeStockId>
        <d3p1:IM_AverageSalesQuantity>20</d3p1:IM_AverageSalesQuantity>
        <d3p1:IM_InventoryAtMoment_StockTaget>17</d3p1:IM_InventoryAtMoment_StockTaget>
        <d3p1:IM_ItemInfo>sample string 8</d3p1:IM_ItemInfo>
        <d3p1:IM_Msg_Warning_QuantityPlan>sample string 18</d3p1:IM_Msg_Warning_QuantityPlan>
        <d3p1:IM_ShelfName>sample string 15</d3p1:IM_ShelfName>
        <d3p1:IM_Warning_ChangeStock_BeforeChange>sample string 19</d3p1:IM_Warning_ChangeStock_BeforeChange>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:InventoryAtMoment>13</d3p1:InventoryAtMoment>
        <d3p1:ItemCode>sample string 6</d3p1:ItemCode>
        <d3p1:ItemName>sample string 7</d3p1:ItemName>
        <d3p1:Price>10</d3p1:Price>
        <d3p1:QuantityPlan>11.1</d3p1:QuantityPlan>
        <d3p1:QuantityReal>12.1</d3p1:QuantityReal>
        <d3p1:StockSource>sample string 4</d3p1:StockSource>
        <d3p1:StockTaget>sample string 5</d3p1:StockTaget>
        <d3p1:TotalPrice>14</d3p1:TotalPrice>
        <d3p1:Unit>sample string 9</d3p1:Unit>
        <d3p1:WarningQuantityPlanGreaterThanInventoryAtMoment>sample string 16</d3p1:WarningQuantityPlanGreaterThanInventoryAtMoment>
      </d3p1:ChangeDetailModel>
    </d2p1:Data>
    <d2p1:DataTotal xmlns:d3p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
      <d3p1:ChangeDetailModel>
        <d3p1:ChangeDetailId>sample string 3</d3p1:ChangeDetailId>
        <d3p1:ChangeStockId>sample string 2</d3p1:ChangeStockId>
        <d3p1:IM_AverageSalesQuantity>20</d3p1:IM_AverageSalesQuantity>
        <d3p1:IM_InventoryAtMoment_StockTaget>17</d3p1:IM_InventoryAtMoment_StockTaget>
        <d3p1:IM_ItemInfo>sample string 8</d3p1:IM_ItemInfo>
        <d3p1:IM_Msg_Warning_QuantityPlan>sample string 18</d3p1:IM_Msg_Warning_QuantityPlan>
        <d3p1:IM_ShelfName>sample string 15</d3p1:IM_ShelfName>
        <d3p1:IM_Warning_ChangeStock_BeforeChange>sample string 19</d3p1:IM_Warning_ChangeStock_BeforeChange>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:InventoryAtMoment>13</d3p1:InventoryAtMoment>
        <d3p1:ItemCode>sample string 6</d3p1:ItemCode>
        <d3p1:ItemName>sample string 7</d3p1:ItemName>
        <d3p1:Price>10</d3p1:Price>
        <d3p1:QuantityPlan>11.1</d3p1:QuantityPlan>
        <d3p1:QuantityReal>12.1</d3p1:QuantityReal>
        <d3p1:StockSource>sample string 4</d3p1:StockSource>
        <d3p1:StockTaget>sample string 5</d3p1:StockTaget>
        <d3p1:TotalPrice>14</d3p1:TotalPrice>
        <d3p1:Unit>sample string 9</d3p1:Unit>
        <d3p1:WarningQuantityPlanGreaterThanInventoryAtMoment>sample string 16</d3p1:WarningQuantityPlanGreaterThanInventoryAtMoment>
      </d3p1:ChangeDetailModel>
      <d3p1:ChangeDetailModel>
        <d3p1:ChangeDetailId>sample string 3</d3p1:ChangeDetailId>
        <d3p1:ChangeStockId>sample string 2</d3p1:ChangeStockId>
        <d3p1:IM_AverageSalesQuantity>20</d3p1:IM_AverageSalesQuantity>
        <d3p1:IM_InventoryAtMoment_StockTaget>17</d3p1:IM_InventoryAtMoment_StockTaget>
        <d3p1:IM_ItemInfo>sample string 8</d3p1:IM_ItemInfo>
        <d3p1:IM_Msg_Warning_QuantityPlan>sample string 18</d3p1:IM_Msg_Warning_QuantityPlan>
        <d3p1:IM_ShelfName>sample string 15</d3p1:IM_ShelfName>
        <d3p1:IM_Warning_ChangeStock_BeforeChange>sample string 19</d3p1:IM_Warning_ChangeStock_BeforeChange>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:InventoryAtMoment>13</d3p1:InventoryAtMoment>
        <d3p1:ItemCode>sample string 6</d3p1:ItemCode>
        <d3p1:ItemName>sample string 7</d3p1:ItemName>
        <d3p1:Price>10</d3p1:Price>
        <d3p1:QuantityPlan>11.1</d3p1:QuantityPlan>
        <d3p1:QuantityReal>12.1</d3p1:QuantityReal>
        <d3p1:StockSource>sample string 4</d3p1:StockSource>
        <d3p1:StockTaget>sample string 5</d3p1:StockTaget>
        <d3p1:TotalPrice>14</d3p1:TotalPrice>
        <d3p1:Unit>sample string 9</d3p1:Unit>
        <d3p1:WarningQuantityPlanGreaterThanInventoryAtMoment>sample string 16</d3p1:WarningQuantityPlanGreaterThanInventoryAtMoment>
      </d3p1:ChangeDetailModel>
    </d2p1:DataTotal>
  </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>
</EzyResultObjectOfEzyDataSourceResultOfChangeDetailModel3BwjWE5fUXXDg0Sb>