POST api/GoodsReceivingNote
Request Information
URI Parameters
None.
Body Parameters
GoodsReceivingNoteModelsName | Description | Type | Additional information |
---|---|---|---|
GRN_Id | integer |
None. |
|
GRN_No | string |
None. |
|
GRN_Date | date |
Required |
|
GRN_Manufacturer | ManufacturerSpeedSearchModels |
Required |
|
GRN_DC_No | string |
Max length: 50 |
|
GRN_Vehicle_No | string |
Required Max length: 50 |
|
GRN_Driver | string |
Required Max length: 50 |
|
GRN_MOD_Id_FK | integer |
Required |
|
GRN_Invoice_No | string |
Required Max length: 50 |
|
GRN_Invoice_Date | date |
Required |
|
GRN_Note | string |
Max length: 50 |
|
ManufactureOrder | ManufacturerOrderModels |
Required |
Request Formats
application/json, text/json
Sample:
{ "GRN_Id": 1, "GRN_No": "sample string 2", "GRN_Date": "2025-01-09T01:03:44.7995582+05:30", "GRN_Manufacturer": { "MA_Id": 1, "MA_Code": "sample string 2", "MA_Name": "sample string 3" }, "GRN_DC_No": "sample string 4", "GRN_Vehicle_No": "sample string 5", "GRN_Driver": "sample string 6", "GRN_MOD_Id_FK": 7, "GRN_Invoice_No": "sample string 8", "GRN_Invoice_Date": "2025-01-09T01:03:44.7995582+05:30", "GRN_Note": "sample string 10", "ManufactureOrder": { "MO_Id": 1, "MO_Id_Encyt": "sample string 2", "MO_OrderNo": "sample string 3", "TotalAmount": 4.0, "MO_UTRNo": "sample string 5", "MO_Date": "2025-01-09T01:03:44.7995582+05:30", "MO_ST_NO": "sample string 7", "MO_TIN_NO": "sample string 8", "ManufactureTo": { "MA_Id": 1, "MA_Code": "sample string 2", "MA_Name": "sample string 3", "MA_Country": "sample string 4", "StateSpeedSearch": { "ST_Id": 1, "ST_StateID": "sample string 2", "ST_StateName": "sample string 3" }, "DistrictSpeedSearch": { "DI_Id": 1, "DI_DistrictId": "sample string 2", "DI_District": "sample string 3" }, "TalukSpeedSearch": { "TA_Id": 1, "TA_TalukId": "sample string 2", "TA_Taluk": "sample string 3" }, "VillageSpeedSearch": { "VI_Id": 1, "VI_VillageId": "sample string 2", "VI_Village": "sample string 3" }, "MA_PinCode": 5, "MA_MobileNumber": 6, "MA_Email": "sample string 7", "MA_TIN_No": "sample string 8", "MA_ST_No": "sample string 9", "MA_CustomerSupportNo": 10, "MA_PO_TC": "sample string 11", "MA_Invoice_TC": "sample string 12", "MA_UserId_FK": 13, "MA_TS": "2025-01-09T01:03:44.7995582+05:30", "MA_Inactive": "A", "MA_TS_LastEdited": "2025-01-09T01:03:44.7995582+05:30", "MA_TS_Edited_Uid_FK": 17 }, "ManufactureFrom": { "CO_Id": 1, "CO_Code": "sample string 2", "CO_Name": "sample string 3", "CO_Country": "sample string 4", "StateSpeedSearch": { "ST_Id": 1, "ST_StateID": "sample string 2", "ST_StateName": "sample string 3" }, "DistrictSpeedSearch": { "DI_Id": 1, "DI_DistrictId": "sample string 2", "DI_District": "sample string 3" }, "TalukSpeedSearch": { "TA_Id": 1, "TA_TalukId": "sample string 2", "TA_Taluk": "sample string 3" }, "VillageSpeedSearch": { "VI_Id": 1, "VI_VillageId": "sample string 2", "VI_Village": "sample string 3" }, "CO_PinCode": 5, "CO_MobileNumber": 6, "CO_Email": "sample string 7", "CO_TIN_No": "sample string 8", "CO_ST_No": "sample string 9", "CO_CustomerSupportNo": 10, "CO_PO_TC": "sample string 11", "CO_Invoice_TC": "sample string 12", "CO_UserId_FK": 13, "CO_TS": "2025-01-09T01:03:44.7995582+05:30", "CO_Inactive": "A", "CO_TS_LastEdited": "2025-01-09T01:03:44.7995582+05:30", "CO_TS_Edited_Uid_FK": 17, "CO_Email1": "sample string 18", "CO_Email2": "sample string 19", "CO_Email3": "sample string 20", "CO_Email4": "sample string 21", "CO_Email5": "sample string 22", "CO_MobileNo1": 1, "CO_MobileNo2": 1, "CO_MobileNo3": 1, "CO_MobileNo4": 1, "CO_MobileNo5": 1, "CO_PriorNotifyDays": 23 }, "MO_Amendment_No": 9, "MO_Amendment_Note": "sample string 10", "ManufactureOrderDetails": [ { "MOD_Id": 1, "MOD_P_Id_FK": 2, "MOD_PA_ID_FK": 3, "MOD_PA_Packsize_Code_FK": "sample string 4", "MOD_P_ProductName_FK": "sample string 5", "MOD_PA_Size_FK": 6.0, "MOD_PA_PackUOM_FK": "sample string 7", "MOD_PA_PackType_FK": "sample string 8", "MOD_POD_P_Quantity": 9, "MOD_PR_VGSL_BUY_PRICE_FK": 10.0, "MOD_Manufactured_Date": [ { "MPOD_PMD_Id_PK": 1, "MPOD_PMD_MOD_Id_FK": 2, "MPOD_PMD_Qty": 3.0, "MPOD_PMD_ManufacturedDate": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_UserId_FK": 5, "MPOD_PMD_TS": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_Inactive": "A", "MPOD_PMD_TS_LastEdited": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_TS_Edited_Uid_FK": 9 }, { "MPOD_PMD_Id_PK": 1, "MPOD_PMD_MOD_Id_FK": 2, "MPOD_PMD_Qty": 3.0, "MPOD_PMD_ManufacturedDate": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_UserId_FK": 5, "MPOD_PMD_TS": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_Inactive": "A", "MPOD_PMD_TS_LastEdited": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_TS_Edited_Uid_FK": 9 } ], "MO_UserId_FK": 11, "MO_TS": "2025-01-09T01:03:44.7995582+05:30", "MO_Inactive": "A", "MO_TS_LastEdited": "2025-01-09T01:03:44.7995582+05:30", "MO_TS_Edited_Uid_FK": 15 }, { "MOD_Id": 1, "MOD_P_Id_FK": 2, "MOD_PA_ID_FK": 3, "MOD_PA_Packsize_Code_FK": "sample string 4", "MOD_P_ProductName_FK": "sample string 5", "MOD_PA_Size_FK": 6.0, "MOD_PA_PackUOM_FK": "sample string 7", "MOD_PA_PackType_FK": "sample string 8", "MOD_POD_P_Quantity": 9, "MOD_PR_VGSL_BUY_PRICE_FK": 10.0, "MOD_Manufactured_Date": [ { "MPOD_PMD_Id_PK": 1, "MPOD_PMD_MOD_Id_FK": 2, "MPOD_PMD_Qty": 3.0, "MPOD_PMD_ManufacturedDate": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_UserId_FK": 5, "MPOD_PMD_TS": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_Inactive": "A", "MPOD_PMD_TS_LastEdited": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_TS_Edited_Uid_FK": 9 }, { "MPOD_PMD_Id_PK": 1, "MPOD_PMD_MOD_Id_FK": 2, "MPOD_PMD_Qty": 3.0, "MPOD_PMD_ManufacturedDate": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_UserId_FK": 5, "MPOD_PMD_TS": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_Inactive": "A", "MPOD_PMD_TS_LastEdited": "2025-01-09T01:03:44.7995582+05:30", "MPOD_PMD_TS_Edited_Uid_FK": 9 } ], "MO_UserId_FK": 11, "MO_TS": "2025-01-09T01:03:44.7995582+05:30", "MO_Inactive": "A", "MO_TS_LastEdited": "2025-01-09T01:03:44.7995582+05:30", "MO_TS_Edited_Uid_FK": 15 } ], "MOD_UserId_FK": 11, "MOD_TS": "2025-01-09T01:03:44.7995582+05:30", "MOD_Inactive": "A", "MOD_TS_LastEdited": "2025-01-09T01:03:44.7995582+05:30", "MOD_TS_Edited_Uid_FK": 15 } }
application/xml, text/xml
Sample:
<GoodsReceivingNoteModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <GRN_DC_No>sample string 4</GRN_DC_No> <GRN_Date>2025-01-09T01:03:44.7995582+05:30</GRN_Date> <GRN_Driver>sample string 6</GRN_Driver> <GRN_Id>1</GRN_Id> <GRN_Invoice_Date>2025-01-09T01:03:44.7995582+05:30</GRN_Invoice_Date> <GRN_Invoice_No>sample string 8</GRN_Invoice_No> <GRN_MOD_Id_FK>7</GRN_MOD_Id_FK> <GRN_Manufacturer xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:MA_Code>sample string 2</d2p1:MA_Code> <d2p1:MA_Id>1</d2p1:MA_Id> <d2p1:MA_Name>sample string 3</d2p1:MA_Name> </GRN_Manufacturer> <GRN_No>sample string 2</GRN_No> <GRN_Note>sample string 10</GRN_Note> <GRN_Vehicle_No>sample string 5</GRN_Vehicle_No> <ManufactureOrder> <MOD_Inactive>65</MOD_Inactive> <MOD_TS>2025-01-09T01:03:44.7995582+05:30</MOD_TS> <MOD_TS_Edited_Uid_FK>15</MOD_TS_Edited_Uid_FK> <MOD_TS_LastEdited>2025-01-09T01:03:44.7995582+05:30</MOD_TS_LastEdited> <MOD_UserId_FK>11</MOD_UserId_FK> <MO_Amendment_No>9</MO_Amendment_No> <MO_Amendment_Note>sample string 10</MO_Amendment_Note> <MO_Date>2025-01-09T01:03:44.7995582+05:30</MO_Date> <MO_Id>1</MO_Id> <MO_Id_Encyt>sample string 2</MO_Id_Encyt> <MO_OrderNo>sample string 3</MO_OrderNo> <MO_ST_NO>sample string 7</MO_ST_NO> <MO_TIN_NO>sample string 8</MO_TIN_NO> <MO_UTRNo>sample string 5</MO_UTRNo> <ManufactureFrom> <CO_Code>sample string 2</CO_Code> <CO_Country>sample string 4</CO_Country> <CO_CustomerSupportNo>10</CO_CustomerSupportNo> <CO_Email>sample string 7</CO_Email> <CO_Email1>sample string 18</CO_Email1> <CO_Email2>sample string 19</CO_Email2> <CO_Email3>sample string 20</CO_Email3> <CO_Email4>sample string 21</CO_Email4> <CO_Email5>sample string 22</CO_Email5> <CO_Id>1</CO_Id> <CO_Inactive>65</CO_Inactive> <CO_Invoice_TC>sample string 12</CO_Invoice_TC> <CO_MobileNo1>1</CO_MobileNo1> <CO_MobileNo2>1</CO_MobileNo2> <CO_MobileNo3>1</CO_MobileNo3> <CO_MobileNo4>1</CO_MobileNo4> <CO_MobileNo5>1</CO_MobileNo5> <CO_MobileNumber>6</CO_MobileNumber> <CO_Name>sample string 3</CO_Name> <CO_PO_TC>sample string 11</CO_PO_TC> <CO_PinCode>5</CO_PinCode> <CO_PriorNotifyDays>23</CO_PriorNotifyDays> <CO_ST_No>sample string 9</CO_ST_No> <CO_TIN_No>sample string 8</CO_TIN_No> <CO_TS>2025-01-09T01:03:44.7995582+05:30</CO_TS> <CO_TS_Edited_Uid_FK>17</CO_TS_Edited_Uid_FK> <CO_TS_LastEdited>2025-01-09T01:03:44.7995582+05:30</CO_TS_LastEdited> <CO_UserId_FK>13</CO_UserId_FK> <DistrictSpeedSearch xmlns:d4p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d4p1:DI_District>sample string 3</d4p1:DI_District> <d4p1:DI_DistrictId>sample string 2</d4p1:DI_DistrictId> <d4p1:DI_Id>1</d4p1:DI_Id> </DistrictSpeedSearch> <StateSpeedSearch xmlns:d4p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d4p1:ST_Id>1</d4p1:ST_Id> <d4p1:ST_StateID>sample string 2</d4p1:ST_StateID> <d4p1:ST_StateName>sample string 3</d4p1:ST_StateName> </StateSpeedSearch> <TalukSpeedSearch xmlns:d4p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d4p1:TA_Id>1</d4p1:TA_Id> <d4p1:TA_Taluk>sample string 3</d4p1:TA_Taluk> <d4p1:TA_TalukId>sample string 2</d4p1:TA_TalukId> </TalukSpeedSearch> <VillageSpeedSearch xmlns:d4p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d4p1:VI_Id>1</d4p1:VI_Id> <d4p1:VI_Village>sample string 3</d4p1:VI_Village> <d4p1:VI_VillageId>sample string 2</d4p1:VI_VillageId> </VillageSpeedSearch> </ManufactureFrom> <ManufactureOrderDetails> <ManufactureOrderDetailsModels> <MOD_Id>1</MOD_Id> <MOD_Manufactured_Date> <MPOD_PMDModels> <MPOD_PMD_Id_PK>1</MPOD_PMD_Id_PK> <MPOD_PMD_Inactive>65</MPOD_PMD_Inactive> <MPOD_PMD_MOD_Id_FK>2</MPOD_PMD_MOD_Id_FK> <MPOD_PMD_ManufacturedDate>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_ManufacturedDate> <MPOD_PMD_Qty>3</MPOD_PMD_Qty> <MPOD_PMD_TS>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_TS> <MPOD_PMD_TS_Edited_Uid_FK>9</MPOD_PMD_TS_Edited_Uid_FK> <MPOD_PMD_TS_LastEdited>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_TS_LastEdited> <MPOD_PMD_UserId_FK>5</MPOD_PMD_UserId_FK> </MPOD_PMDModels> <MPOD_PMDModels> <MPOD_PMD_Id_PK>1</MPOD_PMD_Id_PK> <MPOD_PMD_Inactive>65</MPOD_PMD_Inactive> <MPOD_PMD_MOD_Id_FK>2</MPOD_PMD_MOD_Id_FK> <MPOD_PMD_ManufacturedDate>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_ManufacturedDate> <MPOD_PMD_Qty>3</MPOD_PMD_Qty> <MPOD_PMD_TS>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_TS> <MPOD_PMD_TS_Edited_Uid_FK>9</MPOD_PMD_TS_Edited_Uid_FK> <MPOD_PMD_TS_LastEdited>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_TS_LastEdited> <MPOD_PMD_UserId_FK>5</MPOD_PMD_UserId_FK> </MPOD_PMDModels> </MOD_Manufactured_Date> <MOD_PA_ID_FK>3</MOD_PA_ID_FK> <MOD_PA_PackType_FK>sample string 8</MOD_PA_PackType_FK> <MOD_PA_PackUOM_FK>sample string 7</MOD_PA_PackUOM_FK> <MOD_PA_Packsize_Code_FK>sample string 4</MOD_PA_Packsize_Code_FK> <MOD_PA_Size_FK>6</MOD_PA_Size_FK> <MOD_POD_P_Quantity>9</MOD_POD_P_Quantity> <MOD_PR_VGSL_BUY_PRICE_FK>10</MOD_PR_VGSL_BUY_PRICE_FK> <MOD_P_Id_FK>2</MOD_P_Id_FK> <MOD_P_ProductName_FK>sample string 5</MOD_P_ProductName_FK> <MO_Inactive>65</MO_Inactive> <MO_TS>2025-01-09T01:03:44.7995582+05:30</MO_TS> <MO_TS_Edited_Uid_FK>15</MO_TS_Edited_Uid_FK> <MO_TS_LastEdited>2025-01-09T01:03:44.7995582+05:30</MO_TS_LastEdited> <MO_UserId_FK>11</MO_UserId_FK> </ManufactureOrderDetailsModels> <ManufactureOrderDetailsModels> <MOD_Id>1</MOD_Id> <MOD_Manufactured_Date> <MPOD_PMDModels> <MPOD_PMD_Id_PK>1</MPOD_PMD_Id_PK> <MPOD_PMD_Inactive>65</MPOD_PMD_Inactive> <MPOD_PMD_MOD_Id_FK>2</MPOD_PMD_MOD_Id_FK> <MPOD_PMD_ManufacturedDate>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_ManufacturedDate> <MPOD_PMD_Qty>3</MPOD_PMD_Qty> <MPOD_PMD_TS>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_TS> <MPOD_PMD_TS_Edited_Uid_FK>9</MPOD_PMD_TS_Edited_Uid_FK> <MPOD_PMD_TS_LastEdited>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_TS_LastEdited> <MPOD_PMD_UserId_FK>5</MPOD_PMD_UserId_FK> </MPOD_PMDModels> <MPOD_PMDModels> <MPOD_PMD_Id_PK>1</MPOD_PMD_Id_PK> <MPOD_PMD_Inactive>65</MPOD_PMD_Inactive> <MPOD_PMD_MOD_Id_FK>2</MPOD_PMD_MOD_Id_FK> <MPOD_PMD_ManufacturedDate>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_ManufacturedDate> <MPOD_PMD_Qty>3</MPOD_PMD_Qty> <MPOD_PMD_TS>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_TS> <MPOD_PMD_TS_Edited_Uid_FK>9</MPOD_PMD_TS_Edited_Uid_FK> <MPOD_PMD_TS_LastEdited>2025-01-09T01:03:44.7995582+05:30</MPOD_PMD_TS_LastEdited> <MPOD_PMD_UserId_FK>5</MPOD_PMD_UserId_FK> </MPOD_PMDModels> </MOD_Manufactured_Date> <MOD_PA_ID_FK>3</MOD_PA_ID_FK> <MOD_PA_PackType_FK>sample string 8</MOD_PA_PackType_FK> <MOD_PA_PackUOM_FK>sample string 7</MOD_PA_PackUOM_FK> <MOD_PA_Packsize_Code_FK>sample string 4</MOD_PA_Packsize_Code_FK> <MOD_PA_Size_FK>6</MOD_PA_Size_FK> <MOD_POD_P_Quantity>9</MOD_POD_P_Quantity> <MOD_PR_VGSL_BUY_PRICE_FK>10</MOD_PR_VGSL_BUY_PRICE_FK> <MOD_P_Id_FK>2</MOD_P_Id_FK> <MOD_P_ProductName_FK>sample string 5</MOD_P_ProductName_FK> <MO_Inactive>65</MO_Inactive> <MO_TS>2025-01-09T01:03:44.7995582+05:30</MO_TS> <MO_TS_Edited_Uid_FK>15</MO_TS_Edited_Uid_FK> <MO_TS_LastEdited>2025-01-09T01:03:44.7995582+05:30</MO_TS_LastEdited> <MO_UserId_FK>11</MO_UserId_FK> </ManufactureOrderDetailsModels> </ManufactureOrderDetails> <ManufactureTo> <DistrictSpeedSearch xmlns:d4p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d4p1:DI_District>sample string 3</d4p1:DI_District> <d4p1:DI_DistrictId>sample string 2</d4p1:DI_DistrictId> <d4p1:DI_Id>1</d4p1:DI_Id> </DistrictSpeedSearch> <MA_Code>sample string 2</MA_Code> <MA_Country>sample string 4</MA_Country> <MA_CustomerSupportNo>10</MA_CustomerSupportNo> <MA_Email>sample string 7</MA_Email> <MA_Id>1</MA_Id> <MA_Inactive>65</MA_Inactive> <MA_Invoice_TC>sample string 12</MA_Invoice_TC> <MA_MobileNumber>6</MA_MobileNumber> <MA_Name>sample string 3</MA_Name> <MA_PO_TC>sample string 11</MA_PO_TC> <MA_PinCode>5</MA_PinCode> <MA_ST_No>sample string 9</MA_ST_No> <MA_TIN_No>sample string 8</MA_TIN_No> <MA_TS>2025-01-09T01:03:44.7995582+05:30</MA_TS> <MA_TS_Edited_Uid_FK>17</MA_TS_Edited_Uid_FK> <MA_TS_LastEdited>2025-01-09T01:03:44.7995582+05:30</MA_TS_LastEdited> <MA_UserId_FK>13</MA_UserId_FK> <StateSpeedSearch xmlns:d4p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d4p1:ST_Id>1</d4p1:ST_Id> <d4p1:ST_StateID>sample string 2</d4p1:ST_StateID> <d4p1:ST_StateName>sample string 3</d4p1:ST_StateName> </StateSpeedSearch> <TalukSpeedSearch xmlns:d4p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d4p1:TA_Id>1</d4p1:TA_Id> <d4p1:TA_Taluk>sample string 3</d4p1:TA_Taluk> <d4p1:TA_TalukId>sample string 2</d4p1:TA_TalukId> </TalukSpeedSearch> <VillageSpeedSearch xmlns:d4p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d4p1:VI_Id>1</d4p1:VI_Id> <d4p1:VI_Village>sample string 3</d4p1:VI_Village> <d4p1:VI_VillageId>sample string 2</d4p1:VI_VillageId> </VillageSpeedSearch> </ManufactureTo> <TotalAmount>4</TotalAmount> </ManufactureOrder> </GoodsReceivingNoteModels>
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.