To update more than one instance, PUT data for more than one instance.
Put defects |
---|
*** Request *** PUT /qcbin/api/domains/{domain}/projects/{project}/defects Accept: application/json Host: api.alm.com:8080 { "data": [ { "type": "defect", "id": 1001, "name": "First defect is updated", "has-linkage": false, "owner": null "detected-in-rel": { "id": 2001, "type": "release" }, "user-01": ["multi value 1", "multi value 2"] }, { "type": "defect", "id": 1002, "name": "Second defect is updated", "has-linkage": false, "owner": null "detected-in-rel": { "id": 2001, "type": "release" }, "user-01": ["multi value 1", "multi value 2"] } ] } *** Response *** HTTP/1.1 200 OK Content-Encoding: gzip Content-Type: application/json;q=0.9 Date: Mon, 27 Mar 2014 12:11:05 GMT Server: Jetty(7.5.4.v20111024) |