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-08-02T23:25:28.1897176", "priceChangeType": 0, "costDecimals": 10 }, "normalPluPrices": { "$ref": "2" }, "winningCampaign": 1, "winner": { "$id": "3", "campaignName": "sample string 1", "campaignDescription": "sample string 2", "startDate": "2025-08-02T23:25:28.1897176", "startTime": 3, "endDate": "2025-08-02T23:25:28.1897176", "endTime": 4, "newPrice": 5, "newCost": 6, "newCostDecimals": 7, "pctDiscount": 8, "promoType": 1, "promotionTypeCode": "sample string 9", "hostType": 10, "hostIdentifier": "zLt8k6HNZ02ASJJpN8Y/4w==", "hostIdentifierGuid": "937cbbcc-cda1-4d67-8048-926937c63fe3", "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-08-02T23:25:28.1897176+00:00</EndDate> <EndTime>4</EndTime> <HostIdentifier>zLt8k6HNZ02ASJJpN8Y/4w==</HostIdentifier> <HostIdentifierGuid>937cbbcc-cda1-4d67-8048-926937c63fe3</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-08-02T23:25:28.1897176+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-08-02T23:25:28.1897176+00:00</EndDate> <EndTime>4</EndTime> <HostIdentifier>zLt8k6HNZ02ASJJpN8Y/4w==</HostIdentifier> <HostIdentifierGuid>937cbbcc-cda1-4d67-8048-926937c63fe3</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-08-02T23:25:28.1897176+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-08-02T23:25:28.1897176+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-08-02T23:25:28.1897176+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-08-02T23:25:28.1897176+00:00</EndDate> <EndTime>4</EndTime> <HostIdentifier>zLt8k6HNZ02ASJJpN8Y/4w==</HostIdentifier> <HostIdentifierGuid>937cbbcc-cda1-4d67-8048-926937c63fe3</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-08-02T23:25:28.1897176+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 .�[�)j߷ 5 xl/workbook.xml � (� ����0��&�C��(�R8q����R��@[�����O ��mgv����]�\G>��!�mcrƂl�@8��S����/��+'�md�$��cQ;Z=���a��#4�E��_Q����@���=5�a���՝M���M��_,�X0X� "P�8���gJ|���!y�$O��욦��;L��w�PK .�[���� � [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 .�[5b�w' ' _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="R886e9f36fd3040e2" /></Relationships>PK .�[ʇ�%� + 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 .�[��q)� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�i�Eu�aö���Q;��@�Ƃ#q�"A*�`�ٌ��'y>�?6��id/���<��i� ��p"s��n���(mD;̑�'.J�D�=�Q[�T���.M���T���JU�|%D�Ò�Lv8���7f����iBG����h �A�I�O+�KʳD��I�����Z��V�(�����"�G��^��Bfe�U�rݖB���X�{��~z�l/� l���-U�\���]l� PK .�[Ѓ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 .�[��,�< xl/sharedStrings.xml � (� �T]��@}7�?L�,��P6nYW!$@|���^`b;�3S���;�SW@7���s�望�o�e)�R�\DN����}�l�oZ�(MEB�\@�A9�f2VJ,*rZ#�S� Un^�@f�ˌj�r�BM�@g��~��(ay)t��R��%�� >��2-��3PcOOƞ ���i���~υ�'�4+(ߋk4���4��E��̓��� �|�cID�W����'E��6�a3�bhuT2����ak���%�h�8OS`�W�=�J������:c&t;�j��-��8G"��[��S��]-a��4\���p�����p �rU9d�M�5cPhH6��</DC�. �Q����7��{XS����KO�q|�Q"�M���ֹړJv[��4TS���t-HS����"1<A��R �xB���լJ�;�<S�uA���Z�5�-�=�O�8y����'�嵎A0�3�8O.���z��m�o���;�ډ��Q����g����XB�V'��[�3h Þ�z����6������W���&w��� ���Q�T�w�ص��ܳK�����Ol�PK- .�[�)j߷ 5 xl/workbook.xmlPK- .�[���� � [Content_Types].xmlPK- .�[5b�w' ' V _rels/.relsPK- .�[ʇ�%� + � xl/worksheets/sheet1.xmlPK- .�[��q)� P � xl/_rels/workbook.xml.relsPK- .�[Ѓc'2 E � xl/styles.xmlPK- .�[��,�< s xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK .�[�j� 5 xl/workbook.xml � (� ����0D�&�C��h68q����J�@[����[J ��mgv��T�u��ځ|�h|�j*C�J�|'Q�?� M���iQ��}�:lm��h�dY���5^��ӕ��OAx���4(C�ぐji�P8�$���]L���MU �_$Eh�i(I�M��L�+U�C��+��B��tgﰊm��/PK .�[���� � [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 .�[��' ' _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="R905cf9baa4714c63" /></Relationships>PK .�[ʇ�%� + 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 .�[� }�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞ة�ࠦݰa��gGM��v�=�����ĂMW��==i���c�=O#{%gk�3��v�`�N�{P�ݬw4bL�s`iņL���A�0dn&�:��Ɣ��Ϩ��_ Qr�d�-�.3���n����i"� �7��E`�=�~J�_C�%*����]��T�QiY�R(��M-��H���;_�`��F �Q�2=���ӥ�N��B��t#銊Bʼ����|PK .�[Ѓ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 .�[��,�< xl/sharedStrings.xml � (� �T]��@}7�?L�,��P6nYW!$@|���^`b;�3S���;�SW@7���s�望�o�e)�R�\DN����}�l�oZ�(MEB�\@�A9�f2VJ,*rZ#�S� Un^�@f�ˌj�r�BM�@g��~��(ay)t��R��%�� >��2-��3PcOOƞ ���i���~υ�'�4+(ߋk4���4��E��̓��� �|�cID�W����'E��6�a3�bhuT2����ak���%�h�8OS`�W�=�J������:c&t;�j��-��8G"��[��S��]-a��4\���p�����p �rU9d�M�5cPhH6��</DC�. �Q����7��{XS����KO�q|�Q"�M���ֹړJv[��4TS���t-HS����"1<A��R �xB���լJ�;�<S�uA���Z�5�-�=�O�8y����'�嵎A0�3�8O.���z��m�o���;�ډ��Q����g����XB�V'��[�3h Þ�z����6������W���&w��� ���Q�T�w�ص��ܳK�����Ol�PK- .�[�j� 5 xl/workbook.xmlPK- .�[���� � � [Content_Types].xmlPK- .�[��' ' U _rels/.relsPK- .�[ʇ�%� + � xl/worksheets/sheet1.xmlPK- .�[� }�� P � xl/_rels/workbook.xml.relsPK- .�[Ѓc'2 E � xl/styles.xmlPK- .�[��,�< r xl/sharedStrings.xmlPK � �