public static Asset CreateAsset(this IRecordsManagerClient rmClient, Asset asset) { return(rmClient.Post <IEnumerable <Asset> >(POST_ASSET.FormatResourceUrl(), new List <Asset>() { asset }).First()); }
public static Container CreateContainer(this IRecordsManagerClient rmClient, Container container) { return(rmClient.Post <Container>(POST_CONTAINER.FormatResourceUrl(), container)); }
public static AssetCustomMetadata CreateAssetCustomMetadata(this IRecordsManagerClient rmClient, AssetCustomMetadata assetCustomMetadata) { return(rmClient.Post <AssetCustomMetadata>(POST_ASSETCUSTOMMETADATA.FormatResourceUrl(), assetCustomMetadata)); }
public static ContainerCustomMetadata CreateContainerCustomMetadata(this IRecordsManagerClient rmClient, ContainerCustomMetadata containerCustomMetadata) { return(rmClient.Post <ContainerCustomMetadata>(POST_CONTAINERCUSTOMMETADATA.FormatResourceUrl(), containerCustomMetadata)); }
public static CustomMetadata CreateCustomMetadata(this IRecordsManagerClient rmClient, CustomMetadata customMetadata) { return(rmClient.Post <CustomMetadata>(POST_CUSTOMMETADATA.FormatResourceUrl(), customMetadata)); }
public static ChargeInRequest CreateChargeInRequest(this IRecordsManagerClient rmClient, ChargeInRequest chargeInRequest) { return(rmClient.Post <ChargeInRequest>(POST_CHARGEINREQUEST, chargeInRequest)); }
public static Location CreateLocation(this IRecordsManagerClient rmClient, Location location) { return(rmClient.Post <Location>(POST_LOCATION.FormatResourceUrl(), location)); }
public static BarcodeScheme CreateBarcodeScheme(this IRecordsManagerClient rmClient, BarcodeScheme scheme) { return(rmClient.Post <BarcodeScheme>(POST_BARCODE.FormatResourceUrl(), scheme)); }
public static IEnumerable <Asset> CreateAssets(this IRecordsManagerClient rmClient, IEnumerable <Asset> assets) { return(rmClient.Post <IEnumerable <Asset> >(POST_ASSET.FormatResourceUrl(), assets)); }