GET api/GiftCertificate/users

Метод получения списка сотрудников, которым ваданы сертификаты

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

UserCertificateResponse
NameDescriptionTypeAdditional information
Users

Collection of CertificateManagerData

None.

ResultQueryInfo

Сообщения

ResultQueryInfoContainer

None.

Response Formats

application/json, text/json

Sample:
{
  "Users": [
    {
      "Name": "sample string 1",
      "Id": 2,
      "Code": "sample string 3"
    },
    {
      "Name": "sample string 1",
      "Id": 2,
      "Code": "sample string 3"
    }
  ],
  "RedirectUrl": "sample string 1",
  "ResultQueryInfo": {
    "ResultsCount": 1,
    "HasError": false,
    "Info": [],
    "CacheStorageTimeEnd": true,
    "RefreshPeriod": 0,
    "DelFromCacheDateTime": "2024-05-19T18:29:19.3247235+03:00",
    "UserMessages": "",
    "UserMessagesHtml": ""
  }
}

application/xml, text/xml

Sample:
<UserCertificateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Certificates">
  <RedirectUrl xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">sample string 1</RedirectUrl>
  <ResultQueryInfo xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Common.Contract">
    <_x003C_DelFromCacheDateTime_x003E_k__BackingField>2024-05-19T18:29:19.3247235+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField>
    <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField>
    <info />
  </ResultQueryInfo>
  <Users>
    <ManagerCertificateResponse.CertificateManagerData>
      <Code>sample string 3</Code>
      <Id>2</Id>
      <Name>sample string 1</Name>
    </ManagerCertificateResponse.CertificateManagerData>
    <ManagerCertificateResponse.CertificateManagerData>
      <Code>sample string 3</Code>
      <Id>2</Id>
      <Name>sample string 1</Name>
    </ManagerCertificateResponse.CertificateManagerData>
  </Users>
</UserCertificateResponse>