17.2 Area Service Data
JAVA
public class TrSvcAreaInfo
{
public TrSvcRecordInfo RecordInfo;
public TrSvcAreaEnrollmentType AreaEnrollmentType; // Create, Update
public string AreaEnrollmentTypeDisplay;
public TrSvcAreaStatus AreaStatus;
public string AreaStatusDisplay;
public string RepositoryUrl;
public string OptiPaaSSiteUrl; // Create
public string CoreJobAgentCode;
public string DataJobAgentCode;
public bool IsSharedArea;
public bool IsDefaultArea;
public string AreaName; // Create, Update
public string AreaCode;
public string CompanyName; // Create, Update
public int AreaContactTrSvcUserId; // Update Only
public string AreaContactFullName;
public string AreaContactEmail;
public string AreaContactPhone;
public int EvalDaysLeft;
public DateTime? AreaDateDisabled;
public int AreaUserCount;
public int AreaOrganizationCount;
public int AreaTransportCount;
public DateTime? AreaDateLastFile;
public TrSvcAreaInfo()
{
RecordInfo = new TrSvcRecordInfo();
}
}
JAVA
public class TrSvcAreaApiAccessInfo
{
public string AreaCode;
public string AreaApiSecretKey;
public TrSvcAreaApiAccessInfo()
{
}
}
Area list can be retrieved by search filter and pagination.
Max page size is 100 records.
JAVA
public class TrSvcAreaListInfo
{
public List<TrSvcAreaInfo> Areas;
public TrSvcAreaListInfo()
{
Areas = new List<TrSvcAreaInfo>();
}
}
Total area count can be retrieved for a given search filter.
JAVA
public class TrSvcAreaSearchInfo
{
public string OptiPaaSSiteUrl;
public bool IsSharedArea;
public string AreaName;
public string CompanyOrUserName;
public string AreaCode;
public string AreaContactFullName;
public DateTime? DateCreatedStart;
public DateTime? DateCreatedEnd;
public TrSvcAreaEnrollmentType AreaEnrollmentType;
public TrSvcAreaStatus AreaStatus;
}
Organization Search and pagination.
Max page size is 100 records.
JAVA
public class TrSvcAreaSearchPaginationInfo
{
public int PageNumber;
public int PageSize;
public TrSvcAreaSearchInfo Search;
public TrSvcAreaSearchPaginationInfo()
{
Search = new TrSvcAreaSearchInfo();
}
}