POST api/pricelevels

Add/udpate price levels

Request Information

URI Parameters

None.

Body Parameters

Collection of PriceLevel
NameDescriptionTypeAdditional information
ID

integer

None.

PriceLevelIdentifier

Collection of byte

None.

PriceLevelIdentifierGuid

globally unique identifier

None.

HostCode

string

None.

Name

string

None.

HostType

HostType

None.

LoyaltyName

string

None.

Special

boolean

None.

Online

boolean

None.

OnlineProvider

ExternalSalesType

None.

OnlinePriceBasedOn

WebPriceBasedOn

None.

OnlinePriceMode

ExtendedPriceMode

None.

OnlineMarkup

integer

None.

OnlinePriceRounding

boolean

None.

SortOrder

integer

None.

Deleted

boolean

None.

Updated

date

None.

HostTypeName

string

Relation. This field may not always be loaded or used for updates.

ProviderName

string

Relation. This field may not always be loaded or used for updates.

BasedOnName

string

Relation. This field may not always be loaded or used for updates.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ArrayOfPriceLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Maintenance">
  <PriceLevel>
    <Deleted>true</Deleted>
    <HostCode>sample string 3</HostCode>
    <HostType>5</HostType>
    <ID>1</ID>
    <LoyaltyName>sample string 6</LoyaltyName>
    <Name>sample string 4</Name>
    <Online>true</Online>
    <OnlineMarkup>12</OnlineMarkup>
    <OnlinePriceBasedOn>10</OnlinePriceBasedOn>
    <OnlinePriceMode>11</OnlinePriceMode>
    <OnlinePriceRounding>true</OnlinePriceRounding>
    <OnlineProvider>9</OnlineProvider>
    <PriceLevelIdentifier>A3VOr2/e2ESjRUIgLpWrSQ==</PriceLevelIdentifier>
    <PriceLevelIdentifierGuid>af4e7503-de6f-44d8-a345-42202e95ab49</PriceLevelIdentifierGuid>
    <SortOrder>1</SortOrder>
    <Special>true</Special>
    <Updated>2026-06-03T18:30:32.7759089+00:00</Updated>
  </PriceLevel>
  <PriceLevel>
    <Deleted>true</Deleted>
    <HostCode>sample string 3</HostCode>
    <HostType>5</HostType>
    <ID>1</ID>
    <LoyaltyName>sample string 6</LoyaltyName>
    <Name>sample string 4</Name>
    <Online>true</Online>
    <OnlineMarkup>12</OnlineMarkup>
    <OnlinePriceBasedOn>10</OnlinePriceBasedOn>
    <OnlinePriceMode>11</OnlinePriceMode>
    <OnlinePriceRounding>true</OnlinePriceRounding>
    <OnlineProvider>9</OnlineProvider>
    <PriceLevelIdentifier>A3VOr2/e2ESjRUIgLpWrSQ==</PriceLevelIdentifier>
    <PriceLevelIdentifierGuid>af4e7503-de6f-44d8-a345-42202e95ab49</PriceLevelIdentifierGuid>
    <SortOrder>1</SortOrder>
    <Special>true</Special>
    <Updated>2026-06-03T18:30:32.7759089+00:00</Updated>
  </PriceLevel>
</ArrayOfPriceLevel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel

Sample:

Sample not available.