POST api/ItemPricingSupplierCustomer/GetSupplierCustomerFromItemPricingSupplierCustomer

Request Information

URI Parameters

None.

Body Parameters

ItemPricingSupplierCustomer
NameDescriptionTypeAdditional information
IsApproved

boolean

None.

ApprovedDate

date

None.

DocDate

date

None.

EffectedFromH

date

None.

EntryDate

date

None.

ModifyDate

date

None.

ApprovedUserId

integer

None.

CompanyId

integer

None.

DocNo

integer

None.

DocTypeId

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

SupplierCustomerId

integer

None.

USD

integer

None.

PricingGroup

string

None.

RemarksHeader

string

None.

ItemPricingDetail

Collection of ItemPricingSupplierCustomerDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "IsApproved": true,
  "ApprovedDate": "2025-10-29T13:08:20.0832687+05:00",
  "DocDate": "2025-10-29T13:08:20.0832687+05:00",
  "EffectedFromH": "2025-10-29T13:08:20.0832687+05:00",
  "EntryDate": "2025-10-29T13:08:20.0832687+05:00",
  "ModifyDate": "2025-10-29T13:08:20.0832687+05:00",
  "ApprovedUserId": 7,
  "CompanyId": 8,
  "DocNo": 9,
  "DocTypeId": 10,
  "EntryUser": 11,
  "Id": 12,
  "ModifyUser": 13,
  "OrganizationId": 14,
  "SupplierCustomerId": 15,
  "USD": 16,
  "PricingGroup": "sample string 17",
  "RemarksHeader": "sample string 18",
  "ItemPricingDetail": [
    {
      "DocDate": "2025-10-29T13:08:20.0832687+05:00",
      "EffectedDateD": "2025-10-29T13:08:20.0832687+05:00",
      "ValidUpTo": "2025-10-29T13:08:20.0832687+05:00",
      "Amount": 4.1,
      "ChargesRate": 5.1,
      "ExhangeRate": 6.1,
      "ItemRate": 7.1,
      "CurrencyId": 8,
      "HeaderId": 9,
      "Id": 10,
      "ItemId": 11,
      "UomId": 12,
      "SupplierRefNo": "sample string 13",
      "CurrencyName": "sample string 14",
      "UomName": 15.1,
      "ItemName": "sample string 16"
    },
    {
      "DocDate": "2025-10-29T13:08:20.0832687+05:00",
      "EffectedDateD": "2025-10-29T13:08:20.0832687+05:00",
      "ValidUpTo": "2025-10-29T13:08:20.0832687+05:00",
      "Amount": 4.1,
      "ChargesRate": 5.1,
      "ExhangeRate": 6.1,
      "ItemRate": 7.1,
      "CurrencyId": 8,
      "HeaderId": 9,
      "Id": 10,
      "ItemId": 11,
      "UomId": 12,
      "SupplierRefNo": "sample string 13",
      "CurrencyName": "sample string 14",
      "UomName": 15.1,
      "ItemName": "sample string 16"
    }
  ]
}

application/xml, text/xml

Sample:
<ItemPricingSupplierCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Service">
  <ApprovedDate>2025-10-29T13:08:20.0832687+05:00</ApprovedDate>
  <ApprovedUserId>7</ApprovedUserId>
  <CompanyId>8</CompanyId>
  <DocDate>2025-10-29T13:08:20.0832687+05:00</DocDate>
  <DocNo>9</DocNo>
  <DocTypeId>10</DocTypeId>
  <EffectedFromH>2025-10-29T13:08:20.0832687+05:00</EffectedFromH>
  <EntryDate>2025-10-29T13:08:20.0832687+05:00</EntryDate>
  <EntryUser>11</EntryUser>
  <Id>12</Id>
  <IsApproved>true</IsApproved>
  <ItemPricingDetail>
    <ItemPricingSupplierCustomerDetail>
      <Amount>4.1</Amount>
      <ChargesRate>5.1</ChargesRate>
      <CurrencyId>8</CurrencyId>
      <CurrencyName>sample string 14</CurrencyName>
      <DocDate>2025-10-29T13:08:20.0832687+05:00</DocDate>
      <EffectedDateD>2025-10-29T13:08:20.0832687+05:00</EffectedDateD>
      <ExhangeRate>6.1</ExhangeRate>
      <HeaderId>9</HeaderId>
      <Id>10</Id>
      <ItemId>11</ItemId>
      <ItemName>sample string 16</ItemName>
      <ItemRate>7.1</ItemRate>
      <SupplierRefNo>sample string 13</SupplierRefNo>
      <UomId>12</UomId>
      <UomName>15.1</UomName>
      <ValidUpTo>2025-10-29T13:08:20.0832687+05:00</ValidUpTo>
    </ItemPricingSupplierCustomerDetail>
    <ItemPricingSupplierCustomerDetail>
      <Amount>4.1</Amount>
      <ChargesRate>5.1</ChargesRate>
      <CurrencyId>8</CurrencyId>
      <CurrencyName>sample string 14</CurrencyName>
      <DocDate>2025-10-29T13:08:20.0832687+05:00</DocDate>
      <EffectedDateD>2025-10-29T13:08:20.0832687+05:00</EffectedDateD>
      <ExhangeRate>6.1</ExhangeRate>
      <HeaderId>9</HeaderId>
      <Id>10</Id>
      <ItemId>11</ItemId>
      <ItemName>sample string 16</ItemName>
      <ItemRate>7.1</ItemRate>
      <SupplierRefNo>sample string 13</SupplierRefNo>
      <UomId>12</UomId>
      <UomName>15.1</UomName>
      <ValidUpTo>2025-10-29T13:08:20.0832687+05:00</ValidUpTo>
    </ItemPricingSupplierCustomerDetail>
  </ItemPricingDetail>
  <ModifyDate>2025-10-29T13:08:20.0832687+05:00</ModifyDate>
  <ModifyUser>13</ModifyUser>
  <OrganizationId>14</OrganizationId>
  <PricingGroup>sample string 17</PricingGroup>
  <RemarksHeader>sample string 18</RemarksHeader>
  <SupplierCustomerId>15</SupplierCustomerId>
  <USD>16</USD>
</ItemPricingSupplierCustomer>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.