POST api/pricelevels
Add/udpate price levels
Request Information
URI Parameters
None.
Body Parameters
Collection of PriceLevel| Name | Description | Type | Additional 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. |
|
| SortOrder | integer |
None. |
|
| Deleted | boolean |
None. |
|
| Updated | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"id": 1,
"priceLevelIdentifier": "FKXmJWkrj0Wv61c+FYMmug==",
"priceLevelIdentifierGuid": "25e6a514-2b69-458f-afeb-573e158326ba",
"hostCode": "sample string 3",
"name": "sample string 4",
"hostType": 5,
"loyaltyName": "sample string 6",
"special": true,
"sortOrder": 1,
"deleted": true,
"updated": "2026-04-03T06:20:26.2149191"
},
{
"$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>5</HostType>
<ID>1</ID>
<LoyaltyName>sample string 6</LoyaltyName>
<Name>sample string 4</Name>
<PriceLevelIdentifier>FKXmJWkrj0Wv61c+FYMmug==</PriceLevelIdentifier>
<PriceLevelIdentifierGuid>25e6a514-2b69-458f-afeb-573e158326ba</PriceLevelIdentifierGuid>
<SortOrder>1</SortOrder>
<Special>true</Special>
<Updated>2026-04-03T06:20:26.2149191+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>
<PriceLevelIdentifier>FKXmJWkrj0Wv61c+FYMmug==</PriceLevelIdentifier>
<PriceLevelIdentifierGuid>25e6a514-2b69-458f-afeb-573e158326ba</PriceLevelIdentifierGuid>
<SortOrder>1</SortOrder>
<Special>true</Special>
<Updated>2026-04-03T06:20:26.2149191+00:00</Updated>
</PriceLevel>
</ArrayOfPriceLevel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel
Sample:
Sample not available.