POST api/Items/GetItemChangePrice

Request Information

URI Parameters

None.

Body Parameters

ItemsChangePriceModel
NameDescriptionTypeAdditional information
ItemsList

Collection of ItemsModel

None.

priceList

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemsList": [
    {
      "Series": 1,
      "ItemCode": "sample string 1",
      "ItemName": "sample string 2",
      "TaxCode": "sample string 3",
      "TaxRate": 4.1,
      "Discount": 5.0,
      "UnitPrice": 6.0,
      "FirmName": "sample string 7",
      "ForeingName": "sample string 8",
      "OnHand": 9.0,
      "InvntItem": "sample string 10",
      "Frozen": true,
      "BarCode": "sample string 12",
      "Quantity": 1.1,
      "LastPurchaseDate": "2024-09-18T18:58:38.9978048-06:00",
      "LastPurchasePrice": 1.1,
      "PriceList": [
        {
          "ListNum": 1,
          "ListName": "sample string 2",
          "Price": 3.1,
          "PrimCurr": "sample string 4",
          "AddCurr1": "sample string 5",
          "AddCurr2": "sample string 6"
        },
        {
          "ListNum": 1,
          "ListName": "sample string 2",
          "Price": 3.1,
          "PrimCurr": "sample string 4",
          "AddCurr1": "sample string 5",
          "AddCurr2": "sample string 6"
        }
      ],
      "Barcodes": [
        {
          "BcdEntry": 1,
          "BcdCode": "sample string 2",
          "BcdName": "sample string 3",
          "UomEntry": 4
        },
        {
          "BcdEntry": 1,
          "BcdCode": "sample string 2",
          "BcdName": "sample string 3",
          "UomEntry": 4
        }
      ],
      "UdfTarget": [
        {
          "Name": "sample string 1",
          "FieldType": "sample string 2",
          "Value": "sample string 3"
        },
        {
          "Name": "sample string 1",
          "FieldType": "sample string 2",
          "Value": "sample string 3"
        }
      ],
      "HasInconsistency": true,
      "InconsistencyMessage": "sample string 14",
      "ItemClass": "sample string 15",
      "ShouldValidateStock": true,
      "UoM": [
        {
          "UoMEntry": 1,
          "UomCode": "sample string 2",
          "UomName": "sample string 3",
          "Price": 4.0,
          "Currency": "sample string 5"
        },
        {
          "UoMEntry": 1,
          "UomCode": "sample string 2",
          "UomName": "sample string 3",
          "Price": 4.0,
          "Currency": "sample string 5"
        }
      ]
    },
    {
      "Series": 1,
      "ItemCode": "sample string 1",
      "ItemName": "sample string 2",
      "TaxCode": "sample string 3",
      "TaxRate": 4.1,
      "Discount": 5.0,
      "UnitPrice": 6.0,
      "FirmName": "sample string 7",
      "ForeingName": "sample string 8",
      "OnHand": 9.0,
      "InvntItem": "sample string 10",
      "Frozen": true,
      "BarCode": "sample string 12",
      "Quantity": 1.1,
      "LastPurchaseDate": "2024-09-18T18:58:38.9978048-06:00",
      "LastPurchasePrice": 1.1,
      "PriceList": [
        {
          "ListNum": 1,
          "ListName": "sample string 2",
          "Price": 3.1,
          "PrimCurr": "sample string 4",
          "AddCurr1": "sample string 5",
          "AddCurr2": "sample string 6"
        },
        {
          "ListNum": 1,
          "ListName": "sample string 2",
          "Price": 3.1,
          "PrimCurr": "sample string 4",
          "AddCurr1": "sample string 5",
          "AddCurr2": "sample string 6"
        }
      ],
      "Barcodes": [
        {
          "BcdEntry": 1,
          "BcdCode": "sample string 2",
          "BcdName": "sample string 3",
          "UomEntry": 4
        },
        {
          "BcdEntry": 1,
          "BcdCode": "sample string 2",
          "BcdName": "sample string 3",
          "UomEntry": 4
        }
      ],
      "UdfTarget": [
        {
          "Name": "sample string 1",
          "FieldType": "sample string 2",
          "Value": "sample string 3"
        },
        {
          "Name": "sample string 1",
          "FieldType": "sample string 2",
          "Value": "sample string 3"
        }
      ],
      "HasInconsistency": true,
      "InconsistencyMessage": "sample string 14",
      "ItemClass": "sample string 15",
      "ShouldValidateStock": true,
      "UoM": [
        {
          "UoMEntry": 1,
          "UomCode": "sample string 2",
          "UomName": "sample string 3",
          "Price": 4.0,
          "Currency": "sample string 5"
        },
        {
          "UoMEntry": 1,
          "UomCode": "sample string 2",
          "UomName": "sample string 3",
          "Price": 4.0,
          "Currency": "sample string 5"
        }
      ]
    }
  ],
  "priceList": 1
}

