POST api/v1/RequireChangeDetail/Update

Request Information

URI Parameters

None.

Body Parameters

RequireChangeDetailModel
NameDescriptionTypeAdditional information
Id

string

None.

RequireChangeStockId

string

None.

ItemCode

string

None.

ItemName

string

None.

Unit

string

None.

Price

decimal number

None.

Note

string

None.

Quantity

decimal number

None.

CanEdit_Quantity

boolean

None.

CanEdit_Note

boolean

None.

CanEdit_StockSource

boolean

None.

Note_Import

string

None.

IM_IsStockSource00T

boolean

None.

StockSourceCode

string

None.

IsLocked

boolean

None.

IM_Inv_Stock00T

decimal number

None.

WarningQuantityPlanGreaterThanInventoryAtMoment

string

None.

IM_InventoryAtMoment_StockTaget

decimal number

None.

IM_Msg_Warning_QuantityPlan

string

None.

IM_Msg_Warning_NotChange

string

None.

IM_Warning_ChangeStock_BeforeChange

string

None.

IM_AverageSalesQuantity

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "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
}

application/xml, text/xml

Sample:
<RequireChangeDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <CanEdit_Note>true</CanEdit_Note>
  <CanEdit_Quantity>true</CanEdit_Quantity>
  <CanEdit_StockSource>true</CanEdit_StockSource>
  <IM_AverageSalesQuantity>22</IM_AverageSalesQuantity>
  <IM_Inv_Stock00T>16</IM_Inv_Stock00T>
  <IM_InventoryAtMoment_StockTaget>18</IM_InventoryAtMoment_StockTaget>
  <IM_IsStockSource00T>true</IM_IsStockSource00T>
  <IM_Msg_Warning_NotChange>sample string 20</IM_Msg_Warning_NotChange>
  <IM_Msg_Warning_QuantityPlan>sample string 19</IM_Msg_Warning_QuantityPlan>
  <IM_Warning_ChangeStock_BeforeChange>sample string 21</IM_Warning_ChangeStock_BeforeChange>
  <Id>sample string 1</Id>
  <IsLocked>true</IsLocked>
  <ItemCode>sample string 3</ItemCode>
  <ItemName>sample string 4</ItemName>
  <Note>sample string 7</Note>
  <Note_Import>sample string 12</Note_Import>
  <Price>6</Price>
  <Quantity>8.1</Quantity>
  <RequireChangeStockId>sample string 2</RequireChangeStockId>
  <StockSourceCode>sample string 14</StockSourceCode>
  <Unit>sample string 5</Unit>
  <WarningQuantityPlanGreaterThanInventoryAtMoment>sample string 17</WarningQuantityPlanGreaterThanInventoryAtMoment>
</RequireChangeDetailModel>

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

Response Information

Resource Description

EzyResultObjectOfRequireChangeDetailModel
NameDescriptionTypeAdditional information
Data

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
  },
  "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:
<EzyResultObjectOfRequireChangeDetailModel3BwjWE5f 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: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>
  </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>
</EzyResultObjectOfRequireChangeDetailModel3BwjWE5f>