Share Service
...
This service is used for sharing any resources with a user (Bimplus or non-Bimplus user). Resources could be any (eg: attachments, model/slide etc) The recipient will get an email with a link using which the user can download or view the shared resource.
Anchor |
---|
| shareResource |
---|
| shareResource |
---|
|
Share a resource(eg: document)
...
Deck of Cards |
---|
id | bimCreateRevisionbimShareResource |
---|
|
Card |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: revisionsshare
URL: https://api-stage.bimplus.net/v2/<team_slug>/divisions/<id>/revisionsshare Example: https://api-stage.bimplus.net/v2/bimplus/divisions/00b54edd-c84c-4bd2-a08c-c93d1f28907a/revisionsshare JSON Structure: Name | Mandatory / Optional | Type | Description |
---|
nameemail | mandatorystring | JSON Array | Name List of the revision | description | optional | string | Short description of the revision | projectId | will be ignored | string (guid) | Creation date of the revision | email address to whom the Bimplus user would like to share | type | mandatory | string(enum) | Type of resource | id | mandatory | divisionId | will be ignored | string (guid) | Id of the | model revisionNr | will be ignored | int | Revision number | created | will be ignored | string (date) | Creation date | createdBy | will be ignored | user object | The user who created it | applicationId | will be ignored | string (guid) | The id of the application | inputType | optional | string | Type of upload (eg: "IFC_IMPORT") |
Note: The import/upload is always done only for the latest revision.resource which will be shared |
|
Card |
---|
default | true |
---|
label | Description |
---|
| Use this API for creating a new revision. Please, note that import/upload is always done only for the latest revision. i.e if there are no revisions, & if we use import API the always the model is updated/overwritten. If a model has revisions & if we use the import API then always the latest import/upload is linked with the latest revisionThis service is used for sharing any resources with a user (Bimplus or non-Bimplus user). Resources could be any (eg: attachments, model/slide etc) The recipient will get an email with a link using which the user can download or view the shared resource. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"emails": [
"jayaraj.purushothaman@bimplus.net"
],
"type": "Attachment",
"nameid": "Ballo.ifcb4fac6bb-bb00-4a41-9479-fdd229a6201f"
}
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"idemails": "d2d39bca-051e-48fa-ba23-4845087a071c",[
"name": "Ballo.ifc",jayaraj.purushothaman@bimplus.net"
"description": ""],
"projectIdtype": "e31c3480-5633-4506-b717-8dd97c0f0ab3",
"divisionId": "00b54edd-c84c-4bd2-a08c-c93d1f28907aAttachment",
"revisionNr": 6,
"created": "2015-11-03T11:13:27.2",
"createdby": {
"id": "71e0ac3bb4fac6bb-fa49bb00-e5404a41-ac2f9479-8caff3dd72edfdd229a6201f",
"email": "jayaraj.purushothaman@gmail.com"
},
"applicationId": "0106c8ba-ad46-7c08-e26f-026852cb7525",
"inputType": "IFC_IMPORT"
}
|
|
|
...