Bridge

<back to all web services

GetEntityContact

Entity Contacts
The following routes are available for this service:
GET/Entity-Contacts/Contact
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetEntityContact
    {
        
    }

    public static class EntityContactViewModel
    {
        public Integer Id = null;
        public UUID Guid = null;
        public Integer EntityId = null;
        public String FirstName = null;
        public String LastName = null;
        public String Initials = null;
        public String Password = null;
        public String EmailAddress = null;
        public Boolean DarkMode = null;
        public EntityViewModel Entity = null;
        public Date LastActive = null;
        public UUID ImageGuid = null;
        public Integer DialingCodeCountryId = null;
        public String TelephoneNumber = null;
        public Boolean IsBridgeClient = null;
        public ArrayList<GetAllAccessLevelsForEntityContactIdViewModel> AccessLevels = null;
        
        public Integer getId() { return Id; }
        public EntityContactViewModel setId(Integer value) { this.Id = value; return this; }
        public UUID getGuid() { return Guid; }
        public EntityContactViewModel setGuid(UUID value) { this.Guid = value; return this; }
        public Integer getEntityId() { return EntityId; }
        public EntityContactViewModel setEntityId(Integer value) { this.EntityId = value; return this; }
        public String getFirstName() { return FirstName; }
        public EntityContactViewModel setFirstName(String value) { this.FirstName = value; return this; }
        public String getLastName() { return LastName; }
        public EntityContactViewModel setLastName(String value) { this.LastName = value; return this; }
        public String getInitials() { return Initials; }
        public EntityContactViewModel setInitials(String value) { this.Initials = value; return this; }
        public String getPassword() { return Password; }
        public EntityContactViewModel setPassword(String value) { this.Password = value; return this; }
        public String getEmailAddress() { return EmailAddress; }
        public EntityContactViewModel setEmailAddress(String value) { this.EmailAddress = value; return this; }
        public Boolean isDarkMode() { return DarkMode; }
        public EntityContactViewModel setDarkMode(Boolean value) { this.DarkMode = value; return this; }
        public EntityViewModel getEntity() { return Entity; }
        public EntityContactViewModel setEntity(EntityViewModel value) { this.Entity = value; return this; }
        public Date getLastActive() { return LastActive; }
        public EntityContactViewModel setLastActive(Date value) { this.LastActive = value; return this; }
        public UUID getImageGuid() { return ImageGuid; }
        public EntityContactViewModel setImageGuid(UUID value) { this.ImageGuid = value; return this; }
        public Integer getDialingCodeCountryId() { return DialingCodeCountryId; }
        public EntityContactViewModel setDialingCodeCountryId(Integer value) { this.DialingCodeCountryId = value; return this; }
        public String getTelephoneNumber() { return TelephoneNumber; }
        public EntityContactViewModel setTelephoneNumber(String value) { this.TelephoneNumber = value; return this; }
        public Boolean getIsBridgeClient() { return IsBridgeClient; }
        public EntityContactViewModel setIsBridgeClient(Boolean value) { this.IsBridgeClient = value; return this; }
        public ArrayList<GetAllAccessLevelsForEntityContactIdViewModel> getAccessLevels() { return AccessLevels; }
        public EntityContactViewModel setAccessLevels(ArrayList<GetAllAccessLevelsForEntityContactIdViewModel> value) { this.AccessLevels = value; return this; }
    }

    public static class EntityViewModel
    {
        public Integer Id = null;
        public UUID Guid = null;
        public String Type = null;
        public String Name = null;
        public Boolean SuperTrader = null;
        public String CompanyDomain = null;
        public Integer KYCStartedBy = null;
        public Integer KYCCompletedBy = null;
        public String ETSMOHAAccount = null;
        
        public Integer getId() { return Id; }
        public EntityViewModel setId(Integer value) { this.Id = value; return this; }
        public UUID getGuid() { return Guid; }
        public EntityViewModel setGuid(UUID value) { this.Guid = value; return this; }
        public String getType() { return Type; }
        public EntityViewModel setType(String value) { this.Type = value; return this; }
        public String getName() { return Name; }
        public EntityViewModel setName(String value) { this.Name = value; return this; }
        public Boolean isSuperTrader() { return SuperTrader; }
        public EntityViewModel setSuperTrader(Boolean value) { this.SuperTrader = value; return this; }
        public String getCompanyDomain() { return CompanyDomain; }
        public EntityViewModel setCompanyDomain(String value) { this.CompanyDomain = value; return this; }
        public Integer getKycStartedBy() { return KYCStartedBy; }
        public EntityViewModel setKycStartedBy(Integer value) { this.KYCStartedBy = value; return this; }
        public Integer getKycCompletedBy() { return KYCCompletedBy; }
        public EntityViewModel setKycCompletedBy(Integer value) { this.KYCCompletedBy = value; return this; }
        public String getEtsmohaAccount() { return ETSMOHAAccount; }
        public EntityViewModel setEtsmohaAccount(String value) { this.ETSMOHAAccount = value; return this; }
    }

    public static class GetAllAccessLevelsForEntityContactIdViewModel
    {
        public Integer Id = null;
        public Boolean Allowed = null;
        public String Name = null;
        public String Description = null;
        public String PrettyText = null;
        
        public Integer getId() { return Id; }
        public GetAllAccessLevelsForEntityContactIdViewModel setId(Integer value) { this.Id = value; return this; }
        public Boolean isAllowed() { return Allowed; }
        public GetAllAccessLevelsForEntityContactIdViewModel setAllowed(Boolean value) { this.Allowed = value; return this; }
        public String getName() { return Name; }
        public GetAllAccessLevelsForEntityContactIdViewModel setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public GetAllAccessLevelsForEntityContactIdViewModel setDescription(String value) { this.Description = value; return this; }
        public String getPrettyText() { return PrettyText; }
        public GetAllAccessLevelsForEntityContactIdViewModel setPrettyText(String value) { this.PrettyText = value; return this; }
    }

}

Java GetEntityContact DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Entity-Contacts/Contact HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Id: 0,
	Guid: 00000000000000000000000000000000,
	EntityId: 0,
	FirstName: String,
	LastName: String,
	Initials: String,
	Password: String,
	EmailAddress: String,
	DarkMode: False,
	Entity: 
	{
		Id: 0,
		Guid: 00000000000000000000000000000000,
		Type: String,
		Name: String,
		SuperTrader: False,
		CompanyDomain: String,
		KYCStartedBy: 0,
		KYCCompletedBy: 0,
		ETSMOHAAccount: String
	},
	LastActive: 0001-01-01,
	ImageGuid: 00000000000000000000000000000000,
	DialingCodeCountryId: 0,
	TelephoneNumber: String,
	IsBridgeClient: False,
	AccessLevels: 
	[
		{
			Id: 0,
			Allowed: False,
			Name: String,
			Description: String,
			PrettyText: String
		}
	]
}