POST api/playlists
Add a playlist
Request Information
URI Parameters
None.
Body Parameters
Playlist| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 64 |
|
| StartDate | date |
Data type: Date |
|
| StartTime | integer |
None. |
|
| EndDate | date |
Data type: Date |
|
| EndTime | integer |
None. |
|
| Recurrence | integer |
None. |
|
| RecurrenceType | CampaignScheduleType |
None. |
|
| MonthType | CampaignMonthlyType |
None. |
|
| WeekDays | CampaignDayOfWeek |
None. |
|
| Months | CampaignMonth |
None. |
|
| MonthWeeks | CampaignWeekOfMonth |
None. |
|
| MonthDays | string |
String length: inclusive between 0 and 32 |
|
| Active | boolean |
None. |
|
| Deleted | boolean |
None. |
|
| LastUpdated | date |
Data type: Date |
|
| UpdatedByUser | string |
String length: inclusive between 0 and 255 |
|
| CreatedByUser | string |
String length: inclusive between 0 and 255 |
|
| Priority | integer |
None. |
|
| PlaylistDetails | Collection of PlaylistDetail |
None. |
|
| PlaylistGroups | Collection of PlaylistGroup |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"startDate": "2026-06-03T18:36:31.5448431",
"startTime": 1,
"endDate": "2026-06-03T18:36:31.5448431",
"endTime": 1,
"recurrence": 1,
"recurrenceType": 1,
"monthType": 1,
"weekDays": 1,
"months": 1,
"monthWeeks": 1,
"monthDays": "sample string 3",
"active": true,
"deleted": true,
"lastUpdated": "2026-06-03T18:36:31.5448431",
"updatedByUser": "sample string 4",
"createdByUser": "sample string 5",
"priority": 6,
"playlistDetails": [
{
"$id": "2",
"id": 1,
"sortOrder": 2,
"playlistID": 3,
"advertID": 4,
"duration": 5,
"deleted": true,
"advert": {
"$id": "3",
"id": 1,
"fileName": "sample string 2",
"extension": "sample string 3",
"fileSize": 4,
"isVideo": true,
"deleted": true,
"created": "2026-06-03T18:36:31.5448431",
"updated": "2026-06-03T18:36:31.5448431",
"imageData": "QEA=",
"length": 7
}
},
{
"$ref": "2"
}
],
"playlistGroups": [
{
"$id": "4",
"id": 1,
"playlistID": 2,
"storeID": 3,
"zoneID": 4
},
{
"$ref": "4"
}
]
}
application/xml, text/xml
Sample:
<Playlist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Adverts">
<Active>true</Active>
<CreatedByUser>sample string 5</CreatedByUser>
<Deleted>true</Deleted>
<EndDate>2026-06-03T18:36:31.5448431+00:00</EndDate>
<EndTime>1</EndTime>
<ID>1</ID>
<LastUpdated>2026-06-03T18:36:31.5448431+00:00</LastUpdated>
<MonthDays>sample string 3</MonthDays>
<MonthType>1</MonthType>
<MonthWeeks>1</MonthWeeks>
<Months>1</Months>
<Name>sample string 2</Name>
<PlaylistDetails>
<PlaylistDetail>
<Advert>
<Created>2026-06-03T18:36:31.5448431+00:00</Created>
<Deleted>true</Deleted>
<Extension>sample string 3</Extension>
<FileName>sample string 2</FileName>
<FileSize>4</FileSize>
<ID>1</ID>
<ImageData>QEA=</ImageData>
<IsVideo>true</IsVideo>
<Length>7</Length>
<Updated>2026-06-03T18:36:31.5448431+00:00</Updated>
</Advert>
<AdvertID>4</AdvertID>
<Deleted>true</Deleted>
<Duration>5</Duration>
<ID>1</ID>
<PlaylistID>3</PlaylistID>
<SortOrder>2</SortOrder>
</PlaylistDetail>
<PlaylistDetail>
<Advert>
<Created>2026-06-03T18:36:31.5448431+00:00</Created>
<Deleted>true</Deleted>
<Extension>sample string 3</Extension>
<FileName>sample string 2</FileName>
<FileSize>4</FileSize>
<ID>1</ID>
<ImageData>QEA=</ImageData>
<IsVideo>true</IsVideo>
<Length>7</Length>
<Updated>2026-06-03T18:36:31.5448431+00:00</Updated>
</Advert>
<AdvertID>4</AdvertID>
<Deleted>true</Deleted>
<Duration>5</Duration>
<ID>1</ID>
<PlaylistID>3</PlaylistID>
<SortOrder>2</SortOrder>
</PlaylistDetail>
</PlaylistDetails>
<PlaylistGroups>
<PlaylistGroup>
<ID>1</ID>
<PlaylistID>2</PlaylistID>
<StoreID>3</StoreID>
<ZoneID>4</ZoneID>
</PlaylistGroup>
<PlaylistGroup>
<ID>1</ID>
<PlaylistID>2</PlaylistID>
<StoreID>3</StoreID>
<ZoneID>4</ZoneID>
</PlaylistGroup>
</PlaylistGroups>
<Priority>6</Priority>
<Recurrence>1</Recurrence>
<RecurrenceType>1</RecurrenceType>
<StartDate>2026-06-03T18:36:31.5448431+00:00</StartDate>
<StartTime>1</StartTime>
<UpdatedByUser>sample string 4</UpdatedByUser>
<WeekDays>1</WeekDays>
</Playlist>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
int
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ���\��h�� 5 xl/workbook.xml � (� ����0��&�C��
�N\�z�^`+
�'m
>��o�vfg�:k;�Z��#'�J[��{S�$s'm@��V2�}���[���$9�01/�r�0��X�X`� ��V�dB��x@�.͞fe0�����"�)a�ETH1 n�gE��W8�Ȗ"�6�
(���^�%�s��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
���\����' ' _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="Rbb1b1413766842ca" /></Relationships>PK ���\��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@
82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO
71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK ���\:��� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_�'FU�l��6�0��&9[=R�P�J-���&�͇�'1����e���0Z�BY0 h�U��[8E��a�Y�q1m�at��'&�0��)
r�Y��:4i���EL���(z�c+�s�3����?D��(qg�iF� ӳ��0 F �{�-�����HT /��}�X4ؔ
fj�>L-������d8�D�t�d�{�� <����O�Ny;S���RrYK�75zw�/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 � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- ���\��h�� 5 xl/workbook.xmlPK- ���\���� � [Content_Types].xmlPK-
���\����' ' V _rels/.relsPK- ���\��4 � � xl/worksheets/sheet1.xmlPK- ���\:��� P . xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
s xl/styles.xmlPK- ���\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ���\Y��� 5 xl/workbook.xml � (� ����0��J}�(P��@B��ҵCwL�J����_~R�n�����u�������ܕ�a���I��̼ؑ��f�`�NI��|k2�Q�������j�|����#l}O��4*ë�bi�P4�U��^w1l!�M+�X3���5�lunm�g.W�pm��$�q�P�"�������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
���\�S�' ' _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="R4866b40a9a674ab2" /></Relationships>PK ���\��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@
82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO
71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK ���\�>[�� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;qLL��
�n)p�q�ؖmh9[=R�P�Jm����h~OO��|���ަ�\Ї��X�A�l;���s�O+�m7eL�\ iń�ݚҠz�dȬC�:��IƔ��:�N�C����9��xu���zP���<�������#F G�;�5����%*�綆k���JG.Y�>L-�����;��T��`%kD)/x�P�^zl_�O��;��35�
(�R(�\����_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 � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- ���\Y��� 5 xl/workbook.xmlPK- ���\���� � � [Content_Types].xmlPK-
���\�S�' ' U _rels/.relsPK- ���\��4 � � xl/worksheets/sheet1.xmlPK- ���\�>[�� P - xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
t xl/styles.xmlPK- ���\�/�� � � xl/sharedStrings.xmlPK � �