Create view and controller for Laravel Admin Portal
Project detail
Requirement –
1) Create blade view (table format) with edit (button on row end) for the array being received through API;
Eg. Array ( [0] => stdClass Object ( [value] => Array ( [0] => stdClass Object ( [__id] => uuid:55e47a8f-bbb9-4579-aa53-ac099e00b2c0 [StartTime] => 2021-08-21T21:23:08.013+05:30 [EndTime] => 2021-08-21T21:23:36.107+05:30 [DeviceID] => abcd.com:TikYsehYQIKi0dat [SubscriberID] => subscriberid not found [SurveyorName] => Test [SurveyorID] => 1 [SurveyorCode] => [HouseholdLocation] => [HouseholdImage] => [HouseholdAudio] => [HouseholdVideo] => [HeadOfHouseholdName] => 1
2) Create the update feature – update has to be made on the API/ end Server. (create XML and post the same to the server) To perform an update, you need to provide in the submission XML an additional deprecatedID metadata node with the instanceID of the particular and current submission version you are replacing. If the deprecatedID you give is anything other than the identifier of the current version of the submission at the time the server receives it, you will get a 409 Conflict back. You can get the current version instanceID by getting the current XML of the submission. The XML data you send will replace the existing data entirely. All of the data must be present in the updated XML.
APIs are called using a wrapper.
Timeline – 2 days max
Technology – Blade, Laravel, PHP