POST api/DeliveryChallan/CreateStockiestDeliveryChallan

Request Information

URI Parameters

None.

Body Parameters

DeliveryChallanModels
NameDescriptionTypeAdditional information
DC_Id

integer

None.

DC_Id_Encyt

string

None.

DC_Order_Id_FK

integer

None.

DC_Number

string

Max length: -1

DC_Date

date

Required

DC_FromAddress

string

Required

Max length: -1

DC_ToAddress

string

Required

Max length: -1

DC_From_TIN_NO

string

Max length: -1

DC_To_TIN_NO

string

Max length: -1

DC_OrderType

string

Required

Max length: -1

DC_WH_Id_FK

integer

None.

DC_SK_Id_FK

integer

None.

UserId

integer

None.

DeliveryChallanDetails

Collection of DeliveryChallanDetailsModels

None.

OrderNo

string

None.

Order_Date

date

None.

OrderType

string

None.

Order_Id_Encyt

string

None.

TotalAmount

decimal number

None.

SK_Name

string

None.

DN_Number

string

None.

PartnerId

integer

None.

TermsAndConditionsList

Collection of Conditions

None.

TermsAndConditionsAll

Collection of TermsConditionsModel

None.

Request Formats

application/json, text/json

Sample:
{
  "DC_Id": 1,
  "DC_Id_Encyt": "sample string 2",
  "DC_Order_Id_FK": 3,
  "DC_Number": "sample string 4",
  "DC_Date": "2024-03-29T19:36:23.3214942+05:30",
  "DC_FromAddress": "sample string 6",
  "DC_ToAddress": "sample string 7",
  "DC_From_TIN_NO": "sample string 8",
  "DC_To_TIN_NO": "sample string 9",
  "DC_OrderType": "sample string 10",
  "DC_WH_Id_FK": 11,
  "DC_SK_Id_FK": 12,
  "UserId": 13,
  "DeliveryChallanDetails": [
    {
      "DCD_Id": 1,
      "DCD_DC_Id_FK": 2,
      "DCD_P_Id_FK": 3,
      "DCD_PA_Id_FK": 4,
      "DCD_ProductCode": "sample string 5",
      "DCD_ProductName": "sample string 6",
      "DCD_Size": "sample string 7",
      "DCD_UOM": "sample string 8",
      "DCD_Type": "sample string 9",
      "DCD_Quantity": 10,
      "DCD_QuantityForComparision": 11,
      "DCD_Price": 12.0,
      "DCD_TaxRate": 13.0,
      "DCD_DisplayOrder": 1,
      "DCD_BoxNo": 1,
      "ManufacturedDatesList": [
        {
          "ManufacturedDate": "2024-03-29T19:36:23.3214942+05:30",
          "Quantity": 2.0,
          "QuantityForComparision": 3.0
        },
        {
          "ManufacturedDate": "2024-03-29T19:36:23.3214942+05:30",
          "Quantity": 2.0,
          "QuantityForComparision": 3.0
        }
      ],
      "DCD_ProductSerialNo": "sample string 14"
    },
    {
      "DCD_Id": 1,
      "DCD_DC_Id_FK": 2,
      "DCD_P_Id_FK": 3,
      "DCD_PA_Id_FK": 4,
      "DCD_ProductCode": "sample string 5",
      "DCD_ProductName": "sample string 6",
      "DCD_Size": "sample string 7",
      "DCD_UOM": "sample string 8",
      "DCD_Type": "sample string 9",
      "DCD_Quantity": 10,
      "DCD_QuantityForComparision": 11,
      "DCD_Price": 12.0,
      "DCD_TaxRate": 13.0,
      "DCD_DisplayOrder": 1,
      "DCD_BoxNo": 1,
      "ManufacturedDatesList": [
        {
          "ManufacturedDate": "2024-03-29T19:36:23.3214942+05:30",
          "Quantity": 2.0,
          "QuantityForComparision": 3.0
        },
        {
          "ManufacturedDate": "2024-03-29T19:36:23.3214942+05:30",
          "Quantity": 2.0,
          "QuantityForComparision": 3.0
        }
      ],
      "DCD_ProductSerialNo": "sample string 14"
    }
  ],
  "OrderNo": "sample string 14",
  "Order_Date": "2024-03-29T19:36:23.3214942+05:30",
  "OrderType": "sample string 16",
  "Order_Id_Encyt": "sample string 17",
  "TotalAmount": 18.0,
  "SK_Name": "sample string 19",
  "DN_Number": "sample string 20",
  "PartnerId": 1,
  "TermsAndConditionsList": [
    {
      "Conditionsname": "sample string 1",
      "TC_Id": 2
    },
    {
      "Conditionsname": "sample string 1",
      "TC_Id": 2
    }
  ],
  "TermsAndConditionsAll": [
    {
      "TC_Id": 1,
      "TC_Description": "sample string 2",
      "TC_UserId_FK": 3,
      "TC_TS": "2024-03-29T19:36:23.3214942+05:30",
      "TC_Inactive": "A",
      "TC_TS_LastEdited": "2024-03-29T19:36:23.3214942+05:30",
      "TC_TS_Edited_Uid_FK": 7,
      "IsSelected": true
    },
    {
      "TC_Id": 1,
      "TC_Description": "sample string 2",
      "TC_UserId_FK": 3,
      "TC_TS": "2024-03-29T19:36:23.3214942+05:30",
      "TC_Inactive": "A",
      "TC_TS_LastEdited": "2024-03-29T19:36:23.3214942+05:30",
      "TC_TS_Edited_Uid_FK": 7,
      "IsSelected": true
    }
  ]
}

