POST api/v1/ChangeDetail_CounterOnline/Update

Request Information

URI Parameters

None.

Body Parameters

ChangeDetailModel
NameDescriptionTypeAdditional information
Id

string

None.

ChangeStockId

string

None.

ChangeDetailId

string

None.

StockSource

string

None.

StockTaget

string

None.

ItemCode

string

None.

ItemName

string

None.

IM_ItemInfo

string

None.

Unit

string

None.

Price

decimal number

None.

QuantityPlan

decimal number

None.

QuantityReal

decimal number

None.

InventoryAtMoment

decimal number

None.

TotalPrice

decimal number

None.

IM_ShelfName

string

None.

WarningQuantityPlanGreaterThanInventoryAtMoment

string

None.

IM_InventoryAtMoment_StockTaget

decimal number

None.

IM_Msg_Warning_QuantityPlan

string

None.

IM_Warning_ChangeStock_BeforeChange

string

None.

IM_AverageSalesQuantity

decimal number

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ChangeDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <ChangeDetailId>sample string 3</ChangeDetailId>
  <ChangeStockId>sample string 2</ChangeStockId>
  <IM_AverageSalesQuantity>20</IM_AverageSalesQuantity>
  <IM_InventoryAtMoment_StockTaget>17</IM_InventoryAtMoment_StockTaget>
  <IM_ItemInfo>sample string 8</IM_ItemInfo>
  <IM_Msg_Warning_QuantityPlan>sample string 18</IM_Msg_Warning_QuantityPlan>
  <IM_ShelfName>sample string 15</IM_ShelfName>
  <IM_Warning_ChangeStock_BeforeChange>sample string 19</IM_Warning_ChangeStock_BeforeChange>
  <Id>sample string 1</Id>
  <InventoryAtMoment>13</InventoryAtMoment>
  <ItemCode>sample string 6</ItemCode>
  <ItemName>sample string 7</ItemName>
  <Price>10</Price>
  <QuantityPlan>11.1</QuantityPlan>
  <QuantityReal>12.1</QuantityReal>
  <StockSource>sample string 4</StockSource>
  <StockTaget>sample string 5</StockTaget>
  <TotalPrice>14</TotalPrice>
  <Unit>sample string 9</Unit>
  <WarningQuantityPlanGreaterThanInventoryAtMoment>sample string 16</WarningQuantityPlanGreaterThanInventoryAtMoment>
</ChangeDetailModel>

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

Response Information

Resource Description

EzyResultObjectOfChangeDetailModel
NameDescriptionTypeAdditional information
Data

ChangeDetailModel

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",
    "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": 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:
<EzyResultObjectOfChangeDetailModel3BwjWE5f 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:ChangeDetailId>sample string 3</d2p1:ChangeDetailId>
    <d2p1:ChangeStockId>sample string 2</d2p1:ChangeStockId>
    <d2p1:IM_AverageSalesQuantity>20</d2p1:IM_AverageSalesQuantity>
    <d2p1:IM_InventoryAtMoment_StockTaget>17</d2p1:IM_InventoryAtMoment_StockTaget>
    <d2p1:IM_ItemInfo>sample string 8</d2p1:IM_ItemInfo>
    <d2p1:IM_Msg_Warning_QuantityPlan>sample string 18</d2p1:IM_Msg_Warning_QuantityPlan>
    <d2p1:IM_ShelfName>sample string 15</d2p1:IM_ShelfName>
    <d2p1:IM_Warning_ChangeStock_BeforeChange>sample string 19</d2p1:IM_Warning_ChangeStock_BeforeChange>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:InventoryAtMoment>13</d2p1:InventoryAtMoment>
    <d2p1:ItemCode>sample string 6</d2p1:ItemCode>
    <d2p1:ItemName>sample string 7</d2p1:ItemName>
    <d2p1:Price>10</d2p1:Price>
    <d2p1:QuantityPlan>11.1</d2p1:QuantityPlan>
    <d2p1:QuantityReal>12.1</d2p1:QuantityReal>
    <d2p1:StockSource>sample string 4</d2p1:StockSource>
    <d2p1:StockTaget>sample string 5</d2p1:StockTaget>
    <d2p1:TotalPrice>14</d2p1:TotalPrice>
    <d2p1:Unit>sample string 9</d2p1:Unit>
    <d2p1:WarningQuantityPlanGreaterThanInventoryAtMoment>sample string 16</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>
</EzyResultObjectOfChangeDetailModel3BwjWE5f>