POST api/v1/ReportInventoryBySupplier/Add

Request Information

URI Parameters

None.

Body Parameters

ReportInventoryBySupplierModel
NameDescriptionTypeAdditional information
Id

string

None.

ItemCode

string

None.

ItemName

string

None.

ItemUnit

string

None.

Inventory_TotalAllStock

decimal number

None.

Inventory_StockCenter

decimal number

None.

Inventory_StockQle

decimal number

None.

Inventory_StockGDP

decimal number

None.

Inventory_Remain

decimal number

None.

Shelf_StockCenter

string

None.

SupplierId

string

None.

IM_FromDate_Filter

string

None.

QuantitySell_Average

decimal number

None.

QuantityLastInput_4Supplier

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "ItemCode": "sample string 2",
  "ItemName": "sample string 3",
  "ItemUnit": "sample string 4",
  "Inventory_TotalAllStock": 5.0,
  "Inventory_StockCenter": 6.0,
  "Inventory_StockQle": 7.0,
  "Inventory_StockGDP": 8.0,
  "Inventory_Remain": 9.0,
  "Shelf_StockCenter": "sample string 10",
  "SupplierId": "sample string 11",
  "IM_FromDate_Filter": "sample string 12",
  "QuantitySell_Average": 13.0,
  "QuantityLastInput_4Supplier": 14.0
}

application/xml, text/xml

Sample:
<ReportInventoryBySupplierModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <IM_FromDate_Filter>sample string 12</IM_FromDate_Filter>
  <Id>sample string 1</Id>
  <Inventory_Remain>9</Inventory_Remain>
  <Inventory_StockCenter>6</Inventory_StockCenter>
  <Inventory_StockGDP>8</Inventory_StockGDP>
  <Inventory_StockQle>7</Inventory_StockQle>
  <Inventory_TotalAllStock>5</Inventory_TotalAllStock>
  <ItemCode>sample string 2</ItemCode>
  <ItemName>sample string 3</ItemName>
  <ItemUnit>sample string 4</ItemUnit>
  <QuantityLastInput_4Supplier>14</QuantityLastInput_4Supplier>
  <QuantitySell_Average>13</QuantitySell_Average>
  <Shelf_StockCenter>sample string 10</Shelf_StockCenter>
  <SupplierId>sample string 11</SupplierId>
</ReportInventoryBySupplierModel>

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

Response Information

Resource Description

EzyResultObjectOfReportInventoryBySupplierModel
NameDescriptionTypeAdditional information
Data

ReportInventoryBySupplierModel

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",
    "ItemCode": "sample string 2",
    "ItemName": "sample string 3",
    "ItemUnit": "sample string 4",
    "Inventory_TotalAllStock": 5.0,
    "Inventory_StockCenter": 6.0,
    "Inventory_StockQle": 7.0,
    "Inventory_StockGDP": 8.0,
    "Inventory_Remain": 9.0,
    "Shelf_StockCenter": "sample string 10",
    "SupplierId": "sample string 11",
    "IM_FromDate_Filter": "sample string 12",
    "QuantitySell_Average": 13.0,
    "QuantityLastInput_4Supplier": 14.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:
<EzyResultObjectOfReportInventoryBySupplierModel3BwjWE5f 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:IM_FromDate_Filter>sample string 12</d2p1:IM_FromDate_Filter>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:Inventory_Remain>9</d2p1:Inventory_Remain>
    <d2p1:Inventory_StockCenter>6</d2p1:Inventory_StockCenter>
    <d2p1:Inventory_StockGDP>8</d2p1:Inventory_StockGDP>
    <d2p1:Inventory_StockQle>7</d2p1:Inventory_StockQle>
    <d2p1:Inventory_TotalAllStock>5</d2p1:Inventory_TotalAllStock>
    <d2p1:ItemCode>sample string 2</d2p1:ItemCode>
    <d2p1:ItemName>sample string 3</d2p1:ItemName>
    <d2p1:ItemUnit>sample string 4</d2p1:ItemUnit>
    <d2p1:QuantityLastInput_4Supplier>14</d2p1:QuantityLastInput_4Supplier>
    <d2p1:QuantitySell_Average>13</d2p1:QuantitySell_Average>
    <d2p1:Shelf_StockCenter>sample string 10</d2p1:Shelf_StockCenter>
    <d2p1:SupplierId>sample string 11</d2p1:SupplierId>
  </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>
</EzyResultObjectOfReportInventoryBySupplierModel3BwjWE5f>