POST api/v1/RequireChangeDetail/ImportFile

Request Information

URI Parameters

None.

Body Parameters

RequireChangeDetailImportParamModel
NameDescriptionTypeAdditional information
RequireChangeStockId

string

None.

UploadedFileIds

Collection of 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:
{
  "RequireChangeStockId": "sample string 1",
  "UploadedFileIds": [
    "sample string 1",
    "sample string 2"
  ],
  "FilterQuery": null,
  "ScreenGUID": "sample string 2",
  "DocumentWidth": 3,
  "Url": "sample string 4",
  "OptionConfigsMore": null,
  "QuerySearch": null,
  "IsTestCase": true
}

application/xml, text/xml

Sample:
<RequireChangeDetailImportParamModel 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">3</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 2</ScreenGUID>
  <Url xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 4</Url>
  <RequireChangeStockId>sample string 1</RequireChangeStockId>
  <UploadedFileIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UploadedFileIds>
</RequireChangeDetailImportParamModel>

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

Response Information

Resource Description

EzyResultObjectOfRequireChangeDetailModel[]
NameDescriptionTypeAdditional information
Data

Collection of RequireChangeDetailModel

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": [
    {
      "Id": "sample string 1",
      "RequireChangeStockId": "sample string 2",
      "ItemCode": "sample string 3",
      "ItemName": "sample string 4",
      "Unit": "sample string 5",
      "Price": 6.0,
      "Note": "sample string 7",
      "Quantity": 8.1,
      "CanEdit_Quantity": true,
      "CanEdit_Note": true,
      "CanEdit_StockSource": true,
      "Note_Import": "sample string 12",
      "IM_IsStockSource00T": true,
      "StockSourceCode": "sample string 14",
      "IsLocked": true,
      "IM_Inv_Stock00T": 16.0,
      "WarningQuantityPlanGreaterThanInventoryAtMoment": "sample string 17",
      "IM_InventoryAtMoment_StockTaget": 18.0,
      "IM_Msg_Warning_QuantityPlan": "sample string 19",
      "IM_Msg_Warning_NotChange": "sample string 20",
      "IM_Warning_ChangeStock_BeforeChange": "sample string 21",
      "IM_AverageSalesQuantity": 22.0
    },
    {
      "Id": "sample string 1",
      "RequireChangeStockId": "sample string 2",
      "ItemCode": "sample string 3",
      "ItemName": "sample string 4",
      "Unit": "sample string 5",
      "Price": 6.0,
      "Note": "sample string 7",
      "Quantity": 8.1,
      "CanEdit_Quantity": true,
      "CanEdit_Note": true,
      "CanEdit_StockSource": true,
      "Note_Import": "sample string 12",
      "IM_IsStockSource00T": true,
      "StockSourceCode": "sample string 14",
      "IsLocked": true,
      "IM_Inv_Stock00T": 16.0,
      "WarningQuantityPlanGreaterThanInventoryAtMoment": "sample string 17",
      "IM_InventoryAtMoment_StockTaget": 18.0,
      "IM_Msg_Warning_QuantityPlan": "sample string 19",
      "IM_Msg_Warning_NotChange": "sample string 20",
      "IM_Warning_ChangeStock_BeforeChange": "sample string 21",
      "IM_AverageSalesQuantity": 22.0
    }
  ],
  "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:
