From e583b5eb4918f538df4fa11733a8197c4fbd22cb Mon Sep 17 00:00:00 2001 From: Abhiram V S <110686562+abhiramhebbar@users.noreply.github.com> Date: Thu, 8 Dec 2022 11:43:07 +0530 Subject: [PATCH 1/2] Create Abhiram V S(1NT21MC117) --- Abhiram V S(1NT21MC117) | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Abhiram V S(1NT21MC117) diff --git a/Abhiram V S(1NT21MC117) b/Abhiram V S(1NT21MC117) new file mode 100644 index 0000000..6b129cc --- /dev/null +++ b/Abhiram V S(1NT21MC117) @@ -0,0 +1,49 @@ +1)Answer + +GET books?author=AUTHOR +POST /books +PUT /books/ID +DELETE books/ID + +POST /books/search + +{ + keywords :"..." + yearRange: {"from":1945,"to":2003}, + genre:".." + } + + + 2) Answer + + HTTP/1.1 200 OK +Content-Type: application/json; odata.metadata=minimal +OData-Version: 4.0 + +{ + "@odata.context":"[Organization URI]/api/data/v9.2/$metadata#accounts(name)", + "value":[ + { + "@odata.etag":"W/\"501097\"", + "name":"Fourth Coffee (sample)", + "accountid":"89390c24-9c72-e511-80d4-00155d2a68d1" + }, + { + "@odata.etag":"W/\"501098\"", + "name":"Litware, Inc. (sample)", + "accountid":"8b390c24-9c72-e511-80d4-00155d2a68d1" + }, + { + "@odata.etag":"W/\"501099\"", + "name":"Adventure Works (sample)", + "accountid":"8d390c24-9c72-e511-80d4-00155d2a68d1" + } + ] +} + + + Theoritical answer: + + df=pd.Data frame(<"A":[5,7,9],"B":[3,8,9], "C":[10,15,24]}) + print(df) + From 9986a4e258ad385dbf9576592a2a23f2a455b2d9 Mon Sep 17 00:00:00 2001 From: Abhiram V S <110686562+abhiramhebbar@users.noreply.github.com> Date: Thu, 8 Dec 2022 11:58:37 +0530 Subject: [PATCH 2/2] Delete Abhiram V S(1NT21MC117) --- Abhiram V S(1NT21MC117) | 49 ----------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 Abhiram V S(1NT21MC117) diff --git a/Abhiram V S(1NT21MC117) b/Abhiram V S(1NT21MC117) deleted file mode 100644 index 6b129cc..0000000 --- a/Abhiram V S(1NT21MC117) +++ /dev/null @@ -1,49 +0,0 @@ -1)Answer - -GET books?author=AUTHOR -POST /books -PUT /books/ID -DELETE books/ID - -POST /books/search - -{ - keywords :"..." - yearRange: {"from":1945,"to":2003}, - genre:".." - } - - - 2) Answer - - HTTP/1.1 200 OK -Content-Type: application/json; odata.metadata=minimal -OData-Version: 4.0 - -{ - "@odata.context":"[Organization URI]/api/data/v9.2/$metadata#accounts(name)", - "value":[ - { - "@odata.etag":"W/\"501097\"", - "name":"Fourth Coffee (sample)", - "accountid":"89390c24-9c72-e511-80d4-00155d2a68d1" - }, - { - "@odata.etag":"W/\"501098\"", - "name":"Litware, Inc. (sample)", - "accountid":"8b390c24-9c72-e511-80d4-00155d2a68d1" - }, - { - "@odata.etag":"W/\"501099\"", - "name":"Adventure Works (sample)", - "accountid":"8d390c24-9c72-e511-80d4-00155d2a68d1" - } - ] -} - - - Theoritical answer: - - df=pd.Data frame(<"A":[5,7,9],"B":[3,8,9], "C":[10,15,24]}) - print(df) -