POST api/v1/ReportInv_ByMaterial_EachStock_Detail/Add

Request Information

URI Parameters

None.

Body Parameters

ReportInv_ByMaterial_EachStock_DetailModel
NameDescriptionTypeAdditional information
Id

string

None.

StockId

string

None.

StockCode

string

None.

ItemCode

string

None.

StockName

string

None.

Inventory

decimal number

None.

Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "StockId": "sample string 2",
  "StockCode": "sample string 3",
  "ItemCode": "sample string 4",
  "StockName": "sample string 5",
  "Inventory": 6.0,
  "Note": "sample string 7"
}

application/xml, text/xml

Sample:
<ReportInv_ByMaterial_EachStock_DetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <Id>sample string 1</Id>
  <Inventory>6</Inventory>
  <ItemCode>sample string 4</ItemCode>
  <Note>sample string 7</Note>
  <StockCode>sample string 3</StockCode>
  <StockId>sample string 2</StockId>
  <StockName>sample string 5</StockName>
</ReportInv_ByMaterial_EachStock_DetailModel>

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

Response Information

Resource Description

EzyResultObjectOfReportInv_ByMaterial_EachStock_DetailModel
NameDescriptionTypeAdditional information
Data

ReportInv_ByMaterial_EachStock_DetailModel

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",
    "StockId": "sample string 2",
    "StockCode": "sample string 3",
    "ItemCode": "sample string 4",
    "StockName": "sample string 5",
    "Inventory": 6.0,
    "Note": "sample string 7"
  },
  "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:
<EzyResultObjectOfReportInv_ByMaterial_EachStock_DetailModel3BwjWE5f 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:Id>sample string 1</d2p1:Id>
    <d2p1:Inventory>6</d2p1:Inventory>
    <d2p1:ItemCode>sample string 4</d2p1:ItemCode>
    <d2p1:Note>sample string 7</d2p1:Note>
    <d2p1:StockCode>sample string 3</d2p1:StockCode>
    <d2p1:StockId>sample string 2</d2p1:StockId>
    <d2p1:StockName>sample string 5</d2p1:StockName>
  </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>
</EzyResultObjectOfReportInv_ByMaterial_EachStock_DetailModel3BwjWE5f>