POST api/WarehouseStockReconcile/AddWarehouseStockReconcile
Request Information
URI Parameters
None.
Body Parameters
WarehouseStockReconcileModelsName | Description | Type | Additional 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 | date |
None. |
|
WarehouseStockReconcileDetails | Collection of WarehouseStockReconcileDetailsModels |
Required |
Request Formats
application/json, text/json
Sample:
{ "WSR_Id": 1, "WSR_Code": "sample string 2", "WSR_Date": "2025-01-09T01:03:17.5574767+05:30", "WSR_Note": "sample string 4", "WSR_UserId_FK": 5, "WSR_TS": "2025-01-09T01:03:17.5574767+05:30", "WSR_Inactive": "sample string 7", "WSR_TS_LastEdited": 8, "WSR_TS_Edited_Uid_FK": "2025-01-09T01:03:17.5574767+05:30", "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": "2025-01-09T01:03:17.5639829+05:30", "WSRD_Inactive": "A", "WSRD_TS_LastEdited": "2025-01-09T01:03:17.5639829+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": "2025-01-09T01:03:17.5639829+05:30", "WSRD_Inactive": "A", "WSRD_TS_LastEdited": "2025-01-09T01:03:17.5639829+05:30", "WSRD_TS_Edited_Uid_FK": 12 } ] }
application/xml, text/xml
Sample:
<WarehouseStockReconcileModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <WSR_Code>sample string 2</WSR_Code> <WSR_Date>2025-01-09T01:03:17.5574767+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>2025-01-09T01:03:17.5574767+05:30</WSR_TS> <WSR_TS_Edited_Uid_FK>2025-01-09T01:03:17.5574767+05:30</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>2025-01-09T01:03:17.5639829+05:30</WSRD_TS> <WSRD_TS_Edited_Uid_FK>12</WSRD_TS_Edited_Uid_FK> <WSRD_TS_LastEdited>2025-01-09T01:03:17.5639829+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>2025-01-09T01:03:17.5639829+05:30</WSRD_TS> <WSRD_TS_Edited_Uid_FK>12</WSRD_TS_Edited_Uid_FK> <WSRD_TS_LastEdited>2025-01-09T01:03:17.5639829+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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.