application/xml, text/xml

Sample:
<ItemsChangePriceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSPOS.MODELS">
  <ItemsList>
    <ItemsModel>
      <BarCode>sample string 12</BarCode>
      <Barcodes>
        <ItemsBarcodeModel>
          <BcdCode>sample string 2</BcdCode>
          <BcdEntry>1</BcdEntry>
          <BcdName>sample string 3</BcdName>
          <UomEntry>4</UomEntry>
        </ItemsBarcodeModel>
        <ItemsBarcodeModel>
          <BcdCode>sample string 2</BcdCode>
          <BcdEntry>1</BcdEntry>
          <BcdName>sample string 3</BcdName>
          <UomEntry>4</UomEntry>
        </ItemsBarcodeModel>
      </Barcodes>
      <Discount>5</Discount>
      <FirmName>sample string 7</FirmName>
      <ForeingName>sample string 8</ForeingName>
      <Frozen>true</Frozen>
      <HasInconsistency>true</HasInconsistency>
      <InconsistencyMessage>sample string 14</InconsistencyMessage>
      <InvntItem>sample string 10</InvntItem>
      <ItemClass>sample string 15</ItemClass>
      <ItemCode>sample string 1</ItemCode>
      <ItemName>sample string 2</ItemName>
      <LastPurchaseDate>2024-09-18T18:58:38.9978048-06:00</LastPurchaseDate>
      <LastPurchasePrice>1.1</LastPurchasePrice>
      <OnHand>9</OnHand>
      <PriceList>
        <PriceListModel>
          <AddCurr1>sample string 5</AddCurr1>
          <AddCurr2>sample string 6</AddCurr2>
          <ListName>sample string 2</ListName>
          <ListNum>1</ListNum>
          <Price>3.1</Price>
          <PrimCurr>sample string 4</PrimCurr>
        </PriceListModel>
        <PriceListModel>
          <AddCurr1>sample string 5</AddCurr1>
          <AddCurr2>sample string 6</AddCurr2>
          <ListName>sample string 2</ListName>
          <ListNum>1</ListNum>
          <Price>3.1</Price>
          <PrimCurr>sample string 4</PrimCurr>
        </PriceListModel>
      </PriceList>
      <Quantity>1.1</Quantity>
      <Series>1</Series>
      <ShouldValidateStock>true</ShouldValidateStock>
      <TaxCode>sample string 3</TaxCode>
      <TaxRate>4.1</TaxRate>
      <UdfTarget xmlns:d4p1="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS">
        <d4p1:UdfTarget>
          <d4p1:FieldType>sample string 2</d4p1:FieldType>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:UdfTarget>
        <d4p1:UdfTarget>
          <d4p1:FieldType>sample string 2</d4p1:FieldType>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:UdfTarget>
      </UdfTarget>
      <UnitPrice>6</UnitPrice>
      <UoM>
        <UoM>
          <Currency>sample string 5</Currency>
          <Price>4</Price>
          <UoMEntry>1</UoMEntry>
          <UomCode>sample string 2</UomCode>
          <UomName>sample string 3</UomName>
        </UoM>
        <UoM>
          <Currency>sample string 5</Currency>
          <Price>4</Price>
          <UoMEntry>1</UoMEntry>
          <UomCode>sample string 2</UomCode>
          <UomName>sample string 3</UomName>
        </UoM>
      </UoM>
    </ItemsModel>
    <ItemsModel>
      <BarCode>sample string 12</BarCode>
      <Barcodes>
        <ItemsBarcodeModel>
          <BcdCode>sample string 2</BcdCode>
          <BcdEntry>1</BcdEntry>
          <BcdName>sample string 3</BcdName>
          <UomEntry>4</UomEntry>
        </ItemsBarcodeModel>
        <ItemsBarcodeModel>
          <BcdCode>sample string 2</BcdCode>
          <BcdEntry>1</BcdEntry>
          <BcdName>sample string 3</BcdName>
          <UomEntry>4</UomEntry>
        </ItemsBarcodeModel>
      </Barcodes>
      <Discount>5</Discount>
      <FirmName>sample string 7</FirmName>
      <ForeingName>sample string 8</ForeingName>
      <Frozen>true</Frozen>
      <HasInconsistency>true</HasInconsistency>
      <InconsistencyMessage>sample string 14</InconsistencyMessage>
      <InvntItem>sample string 10</InvntItem>
      <ItemClass>sample string 15</ItemClass>
      <ItemCode>sample string 1</ItemCode>
      <ItemName>sample string 2</ItemName>
      <LastPurchaseDate>2024-09-18T18:58:38.9978048-06:00</LastPurchaseDate>
      <LastPurchasePrice>1.1</LastPurchasePrice>
      <OnHand>9</OnHand>
      <PriceList>
        <PriceListModel>
          <AddCurr1>sample string 5</AddCurr1>
          <AddCurr2>sample string 6</AddCurr2>
          <ListName>sample string 2</ListName>
          <ListNum>1</ListNum>
          <Price>3.1</Price>
          <PrimCurr>sample string 4</PrimCurr>
        </PriceListModel>
        <PriceListModel>
          <AddCurr1>sample string 5</AddCurr1>
          <AddCurr2>sample string 6</AddCurr2>
          <ListName>sample string 2</ListName>
          <ListNum>1</ListNum>
          <Price>3.1</Price>
          <PrimCurr>sample string 4</PrimCurr>
        </PriceListModel>
      </PriceList>
      <Quantity>1.1</Quantity>
      <Series>1</Series>
      <ShouldValidateStock>true</ShouldValidateStock>
      <TaxCode>sample string 3</TaxCode>
      <TaxRate>4.1</TaxRate>
      <UdfTarget xmlns:d4p1="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS">
        <d4p1:UdfTarget>
          <d4p1:FieldType>sample string 2</d4p1:FieldType>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:UdfTarget>
        <d4p1:UdfTarget>
          <d4p1:FieldType>sample string 2</d4p1:FieldType>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:UdfTarget>
      </UdfTarget>
      <UnitPrice>6</UnitPrice>
      <UoM>
        <UoM>
          <Currency>sample string 5</Currency>
          <Price>4</Price>
          <UoMEntry>1</UoMEntry>
          <UomCode>sample string 2</UomCode>
          <UomName>sample string 3</UomName>
        </UoM>
        <UoM>
          <Currency>sample string 5</Currency>
          <Price>4</Price>
          <UoMEntry>1</UoMEntry>
          <UomCode>sample string 2</UomCode>
          <UomName>sample string 3</UomName>
        </UoM>
      </UoM>
    </ItemsModel>
  </ItemsList>
  <priceList>1</priceList>
</ItemsChangePriceModel>

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.