GET api/product/{guid}/campaignPrices?todayOnly={todayOnly}
Request Information
URI Parameters
Name | Description | Type | Additional 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
CampaignPricesName | Description | Type | Additional 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-10-05T00:02:29.6438805", "priceChangeType": 0, "costDecimals": 10 }, "normalPluPrices": { "$ref": "2" }, "winningCampaign": 1, "winner": { "$id": "3", "campaignName": "sample string 1", "campaignDescription": "sample string 2", "startDate": "2025-10-05T00:02:29.6438805", "startTime": 3, "endDate": "2025-10-05T00:02:29.6438805", "endTime": 4, "newPrice": 5, "newCost": 6, "newCostDecimals": 7, "pctDiscount": 8, "promoType": 1, "promotionTypeCode": "sample string 9", "hostType": 10, "hostIdentifier": "KPXFtgxR4EOVfjZYw8yT+g==", "hostIdentifierGuid": "b6c5f528-510c-43e0-957e-3658c3cc93fa", "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-10-05T00:02:29.6438805+00:00</EndDate> <EndTime>4</EndTime> <HostIdentifier>KPXFtgxR4EOVfjZYw8yT+g==</HostIdentifier> <HostIdentifierGuid>b6c5f528-510c-43e0-957e-3658c3cc93fa</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-10-05T00:02:29.6438805+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-10-05T00:02:29.6438805+00:00</EndDate> <EndTime>4</EndTime> <HostIdentifier>KPXFtgxR4EOVfjZYw8yT+g==</HostIdentifier> <HostIdentifierGuid>b6c5f528-510c-43e0-957e-3658c3cc93fa</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-10-05T00:02:29.6438805+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-10-05T00:02:29.6438805+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-10-05T00:02:29.6438805+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-10-05T00:02:29.6438805+00:00</EndDate> <EndTime>4</EndTime> <HostIdentifier>KPXFtgxR4EOVfjZYw8yT+g==</HostIdentifier> <HostIdentifierGuid>b6c5f528-510c-43e0-957e-3658c3cc93fa</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-10-05T00:02:29.6438805+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 N E[4�J� 5 xl/workbook.xml � (� ��;�0D�H������PѤM��1K��َ��c�@J�ngv���E����>rV�� �75!�� ��h*�m%�A��� 8t��%(O�IR3�B+7 ��F���ֻ��yCI&n�'����!`qQc����l!�v\D����y�Qtn}�S�l-�pϲ�J�Ң�����`0J���PK N E[���� � [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 N E[mw9A' ' _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="R25a1c54b0bba42c5" /></Relationships>PK N E[ʇ�%� + xl/worksheets/sheet1.xml � (� ���n� �_�p��("��v���m�b{�*��"`�>�"Z��mӘ(��;�B~�,{p��50 B�P�F��l�-�7e>*�d:�-p�`v�����B�L��|ps�Ҳ��W�j[Q�O��0L��}e�R�G�j��e��W�� ����� ˼���h��6��cP�{���y3�N�*�4��l zm���/ �V���V�.�uM"ީUo�H1�Y=��(���c)�$&I���d����t�Re����/���ǫ� !,�YL3��~�����i@ӄQ�f)u��}��d�)"L)c,s��]�]�-�W�*s�F���+>�n����r�7���e����.��-]w[_�-_�["Y �b���kv�q�U����}�vz�zKЫ��M�;w˸~P�r��g���?PK N E[��4h� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;��a�t�-����٦-g�G�jQ��E7�F�{z�����z�1� }��3�rmo;�����ݬw8Ș&��@Ҋ L�ӊҠ�2dnB�:��QƔ��NRe�4g��~[&ٟ'��i�+|v�4��w����c0��^����R����D�� ؕ�au��^4e�* �aj!�W��|&S�^K�g�2W�1�c�}���i^��a�ZvP��(k�/j��/6?PK N E[Ѓc'2 E 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 N E[:;> xl/sharedStrings.xml � (� �T]o�0}G�?Xy��\��j:m��hU��x�*0�mk�8�v����\�qka�-���s�2��V��H�K�8��;+3.v��^�� �4�K�s 含�X)M�T���k]�<O�=T�e�m)�ʝ�* 4S{ ]�^��}��\8���Љ�3j�?אZ��d�'��^H�@�=={&x$�}�W���Ң�|'�� �F��)�Oz-d��L���K�:~��<C(�<�����)����po6�[�Rb��I�<�Q{���ę��+�!xh3¦�}���OKt!!���A�?��f �f�EDž��3��q�ˎ3h`Д��!;th�A�![kf�� c�#?�Cr=�:�{*v�:T�z�d�����t0��OU�ֵ�4����B���D�[E�*�$���'��� *��j����o�5�ފ�Li+���ժ��u��>��h�V{�^aQ�J]�<��2;U��� ��e� �g 4�r���ό��?�Y���A/|ֻ��� �K�E�x�"Ɔіv'n��3_6o�^��Mn��tҝ��rog�koA�Oni�{�����/PK- N E[4�J� 5 xl/workbook.xmlPK- N E[���� � [Content_Types].xmlPK- N E[mw9A' ' V _rels/.relsPK- N E[ʇ�%� + � xl/worksheets/sheet1.xmlPK- N E[��4h� P � xl/_rels/workbook.xml.relsPK- N E[Ѓc'2 E � xl/styles.xmlPK- N E[:;> s xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK N E[Ő"�� 5 xl/workbook.xml � (� ����0��&�C��E�8q����B�������Ǘ�@������S�.�:�^�c�PS��/��B��<�i']0�&��I�{l]�6h;s^��$�lT�G���aEDT��+ʀ��9��f�c\�dlug��5�~S��/E,�i (Y���iFI(�4��U�B�\�]��ӝ��*��n�PK N E[���� � [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 N E[ٝ�C' ' _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="R6b0bfcec182940b4" /></Relationships>PK N E[ʇ�%� + xl/worksheets/sheet1.xml � (� ���n� �_�p��("��v���m�b{�*��"`�>�"Z��mӘ(��;�B~�,{p��50 B�P�F��l�-�7e>*�d:�-p�`v�����B�L��|ps�Ҳ��W�j[Q�O��0L��}e�R�G�j��e��W�� ����� ˼���h��6��cP�{���y3�N�*�4��l zm���/ �V���V�.�uM"ީUo�H1�Y=��(���c)�$&I���d����t�Re����/���ǫ� !,�YL3��~�����i@ӄQ�f)u��}��d�)"L)c,s��]�]�-�W�*s�F���+>�n����r�7���e����.��-]w[_�-_�["Y �b���kv�q�U����}�vz�zKЫ��M�;w˸~P�r��g���?PK N E[�d�6� P xl/_rels/workbook.xml.rels � (� ��An� E������&$��M7ݦ��ۊ Hۜ���W(J�֑��&+4�鍆�����m��88�Ҫ()A��l��s2�=����>���Ɩ�)�5cQ�8A,�G�;ƅ R.C�<�t�xY �z�$�����1��G�������p�=b�� ���ҟ(��Q�Jɓn�^��fQjU}\�����b�����o8�\U#�ڈ�2=��)�Mϝ��LM.��Pꥮ9����/PK N E[Ѓc'2 E 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 N E[:;> xl/sharedStrings.xml � (� �T]o�0}G�?Xy��\��j:m��hU��x�*0�mk�8�v����\�qka�-���s�2��V��H�K�8��;+3.v��^�� �4�K�s 含�X)M�T���k]�<O�=T�e�m)�ʝ�* 4S{ ]�^��}��\8���Љ�3j�?אZ��d�'��^H�@�=={&x$�}�W���Ң�|'�� �F��)�Oz-d��L���K�:~��<C(�<�����)����po6�[�Rb��I�<�Q{���ę��+�!xh3¦�}���OKt!!���A�?��f �f�EDž��3��q�ˎ3h`Д��!;th�A�![kf�� c�#?�Cr=�:�{*v�:T�z�d�����t0��OU�ֵ�4����B���D�[E�*�$���'��� *��j����o�5�ފ�Li+���ժ��u��>��h�V{�^aQ�J]�<��2;U��� ��e� �g 4�r���ό��?�Y���A/|ֻ��� �K�E�x�"Ɔіv'n��3_6o�^��Mn��tҝ��rog�koA�Oni�{�����/PK- N E[Ő"�� 5 xl/workbook.xmlPK- N E[���� � � [Content_Types].xmlPK- N E[ٝ�C' ' U _rels/.relsPK- N E[ʇ�%� + � xl/worksheets/sheet1.xmlPK- N E[�d�6� P � xl/_rels/workbook.xml.relsPK- N E[Ѓc'2 E � xl/styles.xmlPK- N E[:;> s xl/sharedStrings.xmlPK � �