public static final class RevisionsGetRevisionHistoryInCompanyByElementIdRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
RevisionsGetRevisionHistoryInCompanyByElementIdResponse |
call(OnshapeDocument document,
String cid,
Number elementType,
String configuration,
String linkDocumentId,
Boolean fillApprovers) |
Calls getRevisionHistoryInCompanyByElementId method, Get a list of all revisions for a part of specified D/W/V/E ids in a company, ordered newest first.
|
RevisionsGetRevisionHistoryInCompanyByElementIdResponse |
call(String cid,
String did,
WV wvType,
String wv,
String eid,
Number elementType,
String configuration,
String linkDocumentId,
Boolean fillApprovers) |
Calls getRevisionHistoryInCompanyByElementId method, Get a list of all revisions for a part of specified D/W/V/E ids in a company, ordered newest first.
|
public final RevisionsGetRevisionHistoryInCompanyByElementIdResponse call(String cid, String did, WV wvType, String wv, String eid, Number elementType, String configuration, String linkDocumentId, Boolean fillApprovers) throws OnshapeException
cid - Company Iddid - Document IdwvType - Type of Workspace or Versionwv - Workspace or version id depending on "wv" parameid - Element idelementType - Type of element, which can be 0: Part Studio, 1: Assembly, 2: Drawing. 4: Blob (Default: null)configuration - the encoded configuration of the part (Default: null)linkDocumentId - if part is in doc1 but originated in a linked doc2, this is the id of doc1, the current document containing the reference (Default: null)fillApprovers - Include approvers of each revision (Default: null)OnshapeException - On HTTP or serialization errorpublic final RevisionsGetRevisionHistoryInCompanyByElementIdResponse call(OnshapeDocument document, String cid, Number elementType, String configuration, String linkDocumentId, Boolean fillApprovers) throws OnshapeException
document - Document object from Onshape URL.cid - Company IdelementType - Type of element, which can be 0: Part Studio, 1: Assembly, 2: Drawing. 4: Blob (Default: null)configuration - the encoded configuration of the part (Default: null)linkDocumentId - if part is in doc1 but originated in a linked doc2, this is the id of doc1, the current document containing the reference (Default: null)fillApprovers - Include approvers of each revision (Default: null)OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.