POST api/WarehouseStockReconcile/AddWarehouseStockReconcile

Request Information

URI Parameters

None.

Body Parameters

WarehouseStockReconcileModels
NameDescriptionTypeAdditional information
WSR_Id

integer

None.

WSR_Code

string

Max length: 10

WSR_Date

date

Required

WSR_Note

string

Required

Max length: 100

WSR_UserId_FK

integer

None.

WSR_TS

date

None.

WSR_Inactive

string

None.

WSR_TS_LastEdited

integer

None.

WSR_TS_Edited_Uid_FK

integer

None.

IsHidden

boolean

None.

WarehouseStockReconcileDetails

Collection of WarehouseStockReconcileDetailsModels

Required

Mode

string

Required

Request Formats

application/json, text/json

Sample:
{
  "WSR_Id": 1,
  "WSR_Code": "sample string 2",
  "WSR_Date": "2019-07-17T04:18:27.9780157+05:30",
  "WSR_Note": "sample string 4",
  "WSR_UserId_FK": 5,
  "WSR_TS": "2019-07-17T04:18:27.9780157+05:30",
  "WSR_Inactive": "sample string 7",
  "WSR_TS_LastEdited": 8,
  "WSR_TS_Edited_Uid_FK": 9,
  "IsHidden": true,
  "WarehouseStockReconcileDetails": [
    {
      "WSRD_Id": 1,
      "WSRD_WSR_Id_FK": 2,
      "WSRD_P_Id_FK": 3,
      "WSRD_PA_Id_FK": 4,
      "WSRD_StockOnDate": 5.0,
      "WSRD_ReconsileStock": 6.0,
      "WSRD_Note": "sample string 7",
      "WSRD_UserId_FK": 8,
      "WSRD_TS": "2019-07-17T04:18:27.9780157+05:30",
      "WSRD_Inactive": "A",
      "WSRD_TS_LastEdited": "2019-07-17T04:18:27.9780157+05:30",
      "WSRD_TS_Edited_Uid_FK": 12
    },
    {
      "WSRD_Id": 1,
      "WSRD_WSR_Id_FK": 2,
      "WSRD_P_Id_FK": 3,
      "WSRD_PA_Id_FK": 4,
      "WSRD_StockOnDate": 5.0,
      "WSRD_ReconsileStock": 6.0,
      "WSRD_Note": "sample string 7",
      "WSRD_UserId_FK": 8,
      "WSRD_TS": "2019-07-17T04:18:27.9780157+05:30",
      "WSRD_Inactive": "A",
      "WSRD_TS_LastEdited": "2019-07-17T04:18:27.9780157+05:30",
      "WSRD_TS_Edited_Uid_FK": 12
    }
  ],
  "Mode": "sample string 11"
}

application/xml, text/xml

Sample:
<WarehouseStockReconcileModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <IsHidden>true</IsHidden>
  <Mode>sample string 11</Mode>
  <WSR_Code>sample string 2</WSR_Code>
  <WSR_Date>2019-07-17T04:18:27.9780157+05:30</WSR_Date>
  <WSR_Id>1</WSR_Id>
  <WSR_Inactive>sample string 7</WSR_Inactive>
  <WSR_Note>sample string 4</WSR_Note>
  <WSR_TS>2019-07-17T04:18:27.9780157+05:30</WSR_TS>
  <WSR_TS_Edited_Uid_FK>9</WSR_TS_Edited_Uid_FK>
  <WSR_TS_LastEdited>8</WSR_TS_LastEdited>
  <WSR_UserId_FK>5</WSR_UserId_FK>
  <WarehouseStockReconcileDetails>
    <WarehouseStockReconcileDetailsModels>
      <WSRD_Id>1</WSRD_Id>
      <WSRD_Inactive>65</WSRD_Inactive>
      <WSRD_Note>sample string 7</WSRD_Note>
      <WSRD_PA_Id_FK>4</WSRD_PA_Id_FK>
      <WSRD_P_Id_FK>3</WSRD_P_Id_FK>
      <WSRD_ReconsileStock>6</WSRD_ReconsileStock>
      <WSRD_StockOnDate>5</WSRD_StockOnDate>
      <WSRD_TS>2019-07-17T04:18:27.9780157+05:30</WSRD_TS>
      <WSRD_TS_Edited_Uid_FK>12</WSRD_TS_Edited_Uid_FK>
      <WSRD_TS_LastEdited>2019-07-17T04:18:27.9780157+05:30</WSRD_TS_LastEdited>
      <WSRD_UserId_FK>8</WSRD_UserId_FK>
      <WSRD_WSR_Id_FK>2</WSRD_WSR_Id_FK>
    </WarehouseStockReconcileDetailsModels>
    <WarehouseStockReconcileDetailsModels>
      <WSRD_Id>1</WSRD_Id>
      <WSRD_Inactive>65</WSRD_Inactive>
      <WSRD_Note>sample string 7</WSRD_Note>
      <WSRD_PA_Id_FK>4</WSRD_PA_Id_FK>
      <WSRD_P_Id_FK>3</WSRD_P_Id_FK>
      <WSRD_ReconsileStock>6</WSRD_ReconsileStock>
      <WSRD_StockOnDate>5</WSRD_StockOnDate>
      <WSRD_TS>2019-07-17T04:18:27.9780157+05:30</WSRD_TS>
      <WSRD_TS_Edited_Uid_FK>12</WSRD_TS_Edited_Uid_FK>
      <WSRD_TS_LastEdited>2019-07-17T04:18:27.9780157+05:30</WSRD_TS_LastEdited>
      <WSRD_UserId_FK>8</WSRD_UserId_FK>
      <WSRD_WSR_Id_FK>2</WSRD_WSR_Id_FK>
    </WarehouseStockReconcileDetailsModels>
  </WarehouseStockReconcileDetails>
</WarehouseStockReconcileModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.