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.

SortOrder

integer

None.

Deleted

boolean

None.

Updated

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": 1,
    "priceLevelIdentifier": "4LUbo/dVY067Fi3fjK+ipA==",
    "priceLevelIdentifierGuid": "a31bb5e0-55f7-4e63-bb16-2ddf8cafa2a4",
    "hostCode": "sample string 3",
    "name": "sample string 4",
    "hostType": 1,
    "loyaltyName": "sample string 5",
    "sortOrder": 1,
    "deleted": true,
    "updated": "2025-06-14T06:22:19.2669374"
  },
  {
    "$ref": "1"
  }
]

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>1</HostType>
    <ID>1</ID>
    <LoyaltyName>sample string 5</LoyaltyName>
    <Name>sample string 4</Name>
    <PriceLevelIdentifier>4LUbo/dVY067Fi3fjK+ipA==</PriceLevelIdentifier>
    <PriceLevelIdentifierGuid>a31bb5e0-55f7-4e63-bb16-2ddf8cafa2a4</PriceLevelIdentifierGuid>
    <SortOrder>1</SortOrder>
    <Updated>2025-06-14T06:22:19.2669374+00:00</Updated>
  </PriceLevel>
  <PriceLevel>
    <Deleted>true</Deleted>
    <HostCode>sample string 3</HostCode>
    <HostType>1</HostType>
    <ID>1</ID>
    <LoyaltyName>sample string 5</LoyaltyName>
    <Name>sample string 4</Name>
    <PriceLevelIdentifier>4LUbo/dVY067Fi3fjK+ipA==</PriceLevelIdentifier>
    <PriceLevelIdentifierGuid>a31bb5e0-55f7-4e63-bb16-2ddf8cafa2a4</PriceLevelIdentifierGuid>
    <SortOrder>1</SortOrder>
    <Updated>2025-06-14T06:22:19.2669374+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.