Skip to content

Instantly share code, notes, and snippets.

@davidgabrichidze
Created March 27, 2018 12:07
Show Gist options
  • Save davidgabrichidze/4387c855b10582ffea9dcba5b51c403c to your computer and use it in GitHub Desktop.
Save davidgabrichidze/4387c855b10582ffea9dcba5b51c403c to your computer and use it in GitHub Desktop.
Request
public class SaveApplicationRequest
{
[XmlElement("MunicipalityID")]
public int MunicipalityId { get; set; }
[XmlElement("ServiceID")]
public int ServiceId { get; set; }
[XmlElement("PrivateNo")]
public string PrivateNumber { get; set; }
[XmlElement("DocSerial")]
public string DocumentSerial { get; set; }
[XmlElement("DocNumber")]
public string DocumentNumber { get; set; }
public int BirthYear { get; set; }
public string ActualAddress { get; set; }
public ContactInfo ContactInfo { get; set; }
public List<Attachment> Attachments { get; set; }
public string Text { get; set; }
}
public class ContactInfo
{
public string Phone1 { get; set; }
public string Phone2 { get; set; }
public string Mobile { get; set; }
public string Email { get; set; }
}
public class Attachment
{
public int AttachmentTypeID { get; set; }
public string Description { get; set; }
public string IssuedBy { get; set; }
public string IssueDate { get; set; }
public string Author { get; set; }
public string UploadDate { get; set; }
public string FileName { get; set; }
public string ContentType { get; set; }
public string FileData { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment