POST api/StockistGoodsReceivingNote

Request Information

URI Parameters

None.

Body Parameters

StockistGoodsReceivingNoteModels
NameDescriptionTypeAdditional information
SGRN_Id

integer

None.

SGRN_No

string

None.

SGRN_Date

date

Required

SGRN_DC_No

string

Max length: 50

SGRN_Vehicle_No

string

Required

Max length: 50

SGRN_Driver

string

Required

Max length: 50

SGRN_POR_Id_FK

integer

Required

SGRN_Warehouse_Invoice_No

string

Required

Max length: 50

SGRN_Warehouse_Invoice_Date

date

Required

SGRN_Note

string

Max length: 50

StockistGRN

PurchaseOrderModels

None.

PurchaseOrder

PurchaseOrderCompleteModels

Required

Request Formats

application/json, text/json

Sample:
{
  "SGRN_Id": 1,
  "SGRN_No": "sample string 2",
  "SGRN_Date": "2025-01-09T00:39:15.4640374+05:30",
  "SGRN_DC_No": "sample string 4",
  "SGRN_Vehicle_No": "sample string 5",
  "SGRN_Driver": "sample string 6",
  "SGRN_POR_Id_FK": 7,
  "SGRN_Warehouse_Invoice_No": "sample string 8",
  "SGRN_Warehouse_Invoice_Date": "2025-01-09T00:39:15.4640374+05:30",
  "SGRN_Note": "sample string 10",
  "StockistGRN": {
    "POR_Id": 1,
    "POR_Id_Encyt": "sample string 2",
    "POR_OrderNo": "sample string 3",
    "POR_UTRNo": "sample string 4",
    "ModeOfPayment": "sample string 5",
    "POR_Date": "2025-01-09T00:39:15.4640374+05:30",
    "POR_SK_ID_FK": 7,
    "POR_StockiestCode": "sample string 8",
    "POR_StockiestName": "sample string 9",
    "POR_Stockiest_Street": "sample string 10",
    "POR_Stockiest_DoorNo": "sample string 11",
    "POR_Stockiest_Village": "sample string 12",
    "POR_Stockiest_Taluk": "sample string 13",
    "POR_Stockiest_District": "sample string 14",
    "POR_Stockiest_State": "sample string 15",
    "POR_Stockiest_PinCode": 16,
    "POR_Stockiest_MobileNo": 17,
    "POR_Stockiest_TIN_No": "sample string 18",
    "POR_Stockiest_Email": "sample string 19",
    "POR_ShippingType": "sample string 20",
    "POR_ConvenienceCharge": 21.0,
    "POR_Amendment_No": 22,
    "POR_Amendment_Note": "sample string 23",
    "TotalAmount": 24.0,
    "POR_InvoiceCreated": "sample string 25",
    "StockistLinkedToWarehouse": "sample string 26",
    "POR_UserId_FK": 27,
    "POR_TS": "2025-01-09T00:39:15.4640374+05:30",
    "POR_Inactive": "A",
    "POR_TS_LastEdited": "2025-01-09T00:39:15.4640374+05:30",
    "POR_TS_Edited_Uid_FK": 31,
    "OrderType": "sample string 32"
  },
  "PurchaseOrder": {
    "PurchaseOrder": {
      "POR_Id": 1,
      "POR_Id_Encyt": "sample string 2",
      "POR_OrderNo": "sample string 3",
      "POR_UTRNo": "sample string 4",
      "ModeOfPayment": "sample string 5",
      "POR_Date": "2025-01-09T00:39:15.4640374+05:30",
      "POR_SK_ID_FK": 7,
      "POR_StockiestCode": "sample string 8",
      "POR_StockiestName": "sample string 9",
      "POR_Stockiest_Street": "sample string 10",
      "POR_Stockiest_DoorNo": "sample string 11",
      "POR_Stockiest_Village": "sample string 12",
      "POR_Stockiest_Taluk": "sample string 13",
      "POR_Stockiest_District": "sample string 14",
      "POR_Stockiest_State": "sample string 15",
      "POR_Stockiest_PinCode": 16,
      "POR_Stockiest_MobileNo": 17,
      "POR_Stockiest_TIN_No": "sample string 18",
      "POR_Stockiest_Email": "sample string 19",
      "POR_ShippingType": "sample string 20",
      "POR_ConvenienceCharge": 21.0,
      "POR_Amendment_No": 22,
      "POR_Amendment_Note": "sample string 23",
      "TotalAmount": 24.0,
      "POR_InvoiceCreated": "sample string 25",
      "StockistLinkedToWarehouse": "sample string 26",
      "POR_UserId_FK": 27,
      "POR_TS": "2025-01-09T00:39:15.4640374+05:30",
      "POR_Inactive": "A",
      "POR_TS_LastEdited": "2025-01-09T00:39:15.4640374+05:30",
      "POR_TS_Edited_Uid_FK": 31,
      "OrderType": "sample string 32"
    },
    "PurchaseOrderDetails": [
      {
        "POD_Id": 1,
        "POD_COR_Id_FK": 2,
        "POD_P_Id_FK": 3,
        "POD_PA_Id_FK": 4,
        "POD_P_ProductCode_FK": "sample string 5",
        "POD_P_ProductName_FK": "sample string 6",
        "POD_P_UOM_FK": "sample string 7",
        "POD_P_PackType": "sample string 8",
        "POD_P_PackSize": "sample string 9",
        "POD_P_Quantity": 10,
        "POD_PR_CustomerPrice_FK": 11.0,
        "POD_PR_VAT_RATE_FK": 12.0,
        "POD_VAT_Amount": 13.0,
        "POD_ShippingCharges": 14.0,
        "POD_ServiceTax": 15.0,
        "POD_ServiceTaxAmount": 16.0,
        "POD_VGSL_BUY_PRICE": 17.0,
        "ProductManufacturerId": 18,
        "POD_UserId_FK": 19,
        "POD_TS": "2025-01-09T00:39:15.4640374+05:30",
        "POD_Inactive": "A",
        "POD_TS_LastEdited": "2025-01-09T00:39:15.4640374+05:30",
        "POD_TS_Edited_Uid_FK": 23
      },
      {
        "POD_Id": 1,
        "POD_COR_Id_FK": 2,
        "POD_P_Id_FK": 3,
        "POD_PA_Id_FK": 4,
        "POD_P_ProductCode_FK": "sample string 5",
        "POD_P_ProductName_FK": "sample string 6",
        "POD_P_UOM_FK": "sample string 7",
        "POD_P_PackType": "sample string 8",
        "POD_P_PackSize": "sample string 9",
        "POD_P_Quantity": 10,
        "POD_PR_CustomerPrice_FK": 11.0,
        "POD_PR_VAT_RATE_FK": 12.0,
        "POD_VAT_Amount": 13.0,
        "POD_ShippingCharges": 14.0,
        "POD_ServiceTax": 15.0,
        "POD_ServiceTaxAmount": 16.0,
        "POD_VGSL_BUY_PRICE": 17.0,
        "ProductManufacturerId": 18,
        "POD_UserId_FK": 19,
        "POD_TS": "2025-01-09T00:39:15.4640374+05:30",
        "POD_Inactive": "A",
        "POD_TS_LastEdited": "2025-01-09T00:39:15.4640374+05:30",
        "POD_TS_Edited_Uid_FK": 23
      }
    ],
    "CompanyDetails": {
      "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-09T00:39:15.4640374+05:30",
      "CO_Inactive": "A",
      "CO_TS_LastEdited": "2025-01-09T00:39:15.4640374+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
    }
  }
}

