Fix account import

This commit is contained in:
2025-09-05 11:37:36 +09:00
parent 496d173429
commit b6241c74b0

View File

@ -38,19 +38,19 @@ namespace Hcs.TestApp.Scenario
{
var payload = new ImportAccountDataPayload()
{
accountNumber = "385635479641",
accountNumber = "458938932489324",
accountReasons = new AccountReasonsImportType()
{
SupplyResourceContract =
[
new()
{
Items = ["0aca4ebc-8d5c-4a39-801c-e25f0867adc6"],
Items = ["2fb693f0-3ac8-4a9a-af0e-cb6515d61370"],
ItemsElementName = [ItemsChoiceType17.ContractGUID]
}
]
},
accountType = ImportAccountDataPayload.AccountType.RC,
accountType = ImportAccountDataPayload.AccountType.RSO,
livingPersonsNumber = 1,
totalSquare = 29.3m,
residentialSquare = 29.3m,
@ -59,8 +59,8 @@ namespace Hcs.TestApp.Scenario
[
new()
{
Item = "db041c58-4a14-45ce-8ecc-d99727e9683f",
ItemElementName = ItemChoiceType9.FIASHouseGuid
Item = "6e011824-3d8a-48d7-b0ee-7b36be7096bf",
ItemElementName = ItemChoiceType9.PremisesGUID
}
],
payerInfo = new AccountTypePayerInfo()
@ -69,7 +69,7 @@ namespace Hcs.TestApp.Scenario
IsRenterSpecified = true,
Item = new AccountIndType()
{
Item = "62392021264",
Item = "26041127927",
FirstName = "Имя",
Surname = "Фамилия",
Patronymic = "Отчество"
@ -131,7 +131,7 @@ namespace Hcs.TestApp.Scenario
Item1ElementName = Item1ChoiceType5.NextMounth
}
},
contractAttachment = [new ContractTypeAgreementAttachment()
contractAttachment = [new AttachmentType()
{
Name = "Наименование вложения",
Description = "Описание вложения",
@ -200,7 +200,7 @@ namespace Hcs.TestApp.Scenario
var payload = new ImportSupplyResourceContractDataPayload()
{
isContract = false,
contractNumber = "239297999",
contractNumber = "88888888",
signingDate = signingDate,
effectiveDate = effectiveDate,
automaticRollOverOneYear = true,
@ -244,7 +244,10 @@ namespace Hcs.TestApp.Scenario
CentralizedOrNot = SupplyResourceContractTypeObjectAddressPairHeatingSystemTypeCentralizedOrNot.Decentralized
}
}],
FIASHouseGuid = "db041c58-4a14-45ce-8ecc-d99727e9683f"
HouseType = ObjectAddressTypeHouseType.MKD,
HouseTypeSpecified = true,
FIASHouseGuid = "c48e5025-f77a-494f-8aab-f773da623a25",
ApartmentNumber = "1"
}],
quality = [new SupplyResourceContractTypeQuality()
{