<EzyResultObjectOfArrayOfRequireChangeDetailModel3BwjWE5f 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/AllianceSolidAPI.Shared.Models">
    <d2p1:RequireChangeDetailModel>
      <d2p1:CanEdit_Note>true</d2p1:CanEdit_Note>
      <d2p1:CanEdit_Quantity>true</d2p1:CanEdit_Quantity>
      <d2p1:CanEdit_StockSource>true</d2p1:CanEdit_StockSource>
      <d2p1:IM_AverageSalesQuantity>22</d2p1:IM_AverageSalesQuantity>
      <d2p1:IM_Inv_Stock00T>16</d2p1:IM_Inv_Stock00T>
      <d2p1:IM_InventoryAtMoment_StockTaget>18</d2p1:IM_InventoryAtMoment_StockTaget>
      <d2p1:IM_IsStockSource00T>true</d2p1:IM_IsStockSource00T>
      <d2p1:IM_Msg_Warning_NotChange>sample string 20</d2p1:IM_Msg_Warning_NotChange>
      <d2p1:IM_Msg_Warning_QuantityPlan>sample string 19</d2p1:IM_Msg_Warning_QuantityPlan>
      <d2p1:IM_Warning_ChangeStock_BeforeChange>sample string 21</d2p1:IM_Warning_ChangeStock_BeforeChange>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:IsLocked>true</d2p1:IsLocked>
      <d2p1:ItemCode>sample string 3</d2p1:ItemCode>
      <d2p1:ItemName>sample string 4</d2p1:ItemName>
      <d2p1:Note>sample string 7</d2p1:Note>
      <d2p1:Note_Import>sample string 12</d2p1:Note_Import>
      <d2p1:Price>6</d2p1:Price>
      <d2p1:Quantity>8.1</d2p1:Quantity>
      <d2p1:RequireChangeStockId>sample string 2</d2p1:RequireChangeStockId>
      <d2p1:StockSourceCode>sample string 14</d2p1:StockSourceCode>
      <d2p1:Unit>sample string 5</d2p1:Unit>
      <d2p1:WarningQuantityPlanGreaterThanInventoryAtMoment>sample string 17</d2p1:WarningQuantityPlanGreaterThanInventoryAtMoment>
    </d2p1:RequireChangeDetailModel>
    <d2p1:RequireChangeDetailModel>
      <d2p1:CanEdit_Note>true</d2p1:CanEdit_Note>
      <d2p1:CanEdit_Quantity>true</d2p1:CanEdit_Quantity>
      <d2p1:CanEdit_StockSource>true</d2p1:CanEdit_StockSource>
      <d2p1:IM_AverageSalesQuantity>22</d2p1:IM_AverageSalesQuantity>
      <d2p1:IM_Inv_Stock00T>16</d2p1:IM_Inv_Stock00T>
      <d2p1:IM_InventoryAtMoment_StockTaget>18</d2p1:IM_InventoryAtMoment_StockTaget>
      <d2p1:IM_IsStockSource00T>true</d2p1:IM_IsStockSource00T>
      <d2p1:IM_Msg_Warning_NotChange>sample string 20</d2p1:IM_Msg_Warning_NotChange>
      <d2p1:IM_Msg_Warning_QuantityPlan>sample string 19</d2p1:IM_Msg_Warning_QuantityPlan>
      <d2p1:IM_Warning_ChangeStock_BeforeChange>sample string 21</d2p1:IM_Warning_ChangeStock_BeforeChange>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:IsLocked>true</d2p1:IsLocked>
      <d2p1:ItemCode>sample string 3</d2p1:ItemCode>
      <d2p1:ItemName>sample string 4</d2p1:ItemName>
      <d2p1:Note>sample string 7</d2p1:Note>
      <d2p1:Note_Import>sample string 12</d2p1:Note_Import>
      <d2p1:Price>6</d2p1:Price>
      <d2p1:Quantity>8.1</d2p1:Quantity>
      <d2p1:RequireChangeStockId>sample string 2</d2p1:RequireChangeStockId>
      <d2p1:StockSourceCode>sample string 14</d2p1:StockSourceCode>
      <d2p1:Unit>sample string 5</d2p1:Unit>
      <d2p1:WarningQuantityPlanGreaterThanInventoryAtMoment>sample string 17</d2p1:WarningQuantityPlanGreaterThanInventoryAtMoment>
    </d2p1:RequireChangeDetailModel>
  </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>
</EzyResultObjectOfArrayOfRequireChangeDetailModel3BwjWE5f>