application/xml, text/xml

Sample:
<StockistGoodsReceivingNoteModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <PurchaseOrder>
    <CompanyDetails>
      <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-09T00:39:15.4640374+05:30</CO_TS>
      <CO_TS_Edited_Uid_FK>17</CO_TS_Edited_Uid_FK>
      <CO_TS_LastEdited>2025-01-09T00:39:15.4640374+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>
    </CompanyDetails>
    <PurchaseOrder>
      <ModeOfPayment>sample string 5</ModeOfPayment>
      <OrderType>sample string 32</OrderType>
      <POR_Amendment_No>22</POR_Amendment_No>
      <POR_Amendment_Note>sample string 23</POR_Amendment_Note>
      <POR_ConvenienceCharge>21</POR_ConvenienceCharge>
      <POR_Date>2025-01-09T00:39:15.4640374+05:30</POR_Date>
      <POR_Id>1</POR_Id>
      <POR_Id_Encyt>sample string 2</POR_Id_Encyt>
      <POR_Inactive>65</POR_Inactive>
      <POR_InvoiceCreated>sample string 25</POR_InvoiceCreated>
      <POR_OrderNo>sample string 3</POR_OrderNo>
      <POR_SK_ID_FK>7</POR_SK_ID_FK>
      <POR_ShippingType>sample string 20</POR_ShippingType>
      <POR_StockiestCode>sample string 8</POR_StockiestCode>
      <POR_StockiestName>sample string 9</POR_StockiestName>
      <POR_Stockiest_District>sample string 14</POR_Stockiest_District>
      <POR_Stockiest_DoorNo>sample string 11</POR_Stockiest_DoorNo>
      <POR_Stockiest_Email>sample string 19</POR_Stockiest_Email>
      <POR_Stockiest_MobileNo>17</POR_Stockiest_MobileNo>
      <POR_Stockiest_PinCode>16</POR_Stockiest_PinCode>
      <POR_Stockiest_State>sample string 15</POR_Stockiest_State>
      <POR_Stockiest_Street>sample string 10</POR_Stockiest_Street>
      <POR_Stockiest_TIN_No>sample string 18</POR_Stockiest_TIN_No>
      <POR_Stockiest_Taluk>sample string 13</POR_Stockiest_Taluk>
      <POR_Stockiest_Village>sample string 12</POR_Stockiest_Village>
      <POR_TS>2025-01-09T00:39:15.4640374+05:30</POR_TS>
      <POR_TS_Edited_Uid_FK>31</POR_TS_Edited_Uid_FK>
      <POR_TS_LastEdited>2025-01-09T00:39:15.4640374+05:30</POR_TS_LastEdited>
      <POR_UTRNo>sample string 4</POR_UTRNo>
      <POR_UserId_FK>27</POR_UserId_FK>
      <StockistLinkedToWarehouse>sample string 26</StockistLinkedToWarehouse>
      <TotalAmount>24</TotalAmount>
    </PurchaseOrder>
    <PurchaseOrderDetails>
      <PurchaseOrderDetailsModels>
        <POD_COR_Id_FK>2</POD_COR_Id_FK>
        <POD_Id>1</POD_Id>
        <POD_Inactive>65</POD_Inactive>
        <POD_PA_Id_FK>4</POD_PA_Id_FK>
        <POD_PR_CustomerPrice_FK>11</POD_PR_CustomerPrice_FK>
        <POD_PR_VAT_RATE_FK>12</POD_PR_VAT_RATE_FK>
        <POD_P_Id_FK>3</POD_P_Id_FK>
        <POD_P_PackSize>sample string 9</POD_P_PackSize>
        <POD_P_PackType>sample string 8</POD_P_PackType>
        <POD_P_ProductCode_FK>sample string 5</POD_P_ProductCode_FK>
        <POD_P_ProductName_FK>sample string 6</POD_P_ProductName_FK>
        <POD_P_Quantity>10</POD_P_Quantity>
        <POD_P_UOM_FK>sample string 7</POD_P_UOM_FK>
        <POD_ServiceTax>15</POD_ServiceTax>
        <POD_ServiceTaxAmount>16</POD_ServiceTaxAmount>
        <POD_ShippingCharges>14</POD_ShippingCharges>
        <POD_TS>2025-01-09T00:39:15.4640374+05:30</POD_TS>
        <POD_TS_Edited_Uid_FK>23</POD_TS_Edited_Uid_FK>
        <POD_TS_LastEdited>2025-01-09T00:39:15.4640374+05:30</POD_TS_LastEdited>
        <POD_UserId_FK>19</POD_UserId_FK>
        <POD_VAT_Amount>13</POD_VAT_Amount>
        <POD_VGSL_BUY_PRICE>17</POD_VGSL_BUY_PRICE>
        <ProductManufacturerId>18</ProductManufacturerId>
      </PurchaseOrderDetailsModels>
      <PurchaseOrderDetailsModels>
        <POD_COR_Id_FK>2</POD_COR_Id_FK>
        <POD_Id>1</POD_Id>
        <POD_Inactive>65</POD_Inactive>
        <POD_PA_Id_FK>4</POD_PA_Id_FK>
        <POD_PR_CustomerPrice_FK>11</POD_PR_CustomerPrice_FK>
        <POD_PR_VAT_RATE_FK>12</POD_PR_VAT_RATE_FK>
        <POD_P_Id_FK>3</POD_P_Id_FK>
        <POD_P_PackSize>sample string 9</POD_P_PackSize>
        <POD_P_PackType>sample string 8</POD_P_PackType>
        <POD_P_ProductCode_FK>sample string 5</POD_P_ProductCode_FK>
        <POD_P_ProductName_FK>sample string 6</POD_P_ProductName_FK>
        <POD_P_Quantity>10</POD_P_Quantity>
        <POD_P_UOM_FK>sample string 7</POD_P_UOM_FK>
        <POD_ServiceTax>15</POD_ServiceTax>
        <POD_ServiceTaxAmount>16</POD_ServiceTaxAmount>
        <POD_ShippingCharges>14</POD_ShippingCharges>
        <POD_TS>2025-01-09T00:39:15.4640374+05:30</POD_TS>
        <POD_TS_Edited_Uid_FK>23</POD_TS_Edited_Uid_FK>
        <POD_TS_LastEdited>2025-01-09T00:39:15.4640374+05:30</POD_TS_LastEdited>
        <POD_UserId_FK>19</POD_UserId_FK>
        <POD_VAT_Amount>13</POD_VAT_Amount>
        <POD_VGSL_BUY_PRICE>17</POD_VGSL_BUY_PRICE>
        <ProductManufacturerId>18</ProductManufacturerId>
      </PurchaseOrderDetailsModels>
    </PurchaseOrderDetails>
  </PurchaseOrder>
  <SGRN_DC_No>sample string 4</SGRN_DC_No>
  <SGRN_Date>2025-01-09T00:39:15.4640374+05:30</SGRN_Date>
  <SGRN_Driver>sample string 6</SGRN_Driver>
  <SGRN_Id>1</SGRN_Id>
  <SGRN_No>sample string 2</SGRN_No>
  <SGRN_Note>sample string 10</SGRN_Note>
  <SGRN_POR_Id_FK>7</SGRN_POR_Id_FK>
  <SGRN_Vehicle_No>sample string 5</SGRN_Vehicle_No>
  <SGRN_Warehouse_Invoice_Date>2025-01-09T00:39:15.4640374+05:30</SGRN_Warehouse_Invoice_Date>
  <SGRN_Warehouse_Invoice_No>sample string 8</SGRN_Warehouse_Invoice_No>
  <StockistGRN>
    <ModeOfPayment>sample string 5</ModeOfPayment>
    <OrderType>sample string 32</OrderType>
    <POR_Amendment_No>22</POR_Amendment_No>
    <POR_Amendment_Note>sample string 23</POR_Amendment_Note>
    <POR_ConvenienceCharge>21</POR_ConvenienceCharge>
    <POR_Date>2025-01-09T00:39:15.4640374+05:30</POR_Date>
    <POR_Id>1</POR_Id>
    <POR_Id_Encyt>sample string 2</POR_Id_Encyt>
    <POR_Inactive>65</POR_Inactive>
    <POR_InvoiceCreated>sample string 25</POR_InvoiceCreated>
    <POR_OrderNo>sample string 3</POR_OrderNo>
    <POR_SK_ID_FK>7</POR_SK_ID_FK>
    <POR_ShippingType>sample string 20</POR_ShippingType>
    <POR_StockiestCode>sample string 8</POR_StockiestCode>
    <POR_StockiestName>sample string 9</POR_StockiestName>
    <POR_Stockiest_District>sample string 14</POR_Stockiest_District>
    <POR_Stockiest_DoorNo>sample string 11</POR_Stockiest_DoorNo>
    <POR_Stockiest_Email>sample string 19</POR_Stockiest_Email>
    <POR_Stockiest_MobileNo>17</POR_Stockiest_MobileNo>
    <POR_Stockiest_PinCode>16</POR_Stockiest_PinCode>
    <POR_Stockiest_State>sample string 15</POR_Stockiest_State>
    <POR_Stockiest_Street>sample string 10</POR_Stockiest_Street>
    <POR_Stockiest_TIN_No>sample string 18</POR_Stockiest_TIN_No>
    <POR_Stockiest_Taluk>sample string 13</POR_Stockiest_Taluk>
    <POR_Stockiest_Village>sample string 12</POR_Stockiest_Village>
    <POR_TS>2025-01-09T00:39:15.4640374+05:30</POR_TS>
    <POR_TS_Edited_Uid_FK>31</POR_TS_Edited_Uid_FK>
    <POR_TS_LastEdited>2025-01-09T00:39:15.4640374+05:30</POR_TS_LastEdited>
    <POR_UTRNo>sample string 4</POR_UTRNo>
    <POR_UserId_FK>27</POR_UserId_FK>
    <StockistLinkedToWarehouse>sample string 26</StockistLinkedToWarehouse>
    <TotalAmount>24</TotalAmount>
  </StockistGRN>
</StockistGoodsReceivingNoteModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.