POST api/user_info/user_collection_send?userCollectionId={userCollectionId}

Отправить коллекцию пользователя другим пользователям

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userCollectionId

Идентификатор коллекции пользователя (обязательный параметр)

integer

Required

Body Parameters

Список логинов или адресов эл. почты пользователей на сайте, которым нужно отправить письма о коллекции (обязательный параметр)

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Результат в виде списков (пользователей сайта, не найденных в БД логинов и адресов эл. почты)

SendUserCollectionResponse
NameDescriptionTypeAdditional information
RegisteredUsers

Список зарегистрированных на сайте пользователей

Collection of SendUserCollectionRegisteredUser

None.

UnregisteredEmails

Список поданных на вход адресов эл. почты пользователей, которые не найдены в БД среди пользователей сайта

Collection of string

None.

UnregisteredLogins

Список поданных на вход логинов пользователей, которые не найдены в БД среди пользователей сайта

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "registeredUsers": [
    {
      "inputLoginOrEmail": "sample string 1",
      "email": "sample string 2"
    },
    {
      "inputLoginOrEmail": "sample string 1",
      "email": "sample string 2"
    }
  ],
  "unregisteredEmails": [
    "sample string 1",
    "sample string 2"
  ],
  "unregisteredLogins": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<SendUserCollectionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RucontAPI.Models.UserCollections">
  <RegisteredUsers>
    <SendUserCollectionRegisteredUser>
      <Email>sample string 2</Email>
      <InputLoginOrEmail>sample string 1</InputLoginOrEmail>
    </SendUserCollectionRegisteredUser>
    <SendUserCollectionRegisteredUser>
      <Email>sample string 2</Email>
      <InputLoginOrEmail>sample string 1</InputLoginOrEmail>
    </SendUserCollectionRegisteredUser>
  </RegisteredUsers>
  <UnregisteredEmails xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UnregisteredEmails>
  <UnregisteredLogins xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UnregisteredLogins>
</SendUserCollectionResponse>

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel

Sample:
PKm��Z�H��3[Content_Types].xml���J1�_e�U��D���U�>���vC�̴�oo6+"��z�$����3_�k����Њ�����ƆM+�֏�[�C0�b�V��r1_RSf��gNwJ���ɘ0����kިzT����10���!�{�`�Y��u+ %g5p�R�L4�"���]�an�	��Dft��z���4��4$<�����"b�Y�&�/#�RF0�#�w�V���1�2?�/����G�����j"����*��evA�C:G1*���!�y�\��<�φoU�~�	PK�H��3PKm��Z��닮'_rels/.rels����0�WYz��c��1�j��V�e�
o�b<xl���Ӳ^�=ч���"ˁ�U�k����,Di��Ȣ��Uy�I�t����1��A�8ː�C�6�Y�4zÝT�4��y~��Ӏ��-�7�֮�����gR�m�Q�H����e�/��h�
�*����
PK��닮'PKm��Z�����xl/workbook.xml���j�0��*�EN=�P
��
�����E�c$���+�qp饷���oF��O�N�j�
��ic_1D����hӬu�@L�?2׶J�։�Aٺ,��G
Q9:�:���
�G��C�F�(������}+���M�7���K��`���#�t(����_�T��L����s���(����8�n��U[�ܿ*�g��D;�kr+)锔h�q��k���XUŦXs6�ނ�1�'>=i�ZoR�a����9����PK�����PKm��Z�b���4xl/_rels/workbook.xml.rels���j�0�_��8�`�Q��1�@�J�������k6VR(c���d��>���kԉ2�1h�]:����+(���D��rKJYa�'V�؀IoZ��4"W1Q(/m�#Jis��#v�u����L�q��5��S���c���ޣ�)ȝ}��ȞH
sGb�:b�]��PAߗY<R�e�_^M~����1��I.��[�ǿ2��ګPK�b���4PKm��Z�����xl/worksheets/sheet1.xml�S�n�0����$M���Mm��M�]��Ʀ�	�~m����lCK�j{1��s�=�J���Wv��
tm��9�WF KUqy�qo�������M`��K��9n��v��������@�^�tˬ��#Qu�K�We߂��F�� �u�L�;�G��2�V��Z�%.��;u�i�s|��#Rd��a0��<)��/��GN�c�����֭#���P�=�����B�k�~�Ĉ������r���U���CA@���=�&U7ƼL�����o�aUP�^�/j���xÛ�/�0�D-�!F�^�w�mr�&+�nh����&�n1*{��}�1&:��t����6��ĭ~���ﲓ�����	B�{fY�i5 "��4zc����9�����≷3�U����(#'?jB�]"��K��9�m�y,
�hAI��^"�gc�C�c�bS�����}�
�l@��=���)PK�����PKm��Z�����
xl/styles.xml�T�n�0�W�?X��:��P�\"!��Kz�����6�닱�M�H]8���73�5vd��b���0�U��SG86wR1!�����-2J\���7�'�1pw{�V��ր��-��F�������Y��7���{�h�iD�(a����6o�P<el)�>?�#���-�)��:*R@!YiĴ�R��Y��O#��r�%�{ɤ��
X�KW����Ex3����&zX�����Ʀ���*`�J�JZ+y�)n��,L"rvB]'��ѭ�[s���~{_�ww��;�R�H���WٰRl<�"���&'�j�J�kC���5a���]��30���|����/l����
xpe����)�V���D=4_ߋ-�/��PK�����PKm��Z������xl/sharedStrings.xml���J1�_���vVPDff�EEXAv�+,m�)���d�}{���.�����NrH��G�2���\�J
@��ǡ����Ʌ��		��[ )�mMĢX�92O�Z�!Ri,�k��p)�i�`��>��s�G)l��y&Ō�m��O]���v�'�������z'}�=�_ຌ��4x�CtۢF�J!��rR����U�b|Y<mf�����}rH����;��~>~�7�q.����r��PK������PK-m��Z�H��3[Content_Types].xmlPK-m��Z��닮'Y_rels/.relsPK-m��Z�����@xl/workbook.xmlPK-m��Z�b���4�xl/_rels/workbook.xml.relsPK-m��Z������xl/worksheets/sheet1.xmlPK-m��Z�����
�xl/styles.xmlPK-m��Z������xxl/sharedStrings.xmlPK��