POST api/Receiving/SubmitReceiving

Request Information

URI Parameters

None.

Body Parameters

ReceivingModels
NameDescriptionTypeAdditional information
Action

string

None.

ClientId

integer

None.

PurchaseOrderId

integer

None.

BillNo

string

None.

BillDate

date

None.

GateNo

string

None.

ReceivedDate

date

None.

ReceivedBy

string

None.

Remarks

string

None.

SupplierName

string

None.

Consignee

string

None.

DiscountType

string

None.

Discount

decimal number

None.

GrandTotal

decimal number

None.

NetAmount

decimal number

None.

Products

Collection of ReceivingProduct

None.

Request Formats

application/json, text/json

Sample:
{
  "Action": "sample string 1",
  "ClientId": 2,
  "PurchaseOrderId": 3,
  "BillNo": "sample string 4",
  "BillDate": "2025-09-15T13:35:08.3637809+05:30",
  "GateNo": "sample string 6",
  "ReceivedDate": "2025-09-15T13:35:08.3637809+05:30",
  "ReceivedBy": "sample string 8",
  "Remarks": "sample string 9",
  "SupplierName": "sample string 10",
  "Consignee": "sample string 11",
  "DiscountType": "sample string 12",
  "Discount": 13.0,
  "GrandTotal": 14.0,
  "NetAmount": 15.0,
  "Products": [
    {
      "PurchaseOrderProductId": 1,
      "FabId": 2,
      "OrderedQty": 3.0,
      "ReceivedQty": 4.0,
      "DamagedQty": 5.0,
      "CostPrice": 6.0,
      "ReceivedTotal": 7.0,
      "ReceivedTaxableAmount": 8.0,
      "TaxPer": 9.0,
      "Notes": "sample string 10",
      "Rack": "sample string 11",
      "FabName": "sample string 12",
      "UOM": "sample string 13",
      "HSN": "sample string 14",
      "REF_NO": "sample string 15"
    },
    {
      "PurchaseOrderProductId": 1,
      "FabId": 2,
      "OrderedQty": 3.0,
      "ReceivedQty": 4.0,
      "DamagedQty": 5.0,
      "CostPrice": 6.0,
      "ReceivedTotal": 7.0,
      "ReceivedTaxableAmount": 8.0,
      "TaxPer": 9.0,
      "Notes": "sample string 10",
      "Rack": "sample string 11",
      "FabName": "sample string 12",
      "UOM": "sample string 13",
      "HSN": "sample string 14",
      "REF_NO": "sample string 15"
    }
  ]
}

application/xml, text/xml

Sample:
<ReceivingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MODEL.Transaction">
  <Action>sample string 1</Action>
  <BillDate>2025-09-15T13:35:08.3637809+05:30</BillDate>
  <BillNo>sample string 4</BillNo>
  <ClientId>2</ClientId>
  <Consignee>sample string 11</Consignee>
  <Discount>13</Discount>
  <DiscountType>sample string 12</DiscountType>
  <GateNo>sample string 6</GateNo>
  <GrandTotal>14</GrandTotal>
  <NetAmount>15</NetAmount>
  <Products>
    <ReceivingProduct>
      <CostPrice>6</CostPrice>
      <DamagedQty>5</DamagedQty>
      <FabId>2</FabId>
      <FabName>sample string 12</FabName>
      <HSN>sample string 14</HSN>
      <Notes>sample string 10</Notes>
      <OrderedQty>3</OrderedQty>
      <PurchaseOrderProductId>1</PurchaseOrderProductId>
      <REF_NO>sample string 15</REF_NO>
      <Rack>sample string 11</Rack>
      <ReceivedQty>4</ReceivedQty>
      <ReceivedTaxableAmount>8</ReceivedTaxableAmount>
      <ReceivedTotal>7</ReceivedTotal>
      <TaxPer>9</TaxPer>
      <UOM>sample string 13</UOM>
    </ReceivingProduct>
    <ReceivingProduct>
      <CostPrice>6</CostPrice>
      <DamagedQty>5</DamagedQty>
      <FabId>2</FabId>
      <FabName>sample string 12</FabName>
      <HSN>sample string 14</HSN>
      <Notes>sample string 10</Notes>
      <OrderedQty>3</OrderedQty>
      <PurchaseOrderProductId>1</PurchaseOrderProductId>
      <REF_NO>sample string 15</REF_NO>
      <Rack>sample string 11</Rack>
      <ReceivedQty>4</ReceivedQty>
      <ReceivedTaxableAmount>8</ReceivedTaxableAmount>
      <ReceivedTotal>7</ReceivedTotal>
      <TaxPer>9</TaxPer>
      <UOM>sample string 13</UOM>
    </ReceivingProduct>
  </Products>
  <PurchaseOrderId>3</PurchaseOrderId>
  <ReceivedBy>sample string 8</ReceivedBy>
  <ReceivedDate>2025-09-15T13:35:08.3637809+05:30</ReceivedDate>
  <Remarks>sample string 9</Remarks>
  <SupplierName>sample string 10</SupplierName>
</ReceivingModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.