AlbaApi

<back to all web services

EmpIdGetSiteContextModel

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

public class dtos
{

    public static class EmpIdGetSiteContextModel
    {
        public String empId = null;
        
        public String getEmpId() { return empId; }
        public EmpIdGetSiteContextModel setEmpId(String value) { this.empId = value; return this; }
    }

    public static class SiteContextResponseModel
    {
        public Boolean cprNumberNeeded = null;
        public String tokenId = null;
        public String displayName = null;
        public SiteContextMemberModel member = null;
        
        public Boolean isCprNumberNeeded() { return cprNumberNeeded; }
        public SiteContextResponseModel setCprNumberNeeded(Boolean value) { this.cprNumberNeeded = value; return this; }
        public String getTokenId() { return tokenId; }
        public SiteContextResponseModel setTokenId(String value) { this.tokenId = value; return this; }
        public String getDisplayName() { return displayName; }
        public SiteContextResponseModel setDisplayName(String value) { this.displayName = value; return this; }
        public SiteContextMemberModel getMember() { return member; }
        public SiteContextResponseModel setMember(SiteContextMemberModel value) { this.member = value; return this; }
    }

    public static class SiteContextMemberModel
    {
        public String email = null;
        public String firstName = null;
        public String lastName = null;
        public String mapEmail = null;
        public UUID employeeGuid = null;
        
        public String getEmail() { return email; }
        public SiteContextMemberModel setEmail(String value) { this.email = value; return this; }
        public String getFirstName() { return firstName; }
        public SiteContextMemberModel setFirstName(String value) { this.firstName = value; return this; }
        public String getLastName() { return lastName; }
        public SiteContextMemberModel setLastName(String value) { this.lastName = value; return this; }
        public String getMapEmail() { return mapEmail; }
        public SiteContextMemberModel setMapEmail(String value) { this.mapEmail = value; return this; }
        public UUID getEmployeeGuid() { return employeeGuid; }
        public SiteContextMemberModel setEmployeeGuid(UUID value) { this.employeeGuid = value; return this; }
    }

}

Java EmpIdGetSiteContextModel DTOs

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

HTTP + XML

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

GET /empidsitecontext HTTP/1.1 
Host: hcbtas-q-albamfs-api.azurewebsites.net 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SiteContextResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlbaApi.Model">
  <CprNumberNeeded>false</CprNumberNeeded>
  <DisplayName>String</DisplayName>
  <Member>
    <Email>String</Email>
    <EmployeeGuid>00000000-0000-0000-0000-000000000000</EmployeeGuid>
    <FirstName>String</FirstName>
    <LastName>String</LastName>
  </Member>
  <TokenId>String</TokenId>
</SiteContextResponseModel>