Updates a Document

PUT {{baseUrl}}/document/:id

This operation updates a Document entity.

Request Body

{"binaryAttachment"=>[{"id"=>"4aafacbd-11ff-4dc8-b445-305f2215715f", "href"=>"http://host/Attachment/4aafacbd-11ff-4dc8-b445-305f2215715f", "attachmentType"=>"video", "content"=>"adipisicing laboris amet", "description"=>"Photograph of the Product", "mimeType"=>"non aute", "name"=>"non proident velit", "url"=>"http://host/Content/4aafacbd-11ff-4dc8-b445-305f2215715f", "size"=>{"amount"=>1, "units"=>"voluptate sed", "@baseType"=>"eiusmod incididunt", "@schemaLocation"=>"https://zBRSpve.fzhojUgbu4ngcgtvzW3mltd2XPru4xK2DUC", "@type"=>"sint ea officia cillum veniam"}, "validFor"=>{"endDateTime"=>"1985-04-12T23:20:50.52Z", "startDateTime"=>"1985-04-12T23:20:50.52Z", "@baseType"=>"aliquip incididunt sed irure", "@schemaLocation"=>"https://k.dvlMT52UQuxfbe", "@type"=>"veniam"}, "@baseType"=>"ResourceSpecification", "@schemaLocation"=>"https://mycsp.com:8080/tmf-api/schema/Resource/LogicalResourceSpecification.schema.json", "@type"=>"LogicalResourceSpecification", "@referredType"=>"dolore dolor culpa sint"}, {"id"=>"4aafacbd-11ff-4dc8-b445-305f2215715f", "href"=>"http://host/Attachment/4aafacbd-11ff-4dc8-b445-305f2215715f", "attachmentType"=>"video", "content"=>"id adipi", "description"=>"Photograph of the Product", "mimeType"=>"pariatur ea", "name"=>"dolore laborum in dolor Excepteur", "url"=>"http://host/Content/4aafacbd-11ff-4dc8-b445-305f2215715f", "size"=>{"amount"=>1, "units"=>"Ut aliqua fugiat ut i", "@baseType"=>"in dolore nostrud", "@schemaLocation"=>"https://JeuKMhfNJSsDKPWWAYHRqFFfazps.zhtpGYcnD.,QtG+LLFFwGj,hGvX+P", "@type"=>"voluptate nulla cupidatat"}, "validFor"=>{"endDateTime"=>"1985-04-12T23:20:50.52Z", "startDateTime"=>"1985-04-12T23:20:50.52Z", "@baseType"=>"pariatur aliquip qui", "@schemaLocation"=>"https://OksJgFayVbmFTqyyl.sworKXY5QBC5G+ebp9pmJy0APGsKHY", "@type"=>"velit deserunt aliquip"}, "@baseType"=>"ResourceSpecification", "@schemaLocation"=>"https://mycsp.com:8080/tmf-api/schema/Resource/LogicalResourceSpecification.schema.json", "@type"=>"LogicalResourceSpecification", "@referredType"=>"aute magna"}], "@baseType"=>"esse reprehenderit ipsum dolor", "@schemaLocation"=>"https://UJWuYvbhzg.xopNFM.e.satCx,-R.K9E.yLSB+JooLIDNL.Qqt.qPZiT9G78Ii", "@type"=>"pariatur mollit"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"binaryAttachment":[{"id":"4aafacbd-11ff-4dc8-b445-305f2215715f","href":"http://host/Attachment/4aafacbd-11ff-4dc8-b445-305f2215715f","attachmentType":"video","content":"laborum deserunt consectetur ullamco","description":"Photograph of the Product","mimeType":"officia labore","name":"nulla aute minim do","url":"http://host/Content/4aafacbd-11ff-4dc8-b445-305f2215715f","size":{"amount":1,"units":"labore ","@baseType":"dolor ex dolore laborum commo","@schemaLocation":"http://lVFRO.hiiBLzyxV,QhQR7n-Gs9fn+2rH2rJBWIBVScr4RWqUK4J.","@type":"dolor reprehenderit"},"validFor":{"endDateTime":"1985-04-12T23:20:50.52Z","startDateTime":"1985-04-12T23:20:50.52Z","@baseType":"irure elit Excepteur aute","@schemaLocation":"https://UvoBChlprggqdQvbnujeZG.tnujKENLBZsBNh99t9TjF,fk+wYbZIVVbE0SjJone1myHd6C3","@type":"Lorem"},"@baseType":"ResourceSpecification","@schemaLocation":"https://mycsp.com:8080/tmf-api/schema/Resource/LogicalResourceSpecification.schema.json","@type":"LogicalResourceSpecification","@referredType":"occaecat ex non aliqua"},{"id":"4aafacbd-11ff-4dc8-b445-305f2215715f","href":"http://host/Attachment/4aafacbd-11ff-4dc8-b445-305f2215715f","attachmentType":"video","content":"elit adipisicing aute","description":"Photograph of the Product","mimeType":"irure nostrud est","name":"qui","url":"http://host/Content/4aafacbd-11ff-4dc8-b445-305f2215715f","size":{"amount":1,"units":"ipsum in proident aute","@baseType":"reprehenderit id et quis nostrud","@schemaLocation":"http://eIzlGvWzGtepflHjHhXCZFBIcP.uktaFlRv0vyoN7u67DggCx5gX+Ra49eWGCqscyy4XUV.x9UYS2ddXEvjchwYSCwiXa7+ImEi85","@type":"occaecat sit enim"},"validFor":{"endDateTime":"1985-04-12T23:20:50.52Z","startDateTime":"1985-04-12T23:20:50.52Z","@baseType":"sed id","@schemaLocation":"http://AJkhlmqEBRh.ebAp","@type":"ullamco exercitation aute"},"@baseType":"ResourceSpecification","@schemaLocation":"https://mycsp.com:8080/tmf-api/schema/Resource/LogicalResourceSpecification.schema.json","@type":"LogicalResourceSpecification","@referredType":"Lorem eiusmod adipisicing nulla"}],"@baseType":"et","@schemaLocation":"http://sNTclthMYBDHw.wvreOuHHMfkd5SX,mhmQTGbSNfRZ.D","@type":"consectetur anim ut"}