POST api/WarehouseReturnsWithoutCN/SaveWarehouseReturnsDetails

Request Information

URI Parameters

None.

Body Parameters

WarehouseReturnsWithOutCNModels
NameDescriptionTypeAdditional information
R_Id

integer

None.

R_Code

string

None.

R_InvoiceNO

string

None.

R_InvoiceId_FK

integer

None.

R_InvoiceType

string

None.

R_Date

date

None.

R_UserId_FK

integer

None.

R_TS

date

None.

R_Inactive

character

None.

R_TS_LastEdited

date

None.

R_TS_Edited_Uid_FK

integer

None.

FromAddress

string

None.

ToAddress

string

None.

WarehouseReturnsWithOutCNDetails

Collection of WarehouseReturnsWithOutCNDetailsModels

None.

WarehouseReturnsDetails

Collection of WarehouseReturnsDetailsModels

None.

Request Formats

application/json, text/json

Sample:
{
  "R_Id": 1,
  "R_Code": "sample string 2",
  "R_InvoiceNO": "sample string 3",
  "R_InvoiceId_FK": 4,
  "R_InvoiceType": "sample string 5",
  "R_Date": "2024-04-25T22:57:18.8223628+05:30",
  "R_UserId_FK": 7,
  "R_TS": "2024-04-25T22:57:18.8223628+05:30",
  "R_Inactive": "A",
  "R_TS_LastEdited": "2024-04-25T22:57:18.8223628+05:30",
  "R_TS_Edited_Uid_FK": 11,
  "FromAddress": "sample string 12",
  "ToAddress": "sample string 13",
  "WarehouseReturnsWithOutCNDetails": [
    {
      "RD_Id": 1,
      "RD_R_Id_FK": 2,
      "RD_P_Id_FK": 3,
      "RD_PA_Id_FK": 4,
      "RD_Qty": 5.0,
      "RD_Price": 6.0,
      "RD_TaxRate": 7.0,
      "RD_TS": "2024-04-25T22:57:18.8223628+05:30",
      "RD_Inactive": "A",
      "RD_TS_LastEdited": "2024-04-25T22:57:18.8223628+05:30",
      "RD_TS_Edited_Uid_FK": 11,
      "RD_UserId_FK": 12,
      "P_Name": "sample string 13",
      "PA_Size": "sample string 14",
      "PA_PackUOM": "sample string 15",
      "PA_PackType": "sample string 16",
      "PA_Packsize_Code": "sample string 17"
    },
    {
      "RD_Id": 1,
      "RD_R_Id_FK": 2,
      "RD_P_Id_FK": 3,
      "RD_PA_Id_FK": 4,
      "RD_Qty": 5.0,
      "RD_Price": 6.0,
      "RD_TaxRate": 7.0,
      "RD_TS": "2024-04-25T22:57:18.8223628+05:30",
      "RD_Inactive": "A",
      "RD_TS_LastEdited": "2024-04-25T22:57:18.8223628+05:30",
      "RD_TS_Edited_Uid_FK": 11,
      "RD_UserId_FK": 12,
      "P_Name": "sample string 13",
      "PA_Size": "sample string 14",
      "PA_PackUOM": "sample string 15",
      "PA_PackType": "sample string 16",
      "PA_Packsize_Code": "sample string 17"
    }
  ],
  "WarehouseReturnsDetails": [
    {
      "P_Id": 1,
      "PA_Id": 2,
      "P_Name": "sample string 3",
      "PA_Size": "sample string 4",
      "PA_UOM": "sample string 5",
      "PA_Type": "sample string 6",
      "PA_Code": "sample string 7",
      "Qty": 8,
      "PR_Price": 9.0,
      "PR_TaxRate": 10.0,
      "CND_UserId_FK": 11,
      "CND_TS": "2024-04-25T22:57:18.8223628+05:30",
      "CND_Inactive": "A",
      "CND_TS_LastEdited": "2024-04-25T22:57:18.8223628+05:30",
      "CND_TS_Edited_Uid_FK": 15
    },
    {
      "P_Id": 1,
      "PA_Id": 2,
      "P_Name": "sample string 3",
      "PA_Size": "sample string 4",
      "PA_UOM": "sample string 5",
      "PA_Type": "sample string 6",
      "PA_Code": "sample string 7",
      "Qty": 8,
      "PR_Price": 9.0,
      "PR_TaxRate": 10.0,
      "CND_UserId_FK": 11,
      "CND_TS": "2024-04-25T22:57:18.8223628+05:30",
      "CND_Inactive": "A",
      "CND_TS_LastEdited": "2024-04-25T22:57:18.8223628+05:30",
      "CND_TS_Edited_Uid_FK": 15
    }
  ]
}

application/xml, text/xml

