Commit 1cc6f038 by Alex Nasyr

request json added

parent 7fc149d8
......@@ -10,6 +10,7 @@ namespace SocialMinistryDataExchange.Model {
public class SMPersonNewDataRequest {
public string MsgID { get; set; }
public DateTime MsgDataTime { get; set; }
public string? MsgPriority { get; set; }
public Person Person { get; set; }
public string PersonStatus { get; set; }
public DateTime PersonStatusStartDate { get; set; }
......@@ -35,6 +36,5 @@ namespace SocialMinistryDataExchange.Model {
public string? PersonAddress { get; set; }
public string? DependentPerson { get; set; }
public string? DependenceType { get; set; }
public int? DependenceCode { get; set; }
}
}
{
"msgID": "111222333",
"msgDataTime": "2022-03-25",
"msgPriority": "force",
"person": {
"rowguid_eais": "223322",
"rowguid_contingent": "11111111-2222-3333-4444-555555555555",
"personFamilyName": "Мкртчян",
"personName": "Василий",
"personSurname": "Алибабаевич",
"personBirthday": "2015-01-01",
"personDocumentType": "2",
"personDocumentSeria": "V-II",
"personDocumentNumber": "123456",
"personDocumentDate": "2010-01-01",
"personSnils": null,
"personAddress": null,
"dependentPerson": null,
"dependenceType": null
},
"personStatus": "2",
"personStatusStartDate": "2021-12-01",
"personStatusEndDate": "2022-12-01",
"relatives": [
{
"rowguid_eais": "223223",
"rowguid_contingent": "22221111-2222-3333-4444-555555555555",
"personFamilyName": "Кац",
"personName": "Роза",
"personSurname": "Изевна",
"personBirthday": "1950-02-02",
"personDocumentType": "1",
"personDocumentSeria": "5517",
"personDocumentNumber": "654322",
"personDocumentDate": "2012-02-01",
"personSnils": "120000098",
"personAddress": null,
"dependentPerson": "11111111-2222-3333-4444-555555555555",
"dependenceType": "Мать"
},
{
"rowguid_eais": "223223",
"rowguid_contingent": null,
"personFamilyName": "Мкртчян",
"personName": "Алибаба",
"personSurname": null,
"personBirthday": "1950-03-02",
"personDocumentType": "1",
"personDocumentSeria": "5518",
"personDocumentNumber": "654321",
"personDocumentDate": "2012-03-01",
"personSnils": "120000089",
"personAddress": null,
"dependentPerson": "11111111-2222-3333-4444-555555555555",
"dependenceType": "Отец"
}
],
"familyPersonsCount": 3,
"avgIncome": 4445.00,
"minIncome": 4444.99,
"territory": "Гадюкино"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment