5.2 Organization Service Data
(To get to the class text below, double click inside the box)
JAVA
public class TrSvcOrganizationInfo
{
public TrSvcRecordInfo RecordInfo;
public TrSvcOrganizationType OrganizationType; // Create, Update
public string OrganizationTypeDisplay;
public TrSvcOrganizationStatus OrganizationStatus;
public string OrganizationStatusDisplay;
public string OrganizationName; // Create, Update
public string OrganizationCode; // Org Code is not updatable but One of Org Code
// External code is required to identify the Org
public string OrganizationExternalCode; // Create, Update
public string ContactName; // Create, Update
public string ContactEmail; // Create, Update
public string TransportClientPullSourceOrgSubFolderName; // Update
public string OrganizationSinceMMYYYY; // Create, Update
public string DelimitedTransports;
public bool IsOrganizationPendingAlerts;
public TrSvcOrganizationInfo()
{
RecordInfo = new TrSvcRecordInfo();
}
}
JAVA
public class TrSvcOrganizationReferenceInfo
{
public string OrganizationName;
public string OrganizationCode;
public string OrganizationExternalCode;
public TrSvcOrganizationType OrganizationType;
public string OrganizationTypeDisplay;
}
Organization list can be retrieved by search filter and pagination.
Max page size is 100 records.
JAVA
public class TrSvcOrganizationListInfo
{
public List<TrSvcOrganizationInfo> Organizations;
public TrSvcOrganizationListInfo()
{
Organizations = new List<TrSvcOrganizationInfo>();
}
}
Total organization count can be retrieved for a given search filter
JAVA
public class TrSvcOrganizationSearchInfo
{
public TrSvcOrganizationType OrganizationType;
public TrSvcOrganizationStatus OrganizationStatus;
public string OrganizationName;
public string OrganizationCode;
public string OrganizationExternalCode;
public string TransportCode;
public DateTime? DateCreatedStart;
public DateTime? DateCreatedEnd;
}
Organization Search and pagination.
Max page size is 100 records.
JAVA
public class TrSvcOrganizationSearchPaginationInfo
{
public int PageNumber;
public int PageSize;
public TrSvcOrganizationSearchInfo Search;
public TrSvcOrganizationSearchPaginationInfo()
{
Search = new TrSvcOrganizationSearchInfo();
}
}