/assets/Document/create/Copy Pagepost https://{sub_domain}.enablemyteam.com/aimsapi/assets/Document/create/Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-datacontractstringrequiredlength between 1 and 236Give contract to which the asset will belongclass_codestringlength ≥ 1Defaults to DocumentDocument value needs to be provided heredisciplinestringlength between 1 and 236Give the discipline to which the asset belongs. Default value is Unknownsub_disciplinestringlength between 1 and 236Give the sub discipline to which the asset belongs. Default value is Unknowntag_codestringlength between 1 and 236Give a tag_code of asset which you want to updatetag_codesstringlength between 1 and 236Give a list of tag_codes of assets which you want to updateattributeobjectrequiredGive the attributes of the document. Required attributes for create are: Document Number Document Name Revision File Id or file_hash File Id is the unique identifier reference of the file from an external repository. file_hash is the sha1 hash of the file if it was uploaded using EMT file uploader only. In this case, also provide file info in the payload as a json against “file” ex: JSON{ "contract": "contract_id", "attribute": { "Document Number": "TST-IMG_DOC-00000", "Document Name": "test img doc", "Revision": "test revision", "file_hash": "sha1_hash of the file", "file": { "name": "test_image.png", "type": "image/png", "size": 192971, "key": "azure_filestack_path" } } }attribute objectfunctionstringlength between 1 and 236Give the function to which the asset belongs. Default value is Unknownsub_functional_unitstringlength between 1 and 236Give the sub functional unit to which the asset belongs. Default value is Unknownasset_create_countintegerOnly for bulk create. Give the number of assets you want to create.delete_fieldsarray of stringsGive a list of fields which you want to delete. e.g: ["attribute.Work Package Type","location_id"]delete_fieldsADD stringrelationsarray of objectslist of related asset details. User can pass multiple dictionaries containing tag_coderelationsADD objectpack_namestringlength ≥ 1Name of new document pack to which you want to add your document.pack_tag_codestringlength ≥ 1tag_code of existing document pack to which you want to add/remove your document.remove_from_packbooleanTrue if removing document(s) from packtruefalseHeaderscontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse 200Updated about 1 year ago /assets/Document/aggregation//assets/Document/delete/{contract_id}/{tag_code}/Did this page help you?YesNo