GET api/GiftCertificate/publicoffers
Метод получения ссылок на оплату дотациями через договор-оферты
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Number | string |
None. |
|
StartDateFrom | SerializedDateTime |
None. |
|
EndDateFrom | SerializedDateTime |
None. |
|
IssueDateFrom | SerializedDateTime |
None. |
|
CreateDateFrom | SerializedDateTime |
None. |
|
PaymentDateFrom | SerializedDateTime |
None. |
|
StartDateTo | SerializedDateTime |
None. |
|
EndDateTo | SerializedDateTime |
None. |
|
IssueDateTo | SerializedDateTime |
None. |
|
CreateDateTo | SerializedDateTime |
None. |
|
PaymentDateTo | SerializedDateTime |
None. |
|
ClientId | integer |
None. |
|
PartnerId | integer |
None. |
|
PartnerLegalId | integer |
None. |
|
SumFrom | decimal number |
None. |
|
AvailableSumFrom | decimal number |
None. |
|
SumTo | decimal number |
None. |
|
AvailableSumTo | decimal number |
None. |
|
IsUsed | boolean |
None. |
|
CurrencyIds | Collection of integer |
None. |
|
IsPayed | boolean |
None. |
|
Type | integer |
None. |
|
OwnerLegalEntityId | integer |
None. |
|
CreatorManagerId | integer |
None. |
|
OwnerUserId |
Идентификатор сотрудника |
integer |
None. |
OwnerUserCode |
Табельный номер сотрудника |
string |
None. |
PersonalCertificate |
Фильтрация по признаку личный, не личный |
boolean |
None. |
host | string |
None. |
|
GetSubsidies |
Флаг получения дотаций, а не сертификатов |
boolean |
None. |
ParentId |
Идентификатор родительского сертификата |
integer |
None. |
ParentNumber |
Номер родительского сертификата |
string |
None. |
ShowOnlyParent |
Флаг получения только родительских сертификатов |
boolean |
None. |
ShowOnlyChild |
Флаг получения только дочерних сертификатов |
boolean |
None. |
AgreementCode |
Код путевки, для которой запрашивается список дотаций, которыми ее можно оплатить |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
CertificatesPublicOfferListResponseName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of CertificatePublicOfferLink |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "Name": "sample string 1", "Link": "sample string 2" }, { "Name": "sample string 1", "Link": "sample string 2" } ], "RedirectUrl": "sample string 1", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2024-11-23T16:50:35.5298378+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml, text/xml
Sample:
<CertificatesPublicOfferListResponse 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-11-23T16:50:35.5298378+03:00</_x003C_DelFromCacheDateTime_x003E_k__BackingField> <_x003C_ResultsCount_x003E_k__BackingField>1</_x003C_ResultsCount_x003E_k__BackingField> <info /> </ResultQueryInfo> <Items> <CertificatePublicOfferLink> <Link>sample string 2</Link> <Name>sample string 1</Name> </CertificatePublicOfferLink> <CertificatePublicOfferLink> <Link>sample string 2</Link> <Name>sample string 1</Name> </CertificatePublicOfferLink> </Items> </CertificatesPublicOfferListResponse>