public static string GetAllContainersAsJson(this IRecordsManagerClient rmClient, int page, int pageSize)
 {
     return(rmClient.Get(GET_CONTAINERS_ALL.FormatResourceUrl(page, pageSize)));
 }
 public static IClientPagedItems <Container> GetAllContainers(this IRecordsManagerClient rmClient, int page, int pageSize)
 {
     return(rmClient.Get <ClientPagedItems <Container> >(GET_CONTAINERS_ALL.FormatResourceUrl(page, pageSize)));
 }
 public static Container GetContainer(this IRecordsManagerClient rmClient, Guid id)
 {
     return(rmClient.Get <Container>(GET_CONTAINER_WITH_ID.FormatResourceUrl(id)));
 }
 public static IEnumerable <AssetCustomMetadata> GetAssetCustomMetadata(this IRecordsManagerClient rmClient, Guid id)
 {
     return(rmClient.Get <IEnumerable <AssetCustomMetadata> >(GET_ASSETCUSTOMMETADATA.FormatResourceUrl(id)));
 }
 public static IClientPagedItems <ProcessorItem> GetProcessingItems(this IRecordsManagerClient rmClient, int page, int pageSize)
 {
     return(rmClient.Get <ClientPagedItems <ProcessorItem> >(GET_PROCESSINGITEMSDATA.FormatResourceUrl(page, pageSize)));
 }
 public static IClientPagedItems <CustomMetadata> GetCustomMetadata(this IRecordsManagerClient rmClient, int page, int pageSize)
 {
     return(rmClient.Get <ClientPagedItems <CustomMetadata> >(GET_CUSTOMMETADATA.FormatResourceUrl(page, pageSize)));
 }
 public static IEnumerable <ContainerCustomMetadata> GetContainerCustomMetadata(this IRecordsManagerClient rmClient, Guid id)
 {
     return(rmClient.Get <IEnumerable <ContainerCustomMetadata> >(GET_CONTAINERCUSTOMMETADATA.FormatResourceUrl(id)));
 }
 public static BarcodeScheme GetBarcodeScheme(this IRecordsManagerClient rmClient, long id)
 {
     return(rmClient.Get <BarcodeScheme>(GET_BARCODES_WITH_ID.FormatResourceUrl(id)));
 }
 public static DateTime GetLocationsLastEdit(this IRecordsManagerClient rmClient)
 {
     return(rmClient.Get <DateTime>(GET_LOCATIONS_LASTEDIT.FormatResourceUrl()));
 }
 public static IClientPagedItems <BarcodeScheme> SearchBarcodeSchemes(this IRecordsManagerClient rmClient, string title, int page, int pageSize)
 {
     return(rmClient.Get <ClientPagedItems <BarcodeScheme> >(GET_BARCODES_WITH_TITLE.FormatResourceUrl(title, page, pageSize)));
 }
 public static IClientPagedItems <BarcodeScheme> GetBarcodeSchemes(this IRecordsManagerClient rmClient, int page, int pageSize)
 {
     return(rmClient.Get <ClientPagedItems <BarcodeScheme> >(GET_BARCODES_ALL.FormatResourceUrl(page, pageSize)));
 }
 public static DateTime GetBarcodeSchemesLastEdit(this IRecordsManagerClient rmClient)
 {
     return(rmClient.Get <DateTime>(GET_BARCODES_LASTEDIT.FormatResourceUrl()));
 }
 public static string GenerateBarcode(this IRecordsManagerClient rmClient, long barcodeSchemeId)
 {
     return(rmClient.Get <string>(GET_BARCODES_GENERATE.FormatResourceUrl(barcodeSchemeId)));
 }
 public static Asset GetAsset(this IRecordsManagerClient rmClient, string barcode)
 {
     return(rmClient.Get <Asset>(GET_ASSET_WITH_BARCODE.FormatResourceUrl(barcode)));
 }
 public static IClientPagedItems <Asset> GetAllChargeRequestAssets(this IRecordsManagerClient rmClient, long parentId)
 {
     return(rmClient.Get <ClientPagedItems <Asset> >(GET_CHARGEREQUEST_ASSETS_ALL.FormatResourceUrl(parentId)));
 }
 public static IClientPagedItems <Location> GetLocations(this IRecordsManagerClient rmClient, int page, int pageSize)
 {
     return(rmClient.Get <ClientPagedItems <Location> >(GET_LOCATIONS_ALL.FormatResourceUrl(page, pageSize)));
 }
 public static DateTime GetCustomMetadataLastEdit(this IRecordsManagerClient rmClient)
 {
     return(rmClient.Get <DateTime>(GET_CUSTOMMETADATA_LASTEDIT.FormatResourceUrl()));
 }
 public static IClientPagedItems <Location> GetLocationsByParentId(this IRecordsManagerClient rmClient, int page, int pageSize, long?parentId = null)
 {
     return(rmClient.Get <ClientPagedItems <Location> >(GET_LOCATIONS_BY_PARENT_ID.FormatResourceUrl(page, pageSize, parentId)));
 }
 public static CustomMetadata GetCustomMetadata(this IRecordsManagerClient rmClient, long id)
 {
     return(rmClient.Get <CustomMetadata>(GET_CUSTOMMETADATA_WITH_ID.FormatResourceUrl(id)));
 }
 public static IClientPagedItems <Location> SearchLocations(this IRecordsManagerClient rmClient, string title, int page, int pageSize)
 {
     return(rmClient.Get <ClientPagedItems <Location> >(GET_LOCATIONS_WITH_TITLE.FormatResourceUrl(title, page, pageSize)));
 }
 public static DateTime GetContainerLastEdit(this IRecordsManagerClient rmClient)
 {
     return(rmClient.Get <DateTime>(GET_CONTAINERS_LASTEDIT.FormatResourceUrl()));
 }
 public static Location GetLocation(this IRecordsManagerClient rmClient, long id)
 {
     return(rmClient.Get <Location>(GET_LOCATIONS_WITH_ID.FormatResourceUrl(id)));
 }
 public static ProcessorItem GetProcessingItem(this IRecordsManagerClient rmClient, long id)
 {
     return(rmClient.Get <ProcessorItem>(GET_PROCESSINGITEMDATA.FormatResourceUrl(id)));
 }
 public static IClientPagedItems <ChargeInRequest> GetChargeInRequests(this IRecordsManagerClient rmClient, int page, int pageSize)
 {
     return(rmClient.Get <ClientPagedItems <ChargeInRequest> >(GET_CHARGEINREQUESTS.FormatResourceUrl(page, pageSize)));
 }
 public static IClientPagedItems <Container> SearchContainers(this IRecordsManagerClient rmClient, string title, int page, int pageSize)
 {
     return(rmClient.Get <ClientPagedItems <Container> >(GET_CONTAINERS_CONTAINING_TITLE.FormatResourceUrl(title, page, pageSize)));
 }
 public static IClientPagedItems <ChargeInRequest> GetAllChargeInRequests(this IRecordsManagerClient rmClient)
 {
     return(rmClient.Get <ClientPagedItems <ChargeInRequest> >(GET_CHARGEINREQUESTS_ALL));
 }
 public static IClientPagedItems <Container> GetContainers(this IRecordsManagerClient rmClient, int page, int pageSize, Guid?parentId = null)
 {
     return(rmClient.Get <ClientPagedItems <Container> >(GET_CONTAINERS.FormatResourceUrl(page, pageSize, (parentId.HasValue) ? parentId.Value.ToString() : string.Empty)));
 }
 public static ChargeInRequest GetChargeInRequest(this IRecordsManagerClient rmClient, long chargeInRequestId)
 {
     return(rmClient.Get <ChargeInRequest>(GET_CHARGEINREQUEST.FormatResourceUrl(chargeInRequestId)));
 }
 public static Container GetContainer(this IRecordsManagerClient rmClient, string barcode)
 {
     return(rmClient.Get <Container>(GET_CONTAINER_WITH_BARCODE.FormatResourceUrl(barcode)));
 }
 public static Asset GetAsset(this IRecordsManagerClient rmClient, Guid id)
 {
     return(rmClient.Get <Asset>(GET_ASSET_WITH_ID.FormatResourceUrl(id)));
 }