GET api/product/{guid}/campaignPrices?todayOnly={todayOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
guid

globally unique identifier

Required

Plu

integer

None.

PluGuid

globally unique identifier

None.

PluG_UID

Collection of byte

None.

Stores

Used to avoid store ID lookups where needed

Collection of integer

None.

NormalPrice

integer

None.

Cost

integer

None.

Break1

integer

None.

Price1

integer

None.

Break2

integer

None.

Price2

integer

None.

Break3

integer

None.

Price3

integer

None.

DiscountPrice

integer

None.

AcceptedUtc

date

None.

PriceChangeType

PriceChangeType

None.

CostDecimals

integer

None.

todayOnly

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

CampaignPrices
NameDescriptionTypeAdditional information
PluPrices

Current product pricing

ProductPrices

None.

NormalPluPrices

The set of campaign prices as they are after processing for PriceChange campaigns, but not yet applied to CampaignOrSale campaigns

ProductPrices

None.

WinningCampaign

Winning campaign index

integer

None.

Winner

Winning campaign record

CampaignDetails

None.

Details

campaign list

Collection of CampaignDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "pluPrices": {
    "$id": "2",
    "plu": 1,
    "pluG_UID": "QEA=",
    "stores": [
      1,
      2
    ],
    "normalPrice": 1,
    "cost": 2,
    "break1": 3,
    "price1": 4,
    "break2": 5,
    "price2": 6,
    "break3": 7,
    "price3": 8,
    "discountPrice": 9,
    "acceptedUtc": "2025-06-14T07:45:57.9792381",
    "priceChangeType": 0,
    "costDecimals": 10
  },
  "normalPluPrices": {
    "$ref": "2"
  },
  "winningCampaign": 1,
  "winner": {
    "$id": "3",
    "campaignName": "sample string 1",
    "campaignDescription": "sample string 2",
    "startDate": "2025-06-14T07:45:57.9792381",
    "startTime": 3,
    "endDate": "2025-06-14T07:45:57.9792381",
    "endTime": 4,
    "newPrice": 5,
    "newCost": 6,
    "newCostDecimals": 7,
    "pctDiscount": 8,
    "promoType": 1,
    "promotionTypeCode": "sample string 9",
    "hostType": 10,
    "hostIdentifier": "NcbZ/ZpZYUu9l7KlkvDgZw==",
    "hostIdentifierGuid": "fdd9c635-599a-4b61-bd97-b2a592f0e067",
    "storeNames": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "details": [
    {
      "$ref": "3"
    },
    {
      "$ref": "3"
    }
  ]
}

application/xml, text/xml

Sample:
<CampaignPrices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Campaigns">
  <Details>
    <CampaignDetails>
      <CampaignDescription>sample string 2</CampaignDescription>
      <CampaignName>sample string 1</CampaignName>
      <EndDate>2025-06-14T07:45:57.9792381+00:00</EndDate>
      <EndTime>4</EndTime>
      <HostIdentifier>NcbZ/ZpZYUu9l7KlkvDgZw==</HostIdentifier>
      <HostIdentifierGuid>fdd9c635-599a-4b61-bd97-b2a592f0e067</HostIdentifierGuid>
      <HostType>10</HostType>
      <NewCost>6</NewCost>
      <NewCostDecimals>7</NewCostDecimals>
      <NewPrice>5</NewPrice>
      <PctDiscount>8</PctDiscount>
      <PromoType>1</PromoType>
      <PromotionTypeCode>sample string 9</PromotionTypeCode>
      <StartDate>2025-06-14T07:45:57.9792381+00:00</StartDate>
      <StartTime>3</StartTime>
      <StoreNames xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </StoreNames>
    </CampaignDetails>
    <CampaignDetails>
      <CampaignDescription>sample string 2</CampaignDescription>
      <CampaignName>sample string 1</CampaignName>
      <EndDate>2025-06-14T07:45:57.9792381+00:00</EndDate>
      <EndTime>4</EndTime>
      <HostIdentifier>NcbZ/ZpZYUu9l7KlkvDgZw==</HostIdentifier>
      <HostIdentifierGuid>fdd9c635-599a-4b61-bd97-b2a592f0e067</HostIdentifierGuid>
      <HostType>10</HostType>
      <NewCost>6</NewCost>
      <NewCostDecimals>7</NewCostDecimals>
      <NewPrice>5</NewPrice>
      <PctDiscount>8</PctDiscount>
      <PromoType>1</PromoType>
      <PromotionTypeCode>sample string 9</PromotionTypeCode>
      <StartDate>2025-06-14T07:45:57.9792381+00:00</StartDate>
      <StartTime>3</StartTime>
      <StoreNames xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </StoreNames>
    </CampaignDetails>
  </Details>
  <NormalPluPrices xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
    <d2p1:AcceptedUtc>2025-06-14T07:45:57.9792381+00:00</d2p1:AcceptedUtc>
    <d2p1:Break1>3</d2p1:Break1>
    <d2p1:Break2>5</d2p1:Break2>
    <d2p1:Break3>7</d2p1:Break3>
    <d2p1:Cost>2</d2p1:Cost>
    <d2p1:CostDecimals>10</d2p1:CostDecimals>
    <d2p1:DiscountPrice>9</d2p1:DiscountPrice>
    <d2p1:NormalPrice>1</d2p1:NormalPrice>
    <d2p1:Plu>1</d2p1:Plu>
    <d2p1:PluG_UID>QEA=</d2p1:PluG_UID>
    <d2p1:PluGuid i:nil="true" />
    <d2p1:Price1>4</d2p1:Price1>
    <d2p1:Price2>6</d2p1:Price2>
    <d2p1:Price3>8</d2p1:Price3>
    <d2p1:PriceChangeType>None</d2p1:PriceChangeType>
    <d2p1:Stores xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:Stores>
  </NormalPluPrices>
  <PluPrices xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
    <d2p1:AcceptedUtc>2025-06-14T07:45:57.9792381+00:00</d2p1:AcceptedUtc>
    <d2p1:Break1>3</d2p1:Break1>
    <d2p1:Break2>5</d2p1:Break2>
    <d2p1:Break3>7</d2p1:Break3>
    <d2p1:Cost>2</d2p1:Cost>
    <d2p1:CostDecimals>10</d2p1:CostDecimals>
    <d2p1:DiscountPrice>9</d2p1:DiscountPrice>
    <d2p1:NormalPrice>1</d2p1:NormalPrice>
    <d2p1:Plu>1</d2p1:Plu>
    <d2p1:PluG_UID>QEA=</d2p1:PluG_UID>
    <d2p1:PluGuid i:nil="true" />
    <d2p1:Price1>4</d2p1:Price1>
    <d2p1:Price2>6</d2p1:Price2>
    <d2p1:Price3>8</d2p1:Price3>
    <d2p1:PriceChangeType>None</d2p1:PriceChangeType>
    <d2p1:Stores xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:Stores>
  </PluPrices>
  <Winner>
    <CampaignDescription>sample string 2</CampaignDescription>
    <CampaignName>sample string 1</CampaignName>
    <EndDate>2025-06-14T07:45:57.9792381+00:00</EndDate>
    <EndTime>4</EndTime>
    <HostIdentifier>NcbZ/ZpZYUu9l7KlkvDgZw==</HostIdentifier>
    <HostIdentifierGuid>fdd9c635-599a-4b61-bd97-b2a592f0e067</HostIdentifierGuid>
    <HostType>10</HostType>
    <NewCost>6</NewCost>
    <NewCostDecimals>7</NewCostDecimals>
    <NewPrice>5</NewPrice>
    <PctDiscount>8</PctDiscount>
    <PromoType>1</PromoType>
    <PromotionTypeCode>sample string 9</PromotionTypeCode>
    <StartDate>2025-06-14T07:45:57.9792381+00:00</StartDate>
    <StartTime>3</StartTime>
    <StoreNames xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </StoreNames>
  </Winner>
  <WinningCampaign>1</WinningCampaign>
</CampaignPrices>

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:
PK�=�Z�V��5xl/workbook.xml �(�����0��&�C����N\�z�^�"
�'m
>��o�vfg�:k;�Z��#'�J[��{S�����6�®�V2�}���C��[��$K��X��Z�A�W�?,g,��
^N+J2�p}< D�fO��2[��Dd
�����"*���
7�3��s�*�bdK�G�B�e��zIoy�q��w%���PK�=�Z����	�[Content_Types].xml �(����J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
�=�Z��Q7''_rels/.rels �(�<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R37c023af48b74954" /></Relationships>PK�=�ZbM7�+xl/worksheets/sheet1.xml �(���Ao� ��
ᾂ(�LԦ�ٽ5=�YőTe�؟_Dk;c�izA������׮'��T}�C �RU����h�_)�)�A��a��{��9l�=l2e#:nu�۫��uK�G��e)v�<v���`�AZ�ܺ�L#NվS����еS���Y%]�1=Т��m�} �"��_)�iƛ�W�e\��r�=�V�?�I�J����g5�r�X�$�R�Ə��c� ������M)�0B#c1ʣ���7m��U&��>���~��aĔ�I%)a��~�q�&HC2�v�|:�t��$Ic��/u4uѷ|�-/2����+>�n����r�7��O��itg�nM����� ��nMD��Ú���Kv򑝬z��*q�N|q����\�^�Ej����˄~T�
��g��7PK�=�Z-��Pxl/_rels/workbook.xml.rels �(����n� @�^c0q�(N�,]���gc�$m��C?��P�H�#u蒅��qOO�����4��0XS�r h�m��p��S��怣��FЃ$��P��ѭ)
J�$Cf��鬟dL�禎�${�<�K���g��������{������Z
19J�c���w`Y�ynk84
���Z��`�B��u���u�g2�W�3�w�B>TFK��K�i�s�yy�V5�1K�锫�;ѻ��PK�=�ZЃc'2E
xl/styles.xml �(��S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v�F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}���LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK�=�Z�\=�@xl/sharedStrings.xml �(��T]o�0}G�?Xy��j�.S�iKǘD�Jm��4��ܶ�lgP���4cL���o�s��ٷ� � �D����ʹإ�f�vp����iQ	H�(��M'Ji��B��^�����CI�[� 0��dI5B��T-��j���}?�JʅCX��:���K�Ÿ�O'z�,������Ӊg���Œ/������'d��)߉�� Gg�)/��Z�*o�>."?��W���$xs��jx�P4Ea#7�3�JC�^4�ܚ�JWg��*
`�W��I���ҟ����Z�a��v/6W��Y�*�$4�H��Ѱ=”4�s!�����!�q�3�ĠW�Bvib��A�!�hffx�
#2>E�ј���Aٞ���i^���3`c�|���t�\�IK��-hi*��;%*��w)&ym�}R��RϨ�<��Y�vWK��_h�����}_-uQ�;���G
���[!Ђe����<̪�)�V�p�m�m�:����|΢Vt���y��a4���Fwq0�˓��.�Qn}��q�o#�y|�^|��^r��ϩ�;���(�{9�\��>r���
�Ħ�PK-�=�Z�V��5xl/workbook.xmlPK-�=�Z����	�[Content_Types].xmlPK-
�=�Z��Q7''V_rels/.relsPK-�=�ZbM7�+�xl/worksheets/sheet1.xmlPK-�=�Z-��P�xl/_rels/workbook.xml.relsPK-�=�ZЃc'2E
�xl/styles.xmlPK-�=�Z�\=�@qxl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PK�=�Z�I��5xl/workbook.xml �(�����0��&�C�����p��Ճ�Zi�?ik��-%�x�3;������i�>z4���ct%!A��E8X&�:뵈I��]�$4V�5�H
J/��(��&�����a�A���z\PZ(���!>7{(�B��X��&"K���x�mY!#4T�Q`��[[�#F�Ti����� �+;�+�{�q����PK�=�Z����	�[Content_Types].xml �(����J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
�=�Z���''_rels/.rels �(�<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R8b298ce9488d4879" /></Relationships>PK�=�ZbM7�+xl/worksheets/sheet1.xml �(���Ao� ��
ᾂ(�LԦ�ٽ5=�YőTe�؟_Dk;c�izA������׮'��T}�C �RU����h�_)�)�A��a��{��9l�=l2e#:nu�۫��uK�G��e)v�<v���`�AZ�ܺ�L#NվS����еS���Y%]�1=Т��m�} �"��_)�iƛ�W�e\��r�=�V�?�I�J����g5�r�X�$�R�Ə��c� ������M)�0B#c1ʣ���7m��U&��>���~��aĔ�I%)a��~�q�&HC2�v�|:�t��$Ic��/u4uѷ|�-/2����+>�n����r�7��O��itg�nM����� ��nMD��Ú���Kv򑝬z��*q�N|q����\�^�Ej����˄~T�
��g��7PK�=�ZĮ���Pxl/_rels/workbook.xml.rels �(���Mn� F������&
ɦ�l�\`
�m��i��E��+�R�H]t��o�鍆�����m�+�88+���UN����CK���GH�F�I~b��}J~�XT=N���qa����1����%s�e�����ΘA�S�	m���.c��(9@�0I�Ev=E�R�Ӓ�E)*�*݊��y|v7��.#�_��z&S����(u�Ļ��P?��7=w��3�@�/�U�k��\��Ϳ�|PK�=�ZЃc'2E
xl/styles.xml �(��S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v�F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}���LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK�=�Z�\=�@xl/sharedStrings.xml �(��T]o�0}G�?Xy��j�.S�iKǘD�Jm��4��ܶ�lgP���4cL���o�s��ٷ� � �D����ʹإ�f�vp����iQ	H�(��M'Ji��B��^�����CI�[� 0��dI5B��T-��j���}?�JʅCX��:���K�Ÿ�O'z�,������Ӊg���Œ/������'d��)߉�� Gg�)/��Z�*o�>."?��W���$xs��jx�P4Ea#7�3�JC�^4�ܚ�JWg��*
`�W��I���ҟ����Z�a��v/6W��Y�*�$4�H��Ѱ=”4�s!�����!�q�3�ĠW�Bvib��A�!�hffx�
#2>E�ј���Aٞ���i^���3`c�|���t�\�IK��-hi*��;%*��w)&ym�}R��RϨ�<��Y�vWK��_h�����}_-uQ�;���G
���[!Ђe����<̪�)�V�p�m�m�:����|΢Vt���y��a4���Fwq0�˓��.�Qn}��q�o#�y|�^|��^r��ϩ�;���(�{9�\��>r���
�Ħ�PK-�=�Z�I��5xl/workbook.xmlPK-�=�Z����	��[Content_Types].xmlPK-
�=�Z���''U_rels/.relsPK-�=�ZbM7�+�xl/worksheets/sheet1.xmlPK-�=�ZĮ���P�xl/_rels/workbook.xml.relsPK-�=�ZЃc'2E
�xl/styles.xmlPK-�=�Z�\=�@pxl/sharedStrings.xmlPK��