Hi
I am trying to link already uploaded documents in BIM 360 to Equipments within a model. I believe document_reference can be used to achieve the same, reading through the documentation, I understand that it needs document reference unique ID and document_id (GUID) as part of the document reference hash which is passed as parameter to the API.
My question is how to get this detail from BIM 360, is there an API which lists existing documents with its internal details like unique ID and GUID etc. ?
Please help.
Thanks
Sandeep
Solved! Go to Solution.
Hi
I am trying to link already uploaded documents in BIM 360 to Equipments within a model. I believe document_reference can be used to achieve the same, reading through the documentation, I understand that it needs document reference unique ID and document_id (GUID) as part of the document reference hash which is passed as parameter to the API.
My question is how to get this detail from BIM 360, is there an API which lists existing documents with its internal details like unique ID and GUID etc. ?
Please help.
Thanks
Sandeep
Solved! Go to Solution.
Solved by mikako_harada. Go to Solution.
Hi Sandeep,
could you try like:
POST /api/document_references
ticket=xxxx&
project_id=d80067a3-97ce-1f34-a4be-02cc3afa57bd&
document_reference=
{
"id":"d629b2fe-ab4b-11e3-2828-027465b920a7",
"document_id":"db102d99-97ce-11e2-a4be-02cc3afa57bd",
"container_id":"256D2E06-C8B2-4185-12a4-8BD38E349E15",
"container_type":"Equipment"
}
(linebreaks are added for readability.)
where
id - unique ID. if you are using .NET, you can use Guid.NewGuid to tgenerate new one.
document_id - id of a document. you can use api/library/all_files.
container_id - id of equipment. you can use api/get_equipment.
Hi Sandeep,
could you try like:
POST /api/document_references
ticket=xxxx&
project_id=d80067a3-97ce-1f34-a4be-02cc3afa57bd&
document_reference=
{
"id":"d629b2fe-ab4b-11e3-2828-027465b920a7",
"document_id":"db102d99-97ce-11e2-a4be-02cc3afa57bd",
"container_id":"256D2E06-C8B2-4185-12a4-8BD38E349E15",
"container_type":"Equipment"
}
(linebreaks are added for readability.)
where
id - unique ID. if you are using .NET, you can use Guid.NewGuid to tgenerate new one.
document_id - id of a document. you can use api/library/all_files.
container_id - id of equipment. you can use api/get_equipment.
Thanks Mikako, I have now finally got the API to work, we are now able to link Equipments with Documents.
Thanks for all your help.
Sandeep
Thanks Mikako, I have now finally got the API to work, we are now able to link Equipments with Documents.
Thanks for all your help.
Sandeep
Can't find what you're looking for? Ask the community or share your knowledge.