Update WSDL to 15.7.0.1
This commit is contained in:
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using HouseManagement = Hcs.Service.Async.HouseManagement.v14_5_0_1;
|
||||
using HouseManagement = Hcs.Service.Async.HouseManagement.v15_7_0_1;
|
||||
|
||||
namespace Hcs.ClientApi.HouseManagementApi
|
||||
{
|
||||
@ -53,14 +53,14 @@ namespace Hcs.ClientApi.HouseManagementApi
|
||||
var reasonRSO = new HouseManagement.AccountReasonsImportTypeSupplyResourceContract()
|
||||
{
|
||||
Items = [FormatGuid(договор.ГуидДоговора)],
|
||||
ItemsElementName = [HouseManagement.ItemsChoiceType9.ContractGUID]
|
||||
ItemsElementName = [HouseManagement.ItemsChoiceType17.ContractGUID]
|
||||
};
|
||||
account.AccountReasons = new HouseManagement.AccountReasonsImportType()
|
||||
{
|
||||
SupplyResourceContract = [reasonRSO]
|
||||
};
|
||||
|
||||
account.ItemElementName = HouseManagement.ItemChoiceType18.isRSOAccount;
|
||||
account.ItemElementName = HouseManagement.ItemChoiceType8.isRSOAccount;
|
||||
account.Item = true;
|
||||
|
||||
if (IsArrayEmpty(лицевойСчет.Размещения))
|
||||
@ -124,12 +124,12 @@ namespace Hcs.ClientApi.HouseManagementApi
|
||||
var accomodation = new HouseManagement.AccountTypeAccommodation();
|
||||
if (размещение.ГуидПомещения != null)
|
||||
{
|
||||
accomodation.ItemElementName = HouseManagement.ItemChoiceType19.PremisesGUID;
|
||||
accomodation.ItemElementName = HouseManagement.ItemChoiceType9.PremisesGUID;
|
||||
accomodation.Item = FormatGuid(размещение.ГуидПомещения);
|
||||
}
|
||||
else if (размещение.ГуидЖилойКомнаты != null)
|
||||
{
|
||||
accomodation.ItemElementName = HouseManagement.ItemChoiceType19.LivingRoomGUID;
|
||||
accomodation.ItemElementName = HouseManagement.ItemChoiceType9.LivingRoomGUID;
|
||||
accomodation.Item = FormatGuid(размещение.ГуидЖилойКомнаты);
|
||||
}
|
||||
else
|
||||
@ -170,7 +170,7 @@ namespace Hcs.ClientApi.HouseManagementApi
|
||||
switch (commonResult.ItemElementName)
|
||||
{
|
||||
|
||||
case HouseManagement.ItemChoiceType2.ImportAccount:
|
||||
case HouseManagement.ItemChoiceType26.ImportAccount:
|
||||
var accountResult = RequireType<HouseManagement.getStateResultImportResultCommonResultImportAccount>(commonResult.Item);
|
||||
|
||||
DateTime updateDate = commonResult.Items.OfType<DateTime>().FirstOrDefault();
|
||||
|
||||
Reference in New Issue
Block a user