com.bimface.sdk.interfaces.DataInteface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bimface-java-sdk Show documentation
Show all versions of bimface-java-sdk Show documentation
Bimface provide the required call java sdk.
The newest version!
package com.bimface.sdk.interfaces;
import com.bimface.data.bean.*;
import com.bimface.data.bean.response.EssentialPipingElementResponseBean;
import com.bimface.data.bean.response.EssentialSystemResponseBean;
import com.bimface.data.enums.ToleranceType;
import com.bimface.piping.bean.EssentialPipingPathBean;
import com.bimface.piping.bean.request.EssentialPipingElementTypeAndFilterRequest;
import com.bimface.piping.bean.request.EssentialPipingElementTypeAndFiltersRequest;
import com.glodon.paas.foundation.restclient.RESTResponse;
import okhttp3.ResponseBody;
import org.jetbrains.annotations.Nullable;
import retrofit2.Call;
import retrofit2.http.*;
import javax.validation.constraints.Null;
import java.util.List;
import java.util.Map;
public interface DataInteface {
@POST("v2/databag/resources ")
Call>> getFileDatabagResource(@Query("fileId") Long fileId,
@Query("integrateId") Long integrateId,
@Query("compareId") Long compareId,
@Body DatabagResourceRequest databagResourceRequest,
@Header("Authorization") String accessToken);
@GET("element/property")
Call> getSingleModelElementProperty(@Query("fileId") Long fileId, @Query("elementId") String elementId,
@Header("Authorization") String accessToken);
@GET("integration/element/property")
Call> getIntegrateModelProperty(@Query("integrateId") Long integrateId, @Query("fileId") Long fileId,
@Query("elementId") String elementId, @Header("Authorization") String accessToken);
@GET("databag/downloadUrl")
Call> getDatabagDownloadUrl(@Query("fileId") Long fileId, @Query("integrateId") Long integrateId,
@Query("compareId") Long compareId, @Query("type") String type,
@Query("databagVersion") String databagVersion, @Header("Authorization") String accessToken);
@GET("databag/length")
Call> getDataBagSize(@Query("fileId") Long fileId, @Header("Authorization") String accessToken);
@GET("element/id")
Call>> getSingleModelElements(@Query("fileId") Long fileId, @Query("specialty") String specialty,
@Query("floor") String floor, @Query("categoryId") String categoryId,
@Query("family") String family, @Query("familyType") String familyType,
@Header("Authorization") String accessToken);
@GET("integration/element")
Call> getIntegrateModelElements(@Query("integrateId") Long integrateId, @Query("specialty") String specialty,
@Query("floor") String floor, @Query("categoryId") String categoryId,
@Query("family") String family, @Query("familyType") String familyType,
@Query("systemType") String systemType, @Header("Authorization") String accessToken);
@GET("integration/tree")
Call> getIntegrateTree(@Query("integrateId") Long integrateId, @Query("treeType") Integer treeType,
@Header("Authorization") String accessToken);
@GET("compare")
Call>> getModelCompareResult(@Query("compareId") Long compareId, @Header("Authorization") String accessToken);
@GET("compare/element")
Call> getModelCompareChange(@Query("compareId") Long compareId, @Query("previousFileId") Long previousFileId,
@Query("previousElementId") String previousElementId, @Query("followingFileId") Long followingFileId,
@Query("followingElementId") String followingElementId, @Header("Authorization") String accessToken);
@GET("hierarchy")
Call> getSingleModelTree(@Query("fileId") Long fileId, @Query("v") String version, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/elementIds")
Call>> getSingleModelElementIds(@Path("fileId") Long fileId, @QueryMap Map queryElementIdsParams,
@Header("Authorization") String accessToken);
@GET("v2/files/{fileIds}/fileIdfloorsMappings")
Call>>> getSingleModelFileIdFloorsMapping(@Path("fileIds") String fileIds, @Query("includeArea") Boolean includeArea,
@Query("includeRoom") Boolean includeRoom, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/floors")
Call>> getSingleModelFloors(@Path("fileId") Long fileId, @Query("includeArea") Boolean includeArea,
@Query("includeRoom") Boolean includeRoom, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/elements/{elementId}")
Call> getSingleModelElement(@Path("fileId") Long fileId, @Path("elementId") String elementId,
@Query("includeOverrides") Boolean includeOverrides,
@Header("Authorization") String accessToken);
@POST("v2/files/{fileId}/elements")
Call>> getSingleModelElements(@Path("fileId") Long fileId,
@Query("includeOverrides") Boolean includeOverrides,
@Body ElementPropertyFilterRequest elementPropertyFilterRequest,
@Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/commonElementProperties")
Call> getSingleModelElementProperty(@Path("fileId") Long fileId, @Query("elementIds") List elementIds,
@Query("includeOverrides") Boolean includeOverrides, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/elements/{elementId}/materials")
Call>> getSingleModelElementMaterials(@Path("fileId") Long fileId, @Query("elementId") String elementId,
@Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/views")
Call>> getSingleModelViews(@Path("fileId") Long fileId, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/rooms")
Call>> getSingleModelRooms(@Path("fileId") Long fileId,
@Query("floorId") String floorId,
@Query("elementId") String elementId,
@Query("roomToleranceZ") ToleranceType roomToleranceZ,
@Query("roomToleranceXY") ToleranceType roomToleranceXY,
@Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/rooms/{roomId}")
Call> getSingleModelRoom(@Path("fileId") Long fileId, @Path("roomId") String roomId,
@Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/areas")
Call>> getSingleModelAreas(@Path("fileId") Long fileId, @Query("floorId") String floorId,
@Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/areas/{areaId}")
Call> getSingleModelArea(@Path("fileId") Long fileId, @Path("areaId") String areaId,
@Header("Authorization") String accessToken);
@POST("v2/files/{fileId}/tree")
Call> getSingleModelTreeV2(@Path("fileId") Long fileId, @Query("v") String version,
@Query("treeType") String treeType, @Body FileTreeRequestBody request,
@Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/tree")
Call> getSingleModelTreeV2(@Path("fileId") Long fileId, @Query("v") String version,
@Query("treeType") String treeType, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/links")
Call>> getSingleModelLinks(@Path("fileId") Long fileId, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/drawingsheets")
Call>> getSingleModelDrawingSheets(@Path("fileId") Long fileId,
@Query("elementId") String elementId,
@Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/modelInfo")
Call getSingleModelModelInfo(@Path("fileId") Long fileId, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/elements/{elementId}/childElementIds")
Call>> getSingleModelChildElementIds(@Path("fileId") Long fileId, @Path("elementId") String elementId, @Header("Authorization") String accessToken);
@PUT("v2/files/{fileId}/elements/{elementId}/properties")
Call> updateSingleModelElementProperties(@Path("fileId") Long fileId, @Path("elementId") String elementId,
@Body List propertyGroups, @Header("Authorization") String accessToken);
@HTTP(method = "DELETE", path = "v2/files/{fileId}/elements/{elementId}/properties", hasBody = true)
Call> deleteSingleModelElementProperties(@Path("fileId") Long fileId,
@Path("elementId") String elementId,
@Body List propertyGroups,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/elementIds")
Call> getIntegrateModelElementIds(@Path("integrateId") Long integrateId, @QueryMap Map queryElementIdsParams, @Header("Authorization") String accessToken);
@PUT("v2/integrations/{integrateId}/files/{fileIdHash}/elements/{elementId}/properties")
Call> updateIntegrateModelElementProperties(@Path("integrateId") Long integrateId, @Path("fileIdHash") String fileIdHash,
@Path("elementId") String elementId, @Body List propertyGroups,
@Header("Authorization") String accessToken);
@HTTP(method = "DELETE", path = "v2/integrations/{integrateId}/files/{fileIdHash}/elements/{elementId}/properties", hasBody = true)
Call> deleteIntegrateModelElementProperties(@Path("integrateId") Long integrateId, @Path("fileIdHash") String fileIdHash,
@Path("elementId") String elementId, @Body List propertyGroups,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/floors")
Call>> getIntegrateModelFloors(@Path("integrateId") Long integrateId,
@Query("includeArea") Boolean includeArea,
@Query("includeRoom") Boolean includeRoom,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/files/{fileIdHash}/elements/{elementId}")
Call> getIntegrateModelElement(@Path("integrateId") Long integrateId, @Path("fileIdHash") String fileIdHash,
@Path("elementId") String elementId, @Query("includeOverrides") Boolean includeOverrides,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/elements/{elementId}")
Call> getIntegrateModelElement(@Path("integrateId") Long integrateId, @Path("elementId") String elementId,
@Header("Authorization") String accessToken);
@POST("v2/integrations/{integrateId}/elements")
Call>> getIntegrateElementBatch(@Path("integrateId") Long integrateId,
@Query("includeOverrides") boolean includeOverrides,
@Body IntegrateElementPropertyFilterRequest filterRequest,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/files/{fileIdHash}/elements/{elementId}/materials")
Call>> getIntegrateModelElementMaterials(@Path("integrateId") Long integrateId, @Path("fileIdHash") String fileIdHash,
@Path("elementId") String elementId, @Header("Authorization") String accessToken);
@POST("v2/integrations/{integrateId}/tree")
Call> getIntegrateModelTree(@Path("integrateId") Long integrateId, @Query("treeType") String treeType,
@Query("desiredHierarchy") List desiredHierarchy, @Body IntegrationTreeOptionalRequestBody requestBody,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/tree")
Call> getIntegrateModelTree(@Path("integrateId") Long integrateId, @Query("treeType") String treeType,
@Query("desiredHierarchy") List desiredHierarchy, @Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/fileViews")
Call>> getIntegrateModelFileViews(@Path("integrateId") Long integrateId, @Query("viewType") String viewType,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/rooms")
Call>> getIntegrateModelRooms(@Path("integrateId") Long integrateId, @Query("floorId") String floorId, @Query("fileIdHash") String fileIdHash,
@Query("elementId") String elementId, @Query("roomToleranceZ") ToleranceType roomToleranceZ,
@Query("roomToleranceXY") ToleranceType roomToleranceXY, @Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/rooms/{roomId}")
Call> getIntegrateModelRoom(@Path("integrateId") Long integrateId, @Path("roomId") String roomId,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/areas")
Call>> getIntegrateModelAreas(@Path("integrateId") Long integrateId, @Query("floorId") String floorId,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/areas/{areaId}")
Call> getIntegrateModelArea(@Path("integrateId") Long integrateId, @Path("areaId") String areaId,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/files")
Call>> getIntegrateFiles(@Path("integrateId") Long integrateId, @Query("includeDrawingSheet") Boolean includeDrawingSheet,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/files/{fileId}/viewToken")
Call> getIntegrateModelViewToken(@Path("integrateId") Long integrateId, @Path("fileId") String fileId, @Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/segmentGroups")
Call>> getIntegrateModelSegmentGroups(@Path("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/segmentTree")
Call>> getIntegrateModelSegmentTree(@Path("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/segmentGroups/{segmentGroupId}/segments")
Call>> getIntegrateModelSegments(@Path("integrateId") Long integrateId, @Path("segmentGroupId") String segmentGroupId,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/segments/{segmentId}/elementIds")
Call>> getIntegrateModelSegmentElementIds(@Path("integrateId") Long integrateId, @Path("segmentId") String segmentId,
@Header("Authorization") String accessToken);
@POST("v2/integrations/{integrateId}/commonElementProperties")
Call> getIntegrateModelCommonElementProperties(@Path("integrateId") Long integrateId, @Body List fileIdHashWithElementIds,
@Query("includeOverrides") Boolean includeOverrides, @Header("Authorization") String accessToken);
@POST("v2/integrations/{integrateId}/commonElementProperties")
Call> getIntegrateModelCommonElementProperties(@Path("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@POST("v2/integrations/{integrateId}/associations")
Call> addAssociations(@Path("integrateId") String integrateId, @Query("fromIntegrationId") String fromIntegrationId,
@Query("fromBusinessType") String fromBusinessType, @Query("fromBusinessFlag") String fromBusinessFlag,
@Body BusinessAssociationRequest request, @Header("Authorization") String accessToken);
@POST("v2/integrations/{integrateId}/associations")
Call> addAssociations(@Path("integrateId") String integrateId, @Query("fromIntegrationId") String fromIntegrationId,
@Query("fromBusinessType") String fromBusinessType, @Query("fromBusinessFlag") String fromBusinessFlag,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/elements/{elementId}/associations")
Call>> getAssociationsByElementId(@Path("integrateId") String integrateId, @Path("elementId") String elementId,
@Query("businessType") String businessType, @Query("businessFlag") String businessFlag,
@Header("Authorization") String accessToken);
@GET("v2/integrations/{integrateId}/businessTypes/{businessType}/businesses/{businessId}/associations")
Call>> getAssociationsByBusinessId(@Path("integrateId") String integrateId, @Path("businessType") String businessType, @Path("businessId") String businessId,
@Header("Authorization") String accessToken);
@DELETE("v2/integrations/{integrateId}/elements/{elementId}/associations")
Call> deleteAssociationsByElementId(@Path("integrateId") String integrateId, @Path("elementId") String elementId,
@Query("businessType") String businessType, @Query("businessFlag") String businessFlag,
@Query("businessIds") List businessIds, @Header("Authorization") String accessToken);
@DELETE("v2/integrations/{integrateId}/businessTypes/{businessType}/businesses/{businessId}/associations")
Call> deleteAssociationsByBusinessId(@Path("integrateId") String integrateId, @Path("businessType") String businessType, @Path("businessId") String businessId,
@Header("Authorization") String accessToken);
@DELETE("v2/integrations/{integrateId}/associations/element")
Call> deleteAssociationsByElements(@Path("integrateId") String integrateId, @Query("businessType") String businessType, @Query("businessFlag") String businessFlag,
@Query("elementIds") List elementIds, @Header("Authorization") String accessToken);
@DELETE("v2/integrations/{integrateId}/associations/biz")
Call> deleteAssociationsByBizIds(@Path("integrateId") String integrateId, @Query("businessType") String businessType, @Query("businessFlag") String businessFlag,
@Query("businessIds") List businessIds, @Header("Authorization") String accessToken);
@GET("v2/comparisons/{comparisonId}/elementChange")
Call> getModelCompareElementChange(@Path("comparisonId") Long comparisonId, @Query("previousFileId") Long previousFileId,
@Query("previousElementId") String previousElementId, @Query("followingFileId") Long followingFileId,
@Query("followingElementId") String followingElementId, @Header("Authorization") String accessToken);
@GET("v2/comparisons/{comparisonId}/tree")
Call> getModelCompareTree(@Path("comparisonId") Long comparisonId, @Header("Authorization") String accessToken);
@GET("v2/comparisons/{comparisonId}/diff")
Call>> getModelCompareResult(@Path("comparisonId") Long comparisonId, @Query("family") String family,
@Query("elementName") String elementName, @Query("page") Integer page,
@Query("pageSize") Integer pageSize, @Header("Authorization") String accessToken);
@GET("v2/materialoverridesets/{id}")
Call> getMaterialOverrideSet(@Path("id") Long id, @Header("Authorization") String accessToken);
@GET("v2/rfaFiles/{rfaFileId}/propertyNames")
Call>> getRfaFamilyPropertyNames(@Path("rfaFileId") Long rfaFileId, @Header("Authorization") String accessToken);
@GET("v2/rfaFiles/{rfaFileId}/familyTypeMetas")
Call>> getRfaFamilyTypes(@Path("rfaFileId") Long rfaFileId, @Header("Authorization") String accessToken);
@GET("v2/rfaFiles/{rfaFileId}/familyTypes/{familyTypeGuid}")
Call> getRfaFamilyTypeProperty(@Path("rfaFileId") Long rfaFileId, @Path("familyTypeGuid") String familyTypeGuid,
@Header("Authorization") String accessToken);
@POST("v2/query/elementIds")
Call>> getElements(@Body String requestBody,
@Query("includeOverrides") Boolean includeOverrides,
@Header("Authorization") String accessToken);
@POST("v2/query/roomIds")
Call>> getRooms(@Body String requestBody, @Header("Authorization") String accessToken);
@POST("v2/query/areaIds")
Call>> getAreas(@Body String requestBody, @Header("Authorization") String accessToken);
@GET("v2/query/propertyValues")
Call>> getPropertyValues(@Query("targetIds") List targetIds, @Query("targetType") String targetType,
@Query("properties") List properties, @Query("includeOverrides") Boolean includeOverrides,
@Header("Authorization") String accessToken);
@GET("v2/query/paginationContextId")
Call> getPaginationContextId(@Header("Authorization") String accessToken);
@GET("v2/databag/thumbnail")
Call> getFileThumbnailUrl(@Query("fileId") Long fileId, @Query("size") Integer size, @Header("Authorization") String accessToken);
@GET("v2/databag/pdf")
Call> getDwgPdfUrl(@Query("dwgFileId") Long dwgFileId, @Header("Authorization") String accessToken);
@GET("v2/databag/previewImage")
Call> getDwgPreviewImageUrl(@Query("dwgFileId") Long dwgFileId, @Query("layoutName") String layoutName, @Header("Authorization") String accessToken);
@GET("v2/databag/rootUrl")
Call> getFileDatabagRootUrl(@Query("fileId") Long fileId, @Header("Authorization") String accessToken);
@GET("v2/databag/rootUrl")
Call> getIntegrateDatabagRootUrl(@Query("integrateId") Long integrateId, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/frames")
Call> getDrawingFrames(@Path("fileId") Long fileId, @Header("Authorization") String accessToken);
@GET("v2/files/{fileId}/MEPSystem")
Call>> getMEPSystem(@Path("fileId") Long fileId, @Query("systemCategory") String systemCategory,
@Query("systemType") String systemType, @Header("Authorization") String accessToken);
@POST("integrations/{integrateId}/elements/boundingboxes")
Call>> getBoundingBoxes(@Path("integrateId") Long integrateId, @Body List fileIdWithEleIdList,
@Header("Authorization") String accessToken);
@GET("v2/comparisons/{comparisonId}/drawingdiff")
Call>> pageGetDrawingCompareResult(@Path("comparisonId") Long comparisonId, @Query("layer") String layer,
@Query("page") Integer page, @Query("pageSize") Integer pageSize,
@Header("Authorization") String accessToken);
@GET("clashDetective/{clashDetectiveId}/result")
Call> getClashDetectiveResult(@Path("clashDetectiveId") Long clashDetectiveId, @Header("Authorization") String accessToken);
@GET("v1/pipe/files/{file-id}/systems")
Call>> getSystem(@Path("file-id") String fileId,
@Header("Authorization") String accessToken);
@GET("v1/pipe/integrations/{integrate-id}/systems")
Call>> getSystem(@Path("integrate-id") Long integrateId,
@Header("Authorization") String accessToken);
@POST("v1/pipe/files/{file-id}/elements/{element-id}/flow")
Call>> getRelatedNodes(@Path("file-id") String fileId,
@Path("element-id") String elementId,
@Body EssentialPipingElementTypeAndFiltersRequest request,
@Header("Authorization") String accessToken);
@POST("v1/pipe/integrations/{integrate-id}/files/{file-id-hash}/elements/{element-id}/flow")
Call>> getRelatedNodes(@Path("integrate-id") Long integrateId,
@Path("file-id-hash") String fileIdHash,
@Path("element-id") String elementId,
@Body EssentialPipingElementTypeAndFiltersRequest request,
@Header("Authorization") String accessToken);
@GET("v1/pipe/files/{file-id}/elements/paths")
Call>> getPaths(@Path("file-id") String fileId,
@Query("startElement") String startElementId,
@Query("endElement") String endElementId,
@Query("limit") Integer limit,
@Header("Authorization") String accessToken);
@GET("v1/pipe/integrations/{integrate-id}/files/{file-id-hash}/elements/paths")
Call>> getPaths(@Path("integrate-id") Long integrateId,
@Path("file-id-hash") String fileIdHash,
@Query("startElement") String startElementId,
@Query("endElement") String endElementId,
@Query("limit") Integer limit,
@Header("Authorization") String accessToken);
@POST("v1/pipe/files/{file-id}/elements/{element-id}/neighbors")
Call>> getNeighbors(@Path("file-id") String fileId,
@Path("element-id") String elementId,
@Body EssentialPipingElementTypeAndFiltersRequest request,
@Header("Authorization") String accessToken);
@POST("v1/pipe/integrations/{integrate-id}/files/{file-id-hash}/elements/{element-id}/neighbors")
Call>> getNeighbors(@Path("integrate-id") Long integrateId,
@Path("file-id-hash") String fileIdHash,
@Path("element-id") String elementId,
@Body EssentialPipingElementTypeAndFiltersRequest request,
@Header("Authorization") String accessToken);
@GET("v1/pipe/files/{file-id}/systems/{system-id}/uv-direction")
Call>> getElementUvDirections(@Path("file-id") String fileId,
@Path("system-id") String systemId,
@Header("Authorization") String accessToken);
@GET("v1/pipe/integrations/{integrate-id}/files/{file-id-hash}/systems/{system-id}/uv-direction")
Call>> getElementUvDirections(@Path("integrate-id") Long integrateId,
@Path("file-id-hash") String fileIdHash,
@Path("system-id") String systemId,
@Header("Authorization") String accessToken);
@GET("v1/pipe/files/{file-id}/elements/{element-id}/properties")
Call> getElementProperties(@Path("file-id") String fileId,
@Path("element-id") String elementId,
@Header("Authorization") String accessToken);
@GET("v1/pipe/integrations/{integrate-id}/files/{file-id-hash}/elements/{element-id}/properties")
Call> getElementProperties(@Path("integrate-id") Long integrateId,
@Path("file-id-hash") String fileIdHash,
@Path("element-id") String elementId,
@Header("Authorization") String accessToken);
@POST("v1/pipe/files/{file-id}/systems/{system-id}/element-ids")
Call>> getElementIdsInSystem(@Path("file-id") String fileId,
@Path("system-id") String systemId,
@Body List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy