I posted an example of response received from the first request in the previous posting..I would like use that response in the 2nd request .
On Mon, Aug 5, 2013 at 8:56 PM, umesh prajapati <[email protected]>wrote: > I would like to use the whole response received or complete response > message > > > On Mon, Aug 5, 2013 at 8:32 PM, Manish Sapariya <[email protected]>wrote: > >> Umesh, >> There are various post processors that you can use to extract the data >> from >> the previous request, which you can use in subsequent requests. >> >> You need to provide details of what data you want to extract from the >> response. >> >> >> On Tue, Aug 6, 2013 at 5:17 AM, umesh prajapati <[email protected] >> >wrote: >> >> > the response I get from the first request is something like this.. >> > >> > >> > >> > >> [{"data":{"section":{"id":"51fc08d2e4b0e6275386785a","data":{"courseInfo":{"code":"PE100","title":"PE >> > 6"},"sectionInfo":{"sectionCode":"PE100 - 7","sectionName":"PE 6 - >> > >> > >> 2-3(A)","organizationId":"51de98a7e4b08e9f1e1f8669","students":["51f9a536e4b0e6275386772c","51f9a536e4b0e6275386772d"],"staff":["51f95824e4b000e2f27637da","51f95824e4b000e2f27637dc","51f1a033e4b000e2f2752556","51f95824e4b000e2f27637dd","51f95824e4b000e2f27637de"]},"sessionInfo":{"name":"2012-2013","type":"Year","beginDate":"2012-09-03","endDate":"2013-08-31","schoolYear":2013}}}},"pifData":{"pif":{"type":"PIFSection","id":"51fc08d2e4b0e6275386785a"},"system":{"lifecycle":{"createDate":"2013-08-02T19:30:26.347Z","modifiedDate":"2013-08-04T10:32:13.185Z","deleted":false},"ids":{"sourceId":"19850","importId":"51de950be4b08e9f1e1f865e-19850"},"importTag":{"tag":1375734660000}},"tenant":{"id":"51de950be4b08e9f1e1f865e"}}},{"data":{"section":{"id":"51fc08d2e4b0e6275386785c","data":{"courseInfo":{"code":"PE200","title":"PE >> > 7"},"sectionInfo":{"sectionCode":"PE200 - gf456","sectionName":"PE 7 - >> > >> > >> 2-4(A)","organizationId":"51de98a7e4b08e9f1e1f8669","students":["51f9a536e4b0e62753867730"],"staff":["51f95824e4b000e2f27637dd"]},"sessionInfo":{"name":"2012-2013","type":"Year","beginDate":"2012-09-03","endDate":"2013-08-31","schoolYear":2013}}}},"pifData":{"pif":{"type":"PIFSection","id":"51fc08d2e4b0e6275386785c"},"system":{"lifecycle":{"createDate":"2013-08-02T19:30:26.392Z","modifiedDate":"2013-08-02T22:35:45.805Z","deleted":false},"ids":{"sourceId":"19851","importId":"51de950be4b08e9f1e1f865e-19851"},"importTag":{"tag":1375734660000}},"tenant":{"id":"51de950be4b08e9f1e1f865e"}}},{"data":{"section":{"id":"51fc08d2e4b0e6275386785d","data":{"courseInfo":{"code":"MAT300","title":"Math >> > 8_Updated on 4th aug2013"},"sectionInfo":{"sectionCode":"MAT300 - >> > mgm831","sectionName":"Math 8_Updated on 4th aug2013 - >> > >> > >> 3-4(A)","organizationId":"51de98a7e4b08e9f1e1f8669","students":["51f99020e4b000e2f27637ff","51f99020e4b000e2f27637fc","51f99020e4b000e2f27637f8","51f99020e4b000e2f2763803","51f99020e4b000e2f2763801","51f99020e4b000e2f2763802","51f9a536e4b0e6275386772f","51f99020e4b000e2f2763800","51f9a536e4b0e6275386772c","51f9a536e4b0e6275386772d","51f9a536e4b0e62753867731","51f9a536e4b0e6275386772e","51f9a536e4b0e62753867730","51f9a537e4b0e62753867738","51fae19fe4b0e627538677ef","51fae19fe4b0e627538677f0","51fae19fe4b0e627538677f1","51fae19fe4b0e627538677f2","51fae19fe4b0e627538677f3","51fae19fe4b0e627538677f4","51fae19fe4b0e627538677f5","51fae889e4b0e627538677f7","51fae889e4b0e627538677fa","51fae889e4b0e627538677f8","51fae889e4b0e627538677f9","51faefc8e4b0e627538677fd","51faefc8e4b0e627538677fc","51faefc8e4b0e627538677fe","51faefc8e4b0e627538677ff","51faefc8e4b0e62753867800","51faefc8e4b0e62753867801","51fafdade4b0e62753867806","51fafdade4b0e62753867805","51fafdaee4b0e62753867807","51f9661ae4b000e2f27637ed","51fc5644e4b08db0f37b8d7f","51f9661ae4b000e2f27637eb","51f99020e4b000e2f27637f7","51f99020e4b000e2f27637fb","51f99020e4b000e2f27637fa","51f99020e4b000e2f27637f9","51f99020e4b000e2f27637fd","51f99020e4b000e2f27637fe","51fe88bee4b08db0f37b8e01"],"staff":["51f95824e4b000e2f27637d9","51f950d5e4b000e2f27637d6","51f95824e4b000e2f27637dc","51f95824e4b000e2f27637db","51f95824e4b000e2f27637dd","51f95824e4b000e2f27637da"]},"sessionInfo":{"name":"2012-2013","type":"Year","beginDate":"2012-09-03","endDate":"2013-08-31","schoolYear":2013}}}},"pifData":{"pif":{"type":"PIFSection","id":"51fc08d2e4b0e6275386785d"},"system":{"lifecycle":{"createDate":"2013-08-02T19:30:26.493Z","modifiedDate":"2013-08-04T22:36:13.575Z","deleted":false},"ids":{"sourceId":"19849","importId":"51de950be4b08e9f1e1f865e-19849"},"importTag":{"tag":1375734660000}},"tenant":{"id":"51de950be4b08e9f1e1f865e"}}},{"data":{"section":{"id":"51fcb199e4b08db0f37b8da2","data":{"courseInfo":{"code":"MAT200","title":"Math >> > 7_updated2time"},"sectionInfo":{"sectionCode":"MAT200 - >> > 1175","sectionName":"Math 7_updated2time - >> > >> > >> 1-3(A)","organizationId":"51de98a7e4b08e9f1e1f8669","students":["51f99020e4b000e2f27637f7","51f99020e4b000e2f27637fb","51f99020e4b000e2f27637fa","51f99020e4b000e2f27637f9"],"staff":["51f95824e4b000e2f27637dd"]},"sessionInfo":{"name":"2012-2013","type":"Year","beginDate":"2012-09-03","endDate":"2013-08-31","schoolYear":2013}}}},"pifData":{"pif":{"type":"PIFSection","id":"51fcb199e4b08db0f37b8da2"},"system":{"lifecycle":{"createDate":"2013-08-03T07:30:33.842Z","modifiedDate":"2013-08-04T06:01:06.620Z","deleted":false},"ids":{"sourceId":"19862","importId":"51de950be4b08e9f1e1f865e-19862"},"importTag":{"tag":1375734660000}},"tenant":{"id":"51de950be4b08e9f1e1f865e"}}}] >> > >> > >> > >> > On Mon, Aug 5, 2013 at 4:40 PM, umesh prajapati <[email protected] >> > >wrote: >> > >> > > Hi Everyone, >> > > >> > > Lets say I have a request1 which gives the response1. >> > > >> > > Now I make a request2 and I would like to read the response1 (which is >> > the >> > > response from a previous request) >> > > >> > > So, How can I achieve this approach to read the response from 1st >> request >> > > and use it on the 2nd request. >> > > >> > > Thank you >> > > >> > >> >> >> >> -- >> Thanks and Regards, >> Manish >> kPoint wins *Global eLearning >> Award< >> http://www.kpoint.com/kpoint-wins-learntech-global-e-learning-award/> >> * in “Learning Technologies Solution”! >> > >
