Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ publish/
*.nupkg
!**/packages/build/
packages/
#.nuget/NuGet.exe
.nuget/

# Windows Azure Build Output
csx
Expand Down
3 changes: 3 additions & 0 deletions src/CompaniesHouse/Response/Officers/Officer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ public class Officer

[JsonProperty(PropertyName = "links")]
public OfficerLinks Links { get; set; }

[JsonProperty(PropertyName = "person_number")]
public string PersonNumber { get; set; }
}
}
2 changes: 2 additions & 0 deletions tests/CompaniesHouse.Tests/ResourceBuilders/Officer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ public class Officer
public OfficerIdentification Identification { get; set; }

public OfficerLinks Links { get; set; }

public string PersonNumber { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public static string CreateSingle(Officer officer)
""legal_form"": ""{officer.Identification.LegalForm}"",
""place_registered"": ""{officer.Identification.PlaceRegistered}"",
""registration_number"": ""{officer.Identification.RegistrationNumber}""
}}
}},
""person_number"" : ""{officer.PersonNumber}""
}}";
}

Expand Down
Loading