POST api/ProcurementAPI/AddUpdateProcurementOIinfo

Request Information

URI Parameters

None.

Body Parameters

ObjProcurementOIinfo
NameDescriptionTypeAdditional information
ObjProcurementOI

Collection of ObjProcurementOI

None.

ProcurementId

integer

Required

TotalBaseSurchargeValue

decimal number

Required

TotalReportedSurchargeValue

decimal number

Required

SurchargeRemark

string

None.

FreightAmount

decimal number

None.

FreightAmountQAR

decimal number

None.

FreightRemark

string

None.

ReportedCurrencyValue

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ObjProcurementOI": [
    {
      "ItemId": 1,
      "SupplierTypeId": 2,
      "InquiryId": 3,
      "InquiryProductId": 4,
      "ItemDescriptionId": 5,
      "OrderInfoId": 6,
      "MTINumber": "sample string 7",
      "BusinessVerticalId": 8,
      "BusinessCategoryId": 9,
      "ItemCode": 10,
      "ProductDiscription": "sample string 11",
      "Origin": "sample string 12",
      "Status": 13,
      "ProductId": 14,
      "QTY": 15,
      "UnitType": 16,
      "UnitPurchasePrice": 1.0,
      "GrossValue": 1.0,
      "DiscountPer": 1.0,
      "DiscountValue": 1.0,
      "TotalPrice": 1.0,
      "TotalPriceQAR": 1.0,
      "VatRate": 1.0,
      "VatValue": 1.0,
      "TotalPriceWithVat": 1.0,
      "TotalpriceQARwithVat": 1.0,
      "Remark": "sample string 17",
      "RowNo": 18
    },
    {
      "ItemId": 1,
      "SupplierTypeId": 2,
      "InquiryId": 3,
      "InquiryProductId": 4,
      "ItemDescriptionId": 5,
      "OrderInfoId": 6,
      "MTINumber": "sample string 7",
      "BusinessVerticalId": 8,
      "BusinessCategoryId": 9,
      "ItemCode": 10,
      "ProductDiscription": "sample string 11",
      "Origin": "sample string 12",
      "Status": 13,
      "ProductId": 14,
      "QTY": 15,
      "UnitType": 16,
      "UnitPurchasePrice": 1.0,
      "GrossValue": 1.0,
      "DiscountPer": 1.0,
      "DiscountValue": 1.0,
      "TotalPrice": 1.0,
      "TotalPriceQAR": 1.0,
      "VatRate": 1.0,
      "VatValue": 1.0,
      "TotalPriceWithVat": 1.0,
      "TotalpriceQARwithVat": 1.0,
      "Remark": "sample string 17",
      "RowNo": 18
    }
  ],
  "ProcurementId": 1,
  "TotalBaseSurchargeValue": 1.0,
  "TotalReportedSurchargeValue": 1.0,
  "SurchargeRemark": "sample string 2",
  "FreightAmount": 1.0,
  "FreightAmountQAR": 1.0,
  "FreightRemark": "sample string 3",
  "ReportedCurrencyValue": 1.0
}

application/xml, text/xml

Sample:
<ObjProcurementOIinfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Maven_CRM.Models">
  <FreightAmount>1</FreightAmount>
  <FreightAmountQAR>1</FreightAmountQAR>
  <FreightRemark>sample string 3</FreightRemark>
  <ObjProcurementOI>
    <ObjProcurementOI>
      <BusinessCategoryId>9</BusinessCategoryId>
      <BusinessVerticalId>8</BusinessVerticalId>
      <DiscountPer>1</DiscountPer>
      <DiscountValue>1</DiscountValue>
      <GrossValue>1</GrossValue>
      <InquiryId>3</InquiryId>
      <InquiryProductId>4</InquiryProductId>
      <ItemCode>10</ItemCode>
      <ItemDescriptionId>5</ItemDescriptionId>
      <ItemId>1</ItemId>
      <MTINumber>sample string 7</MTINumber>
      <OrderInfoId>6</OrderInfoId>
      <Origin>sample string 12</Origin>
      <ProductDiscription>sample string 11</ProductDiscription>
      <ProductId>14</ProductId>
      <QTY>15</QTY>
      <Remark>sample string 17</Remark>
      <RowNo>18</RowNo>
      <Status>13</Status>
      <SupplierTypeId>2</SupplierTypeId>
      <TotalPrice>1</TotalPrice>
      <TotalPriceQAR>1</TotalPriceQAR>
      <TotalPriceWithVat>1</TotalPriceWithVat>
      <TotalpriceQARwithVat>1</TotalpriceQARwithVat>
      <UnitPurchasePrice>1</UnitPurchasePrice>
      <UnitType>16</UnitType>
      <VatRate>1</VatRate>
      <VatValue>1</VatValue>
    </ObjProcurementOI>
    <ObjProcurementOI>
      <BusinessCategoryId>9</BusinessCategoryId>
      <BusinessVerticalId>8</BusinessVerticalId>
      <DiscountPer>1</DiscountPer>
      <DiscountValue>1</DiscountValue>
      <GrossValue>1</GrossValue>
      <InquiryId>3</InquiryId>
      <InquiryProductId>4</InquiryProductId>
      <ItemCode>10</ItemCode>
      <ItemDescriptionId>5</ItemDescriptionId>
      <ItemId>1</ItemId>
      <MTINumber>sample string 7</MTINumber>
      <OrderInfoId>6</OrderInfoId>
      <Origin>sample string 12</Origin>
      <ProductDiscription>sample string 11</ProductDiscription>
      <ProductId>14</ProductId>
      <QTY>15</QTY>
      <Remark>sample string 17</Remark>
      <RowNo>18</RowNo>
      <Status>13</Status>
      <SupplierTypeId>2</SupplierTypeId>
      <TotalPrice>1</TotalPrice>
      <TotalPriceQAR>1</TotalPriceQAR>
      <TotalPriceWithVat>1</TotalPriceWithVat>
      <TotalpriceQARwithVat>1</TotalpriceQARwithVat>
      <UnitPurchasePrice>1</UnitPurchasePrice>
      <UnitType>16</UnitType>
      <VatRate>1</VatRate>
      <VatValue>1</VatValue>
    </ObjProcurementOI>
  </ObjProcurementOI>
  <ProcurementId>1</ProcurementId>
  <ReportedCurrencyValue>1</ReportedCurrencyValue>
  <SurchargeRemark>sample string 2</SurchargeRemark>
  <TotalBaseSurchargeValue>1</TotalBaseSurchargeValue>
  <TotalReportedSurchargeValue>1</TotalReportedSurchargeValue>
</ObjProcurementOIinfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.