Skip to content

Commit 4249537

Browse files
committed
Guardian Fix
1 parent 075eeb4 commit 4249537

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

DktApi/ClassworkSolutionAttachmentPost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ public class ClassworkSolutionAttachment
99
[JsonPropertyName("teljesFajlNev")]
1010
public string? fileName { get; set; }
1111
[JsonPropertyName("meretInBytes")]
12-
public string? sizeInBytes { get; set; }
12+
public long? sizeInBytes { get; set; }
1313
}
1414
}

EAdminApi/CurrentInstitutionDetails.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class CurrentInstitutionDetails
2626
public string? name { get; set; }
2727
[JsonPropertyName("ertesitesiEmailCim")]
2828
public string? notificationEmailAddress { get; set; }
29-
[JsonPropertyName("intezmenyCim")]
29+
[JsonPropertyName("omAzonosito")]
3030
public string? omId { get; set; }
3131
}
3232
}

MobileApi/Guardian4T.cs

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,23 @@ namespace TTMC.Kréta
44
{
55
public class Guardian4T
66
{
7-
[JsonPropertyName("EmailCim")]
8-
public string? email { get; set; }
9-
[JsonPropertyName("IsTorvenyesKepviselo")]
10-
public bool? isLegalRepresentative { get; set; }
11-
[JsonPropertyName("Nev")]
12-
public string? name { get; set; }
13-
[JsonPropertyName("Telefonszam")]
14-
public string? phoneNumber { get; set; }
15-
[JsonPropertyName("Uid")]
16-
public string? uid { get; set; }
7+
[JsonPropertyName("SzuletesiDatum")]
8+
public string? dateOfBirthAsString { get; set; }
9+
[JsonPropertyName("Utonev")]
10+
public string? firstname { get; set; }
11+
[JsonPropertyName("SzuletesiUtonev")]
12+
public string? firstnameOfBirth { get; set; }
13+
[JsonPropertyName("AnyjaUtonev")]
14+
public string? mothersFirstname { get; set; }
15+
[JsonPropertyName("AnyjaVezeteknev")]
16+
public string? mothersSurname { get; set; }
17+
[JsonPropertyName("Elotag")]
18+
public string? namePrefix { get; set; }
19+
[JsonPropertyName("SzuletesiHely")]
20+
public string? placeOfBirth { get; set; }
21+
[JsonPropertyName("Vezeteknev")]
22+
public string? surname { get; set; }
23+
[JsonPropertyName("SzuletesiVezeteknev")]
24+
public string? surnameOfBirth { get; set; }
1725
}
1826
}

0 commit comments

Comments
 (0)