Sample:
<WarehouseReturnsWithOutCNModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <FromAddress>sample string 12</FromAddress>
  <R_Code>sample string 2</R_Code>
  <R_Date>2024-04-25T22:57:18.8223628+05:30</R_Date>
  <R_Id>1</R_Id>
  <R_Inactive>65</R_Inactive>
  <R_InvoiceId_FK>4</R_InvoiceId_FK>
  <R_InvoiceNO>sample string 3</R_InvoiceNO>
  <R_InvoiceType>sample string 5</R_InvoiceType>
  <R_TS>2024-04-25T22:57:18.8223628+05:30</R_TS>
  <R_TS_Edited_Uid_FK>11</R_TS_Edited_Uid_FK>
  <R_TS_LastEdited>2024-04-25T22:57:18.8223628+05:30</R_TS_LastEdited>
  <R_UserId_FK>7</R_UserId_FK>
  <ToAddress>sample string 13</ToAddress>
  <WarehouseReturnsDetails>
    <WarehouseReturnsDetailsModels>
      <CND_Inactive>65</CND_Inactive>
      <CND_TS>2024-04-25T22:57:18.8223628+05:30</CND_TS>
      <CND_TS_Edited_Uid_FK>15</CND_TS_Edited_Uid_FK>
      <CND_TS_LastEdited>2024-04-25T22:57:18.8223628+05:30</CND_TS_LastEdited>
      <CND_UserId_FK>11</CND_UserId_FK>
      <PA_Code>sample string 7</PA_Code>
      <PA_Id>2</PA_Id>
      <PA_Size>sample string 4</PA_Size>
      <PA_Type>sample string 6</PA_Type>
      <PA_UOM>sample string 5</PA_UOM>
      <PR_Price>9</PR_Price>
      <PR_TaxRate>10</PR_TaxRate>
      <P_Id>1</P_Id>
      <P_Name>sample string 3</P_Name>
      <Qty>8</Qty>
    </WarehouseReturnsDetailsModels>
    <WarehouseReturnsDetailsModels>
      <CND_Inactive>65</CND_Inactive>
      <CND_TS>2024-04-25T22:57:18.8223628+05:30</CND_TS>
      <CND_TS_Edited_Uid_FK>15</CND_TS_Edited_Uid_FK>
      <CND_TS_LastEdited>2024-04-25T22:57:18.8223628+05:30</CND_TS_LastEdited>
      <CND_UserId_FK>11</CND_UserId_FK>
      <PA_Code>sample string 7</PA_Code>
      <PA_Id>2</PA_Id>
      <PA_Size>sample string 4</PA_Size>
      <PA_Type>sample string 6</PA_Type>
      <PA_UOM>sample string 5</PA_UOM>
      <PR_Price>9</PR_Price>
      <PR_TaxRate>10</PR_TaxRate>
      <P_Id>1</P_Id>
      <P_Name>sample string 3</P_Name>
      <Qty>8</Qty>
    </WarehouseReturnsDetailsModels>
  </WarehouseReturnsDetails>
  <WarehouseReturnsWithOutCNDetails>
    <WarehouseReturnsWithOutCNDetailsModels>
      <PA_PackType>sample string 16</PA_PackType>
      <PA_PackUOM>sample string 15</PA_PackUOM>
      <PA_Packsize_Code>sample string 17</PA_Packsize_Code>
      <PA_Size>sample string 14</PA_Size>
      <P_Name>sample string 13</P_Name>
      <RD_Id>1</RD_Id>
      <RD_Inactive>65</RD_Inactive>
      <RD_PA_Id_FK>4</RD_PA_Id_FK>
      <RD_P_Id_FK>3</RD_P_Id_FK>
      <RD_Price>6</RD_Price>
      <RD_Qty>5</RD_Qty>
      <RD_R_Id_FK>2</RD_R_Id_FK>
      <RD_TS>2024-04-25T22:57:18.8223628+05:30</RD_TS>
      <RD_TS_Edited_Uid_FK>11</RD_TS_Edited_Uid_FK>
      <RD_TS_LastEdited>2024-04-25T22:57:18.8223628+05:30</RD_TS_LastEdited>
      <RD_TaxRate>7</RD_TaxRate>
      <RD_UserId_FK>12</RD_UserId_FK>
    </WarehouseReturnsWithOutCNDetailsModels>
    <WarehouseReturnsWithOutCNDetailsModels>
      <PA_PackType>sample string 16</PA_PackType>
      <PA_PackUOM>sample string 15</PA_PackUOM>
      <PA_Packsize_Code>sample string 17</PA_Packsize_Code>
      <PA_Size>sample string 14</PA_Size>
      <P_Name>sample string 13</P_Name>
      <RD_Id>1</RD_Id>
      <RD_Inactive>65</RD_Inactive>
      <RD_PA_Id_FK>4</RD_PA_Id_FK>
      <RD_P_Id_FK>3</RD_P_Id_FK>
      <RD_Price>6</RD_Price>
      <RD_Qty>5</RD_Qty>
      <RD_R_Id_FK>2</RD_R_Id_FK>
      <RD_TS>2024-04-25T22:57:18.8223628+05:30</RD_TS>
      <RD_TS_Edited_Uid_FK>11</RD_TS_Edited_Uid_FK>
      <RD_TS_LastEdited>2024-04-25T22:57:18.8223628+05:30</RD_TS_LastEdited>
      <RD_TaxRate>7</RD_TaxRate>
      <RD_UserId_FK>12</RD_UserId_FK>
    </WarehouseReturnsWithOutCNDetailsModels>
  </WarehouseReturnsWithOutCNDetails>
</WarehouseReturnsWithOutCNModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.