Updates partially a Document
PATCH {{baseUrl}}/document/:id
This operation updates partially a Document entity.
Request Body
{"binaryAttachment"=>[{"id"=>"4aafacbd-11ff-4dc8-b445-305f2215715f", "href"=>"http://host/Attachment/4aafacbd-11ff-4dc8-b445-305f2215715f", "attachmentType"=>"video", "content"=>"mollit quis pariatur consectetur", "description"=>"Photograph of the Product", "mimeType"=>"sunt", "name"=>"pariatur laboris", "url"=>"http://host/Content/4aafacbd-11ff-4dc8-b445-305f2215715f", "size"=>{"amount"=>1, "units"=>"irure ea pariatur", "@baseType"=>"laboris aliqua ut", "@schemaLocation"=>"https://ZhZPfCimTpuGUcNtGODFQfLeiv.syhnqoluvuE3r", "@type"=>"consectetur dolore aute"}, "validFor"=>{"endDateTime"=>"1985-04-12T23:20:50.52Z", "startDateTime"=>"1985-04-12T23:20:50.52Z", "@baseType"=>"mollit dolore occaecat", "@schemaLocation"=>"https://rwdhY.zofsBiaMMYaegroDADAmTDk,WsqMNx.cvnoeONKLWXKbl0tSBw", "@type"=>"amet"}, "@baseType"=>"ResourceSpecification", "@schemaLocation"=>"https://mycsp.com:8080/tmf-api/schema/Resource/LogicalResourceSpecification.schema.json", "@type"=>"LogicalResourceSpecification", "@referredType"=>"sed"}, {"id"=>"4aafacbd-11ff-4dc8-b445-305f2215715f", "href"=>"http://host/Attachment/4aafacbd-11ff-4dc8-b445-305f2215715f", "attachmentType"=>"video", "content"=>"culpa ullamco et", "description"=>"Photograph of the Product", "mimeType"=>"reprehenderit ex", "name"=>"fugiat aliquip Ut magna", "url"=>"http://host/Content/4aafacbd-11ff-4dc8-b445-305f2215715f", "size"=>{"amount"=>1, "units"=>"in anim ea non", "@baseType"=>"ex consectetur adipis", "@schemaLocation"=>"http://ifTvjj.ovahqaXidatsjlqOwZePhSSBYLCfGl,jYTsW99VkHozCLgh-jk3DhcKu5+R+WTf5g", "@type"=>"non magna laboris"}, "validFor"=>{"endDateTime"=>"1985-04-12T23:20:50.52Z", "startDateTime"=>"1985-04-12T23:20:50.52Z", "@baseType"=>"anim officia", "@schemaLocation"=>"http://ZoxuCWYFJmolVbXz.cgkbECijrPtGavTcGDntFBQLhmBhbATlPWugZrWQ1kHEOr,p9SvBPF4q", "@type"=>"commodo magna in eiusmod"}, "@baseType"=>"ResourceSpecification", "@schemaLocation"=>"https://mycsp.com:8080/tmf-api/schema/Resource/LogicalResourceSpecification.schema.json", "@type"=>"LogicalResourceSpecification", "@referredType"=>""}], "@baseType"=>"eu in aliqua dolore consectetur", "@schemaLocation"=>"http://VmhPjY.tiFvVvy6vdSbFtAPX5L2RpmnTiHNtgvpuFCX40INR6Xks", "@type"=>"commodo eiusmod ea"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
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"}