application/xml, text/xml

Sample:
<DeliveryChallanModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <DC_Date>2024-03-29T19:36:23.3214942+05:30</DC_Date>
  <DC_FromAddress>sample string 6</DC_FromAddress>
  <DC_From_TIN_NO>sample string 8</DC_From_TIN_NO>
  <DC_Id>1</DC_Id>
  <DC_Id_Encyt>sample string 2</DC_Id_Encyt>
  <DC_Number>sample string 4</DC_Number>
  <DC_OrderType>sample string 10</DC_OrderType>
  <DC_Order_Id_FK>3</DC_Order_Id_FK>
  <DC_SK_Id_FK>12</DC_SK_Id_FK>
  <DC_ToAddress>sample string 7</DC_ToAddress>
  <DC_To_TIN_NO>sample string 9</DC_To_TIN_NO>
  <DC_WH_Id_FK>11</DC_WH_Id_FK>
  <DN_Number>sample string 20</DN_Number>
  <DeliveryChallanDetails>
    <DeliveryChallanDetailsModels>
      <DCD_BoxNo>1</DCD_BoxNo>
      <DCD_DC_Id_FK>2</DCD_DC_Id_FK>
      <DCD_DisplayOrder>1</DCD_DisplayOrder>
      <DCD_Id>1</DCD_Id>
      <DCD_PA_Id_FK>4</DCD_PA_Id_FK>
      <DCD_P_Id_FK>3</DCD_P_Id_FK>
      <DCD_Price>12</DCD_Price>
      <DCD_ProductCode>sample string 5</DCD_ProductCode>
      <DCD_ProductName>sample string 6</DCD_ProductName>
      <DCD_ProductSerialNo>sample string 14</DCD_ProductSerialNo>
      <DCD_Quantity>10</DCD_Quantity>
      <DCD_QuantityForComparision>11</DCD_QuantityForComparision>
      <DCD_Size>sample string 7</DCD_Size>
      <DCD_TaxRate>13</DCD_TaxRate>
      <DCD_Type>sample string 9</DCD_Type>
      <DCD_UOM>sample string 8</DCD_UOM>
      <ManufacturedDatesList>
        <SalesManufacturedDateModels>
          <ManufacturedDate>2024-03-29T19:36:23.3214942+05:30</ManufacturedDate>
          <Quantity>2</Quantity>
          <QuantityForComparision>3</QuantityForComparision>
        </SalesManufacturedDateModels>
        <SalesManufacturedDateModels>
          <ManufacturedDate>2024-03-29T19:36:23.3214942+05:30</ManufacturedDate>
          <Quantity>2</Quantity>
          <QuantityForComparision>3</QuantityForComparision>
        </SalesManufacturedDateModels>
      </ManufacturedDatesList>
    </DeliveryChallanDetailsModels>
    <DeliveryChallanDetailsModels>
      <DCD_BoxNo>1</DCD_BoxNo>
      <DCD_DC_Id_FK>2</DCD_DC_Id_FK>
      <DCD_DisplayOrder>1</DCD_DisplayOrder>
      <DCD_Id>1</DCD_Id>
      <DCD_PA_Id_FK>4</DCD_PA_Id_FK>
      <DCD_P_Id_FK>3</DCD_P_Id_FK>
      <DCD_Price>12</DCD_Price>
      <DCD_ProductCode>sample string 5</DCD_ProductCode>
      <DCD_ProductName>sample string 6</DCD_ProductName>
      <DCD_ProductSerialNo>sample string 14</DCD_ProductSerialNo>
      <DCD_Quantity>10</DCD_Quantity>
      <DCD_QuantityForComparision>11</DCD_QuantityForComparision>
      <DCD_Size>sample string 7</DCD_Size>
      <DCD_TaxRate>13</DCD_TaxRate>
      <DCD_Type>sample string 9</DCD_Type>
      <DCD_UOM>sample string 8</DCD_UOM>
      <ManufacturedDatesList>
        <SalesManufacturedDateModels>
          <ManufacturedDate>2024-03-29T19:36:23.3214942+05:30</ManufacturedDate>
          <Quantity>2</Quantity>
          <QuantityForComparision>3</QuantityForComparision>
        </SalesManufacturedDateModels>
        <SalesManufacturedDateModels>
          <ManufacturedDate>2024-03-29T19:36:23.3214942+05:30</ManufacturedDate>
          <Quantity>2</Quantity>
          <QuantityForComparision>3</QuantityForComparision>
        </SalesManufacturedDateModels>
      </ManufacturedDatesList>
    </DeliveryChallanDetailsModels>
  </DeliveryChallanDetails>
  <OrderNo>sample string 14</OrderNo>
  <OrderType>sample string 16</OrderType>
  <Order_Date>2024-03-29T19:36:23.3214942+05:30</Order_Date>
  <Order_Id_Encyt>sample string 17</Order_Id_Encyt>
  <PartnerId>1</PartnerId>
  <SK_Name>sample string 19</SK_Name>
  <TermsAndConditionsAll>
    <TermsConditionsModel>
      <IsSelected>true</IsSelected>
      <TC_Description>sample string 2</TC_Description>
      <TC_Id>1</TC_Id>
      <TC_Inactive>65</TC_Inactive>
      <TC_TS>2024-03-29T19:36:23.3214942+05:30</TC_TS>
      <TC_TS_Edited_Uid_FK>7</TC_TS_Edited_Uid_FK>
      <TC_TS_LastEdited>2024-03-29T19:36:23.3214942+05:30</TC_TS_LastEdited>
      <TC_UserId_FK>3</TC_UserId_FK>
    </TermsConditionsModel>
    <TermsConditionsModel>
      <IsSelected>true</IsSelected>
      <TC_Description>sample string 2</TC_Description>
      <TC_Id>1</TC_Id>
      <TC_Inactive>65</TC_Inactive>
      <TC_TS>2024-03-29T19:36:23.3214942+05:30</TC_TS>
      <TC_TS_Edited_Uid_FK>7</TC_TS_Edited_Uid_FK>
      <TC_TS_LastEdited>2024-03-29T19:36:23.3214942+05:30</TC_TS_LastEdited>
      <TC_UserId_FK>3</TC_UserId_FK>
    </TermsConditionsModel>
  </TermsAndConditionsAll>
  <TermsAndConditionsList>
    <Conditions>
      <Conditionsname>sample string 1</Conditionsname>
      <TC_Id>2</TC_Id>
    </Conditions>
    <Conditions>
      <Conditionsname>sample string 1</Conditionsname>
      <TC_Id>2</TC_Id>
    </Conditions>
  </TermsAndConditionsList>
  <TotalAmount>18</TotalAmount>
  <UserId>13</UserId>
</DeliveryChallanModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.