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