1 00:00:01,420 --> 00:00:02,070 Hi friends. 2 00:00:02,140 --> 00:00:08,100 So this is in continuation of the adopted goal that we're having in this particular session. 3 00:00:08,140 --> 00:00:17,450 So here and we'll be discussing about the fiscal viability to APAC and as we know by the name replace 4 00:00:17,840 --> 00:00:22,060 that is something to do with replacing the existing entities which are already present. 5 00:00:22,450 --> 00:00:26,420 So let's proceed with some of these use cases as formula that we've discussed. 6 00:00:26,810 --> 00:00:32,990 And over the course of time we understand will develop a good understanding of how and what at a preschool 7 00:00:33,020 --> 00:00:34,070 is supposed to do. 8 00:00:38,380 --> 00:00:43,590 So now we'll go to some of the examples of the replace operation. 9 00:00:43,630 --> 00:00:54,040 So here we are executing into place update operation so some examples of put that is a bit and let it 10 00:00:54,080 --> 00:00:55,310 play its part. 11 00:00:55,320 --> 00:00:59,680 So this is the one tape of an update that is replaced. 12 00:00:59,860 --> 00:01:04,870 So let's try to use some of these cases on top of that. 13 00:01:05,160 --> 00:01:11,070 So we have an update to deploy operation as put and we're sort of following this particular you are 14 00:01:11,070 --> 00:01:13,620 a tool here to be to be avoided. 15 00:01:13,630 --> 00:01:18,960 Are you worried and where these are object and for the update operations we need to provide in the key. 16 00:01:19,290 --> 00:01:27,270 So we want to do an operation over the past 0 7 user I.D. and we want to get a response deep poverty 17 00:01:27,360 --> 00:01:30,530 the villages and the. 18 00:01:30,650 --> 00:01:31,580 And this is a boarding. 19 00:01:31,580 --> 00:01:40,940 So what we are doing is we are filling the values and you can see that even the links their values we 20 00:01:40,940 --> 00:01:48,100 are providing that is because that is the navigation property values we are providing and that's trying 21 00:01:48,100 --> 00:01:49,140 to execute this 22 00:01:57,420 --> 00:01:57,700 okay. 23 00:01:57,700 --> 00:01:59,480 So first of all let's gather. 24 00:01:59,770 --> 00:02:04,980 What is there in the user object and to follow test and test. 25 00:02:05,040 --> 00:02:15,590 Thank you in is that I did use an answer that seems ready. 26 00:02:15,770 --> 00:02:21,510 The areas in the end state as he is already and there's too many words item adjustment with the customer 27 00:02:21,630 --> 00:02:31,000 in each other case manager and secondly for me I'm straight to get 28 00:02:38,430 --> 00:02:44,050 30 students in 10 colleges to attend. 29 00:02:44,520 --> 00:02:44,930 Yeah. 30 00:02:48,400 --> 00:02:48,610 Right. 31 00:02:49,000 --> 00:02:55,550 So if you have to stay in 0 7 we have these administrative restrictions this team and we are a charter 32 00:02:55,570 --> 00:02:59,110 value as from thirty two to six. 33 00:02:59,640 --> 00:03:05,250 And metrics manager value as minority. 34 00:03:05,370 --> 00:03:06,050 To. 35 00:03:09,280 --> 00:03:18,530 And then we are to a and do as this ten year six zero six right. 36 00:03:18,960 --> 00:03:29,150 So okay so how do we need to execute update call is like this or we'll go into law mental let me complete 37 00:03:29,150 --> 00:03:30,560 this particular body. 38 00:03:30,910 --> 00:03:37,040 So in the morning what we are facing to military the one that we have been doing for the day have seen 39 00:03:37,040 --> 00:03:44,310 how to clear this party and the insert section so we can report that I can get it wrong too but the 40 00:03:44,540 --> 00:03:50,430 point is we need to first of all put in the undisciplined method to attack and we need to specify you 41 00:03:50,430 --> 00:03:50,920 are right. 42 00:03:51,170 --> 00:03:56,250 And then just pointed to the other end to date and the key of the user entity. 43 00:03:56,530 --> 00:04:03,020 That is it is only one key for them that it is ready and we need to provide the individual but the key 44 00:04:03,620 --> 00:04:09,590 that is the user I.D. and we need to provide these are these feeds which are invaluable and which are 45 00:04:09,590 --> 00:04:16,690 objective and so we can provide those value to the name status Israeli cities BSE and respond to sensible 46 00:04:16,700 --> 00:04:17,060 active. 47 00:04:17,170 --> 00:04:23,050 So these are the specific allowable values for this status and which are hardcoded in instances like 48 00:04:23,080 --> 00:04:23,810 this application. 49 00:04:23,810 --> 00:04:31,400 Currently there are just more opportunities more less capital left denoting for small values lower case 50 00:04:31,400 --> 00:04:39,460 values denoting party internal apply and the uppercase values denoting quality external imply. 51 00:04:39,490 --> 00:04:46,400 So people who on long considered to want to log into this if this fact does an application so capital 52 00:04:46,400 --> 00:04:49,990 D stands for active on the square external and capital stands. 53 00:04:50,300 --> 00:04:54,910 F stands for inactive in a skirt exchange. 54 00:04:55,060 --> 00:04:55,700 Excuse me. 55 00:04:57,380 --> 00:05:06,380 So there is a value that a cross party we have and we are going to place that into the post man and 56 00:05:08,520 --> 00:05:14,890 so we are providing the body and weight in the raw body and that is part D. 57 00:05:14,890 --> 00:05:18,290 Farmer Jason application to applications like Jason. 58 00:05:18,570 --> 00:05:24,520 And then we have the body of it here and we need to provide in the right eye. 59 00:05:24,810 --> 00:05:28,440 So we have to write a order to you and I. 60 00:05:28,560 --> 00:05:35,870 And then we have these are checked into due date and dividing of these at eight key. 61 00:05:36,180 --> 00:05:42,240 Dollar farmer digital citizen and desperate basically is a done deal put on the response format. 62 00:05:42,440 --> 00:05:43,520 Yes and online. 63 00:05:44,190 --> 00:05:48,490 And then we need to since we are executing the please call. 64 00:05:48,500 --> 00:05:54,570 So we need to provide dash to put our best foot so here once we have done this and then execute this 65 00:05:54,570 --> 00:05:55,510 particular call. 66 00:05:56,000 --> 00:05:57,580 So OK. 67 00:05:57,790 --> 00:06:03,330 So it's asking for one and authorised for that and that provides the authorisation data that will protect 68 00:06:03,900 --> 00:06:08,990 and then execute this and here and really look at the 69 00:06:14,390 --> 00:06:18,910 like signal sometime line 70 00:06:23,040 --> 00:06:23,360 okay. 71 00:06:23,380 --> 00:06:30,700 So to saying set us to a new look I took this myself milliseconds and the response 9 There are two bytes 72 00:06:30,850 --> 00:06:36,570 policy response size and regarding following highlights from the responses. 73 00:06:36,640 --> 00:06:42,560 So this all contributed to the data being turned into a response which is showing us right. 74 00:06:42,610 --> 00:06:42,940 Yes. 75 00:06:43,510 --> 00:06:47,500 So you know this is how Patrick Pascal is executed. 76 00:06:47,500 --> 00:06:47,800 All right. 77 00:06:48,340 --> 00:06:51,490 So going back to the slide points. 78 00:06:51,670 --> 00:06:57,600 So this is I way that a police call needs to be made put as to deeply operation with the key value in 79 00:06:57,670 --> 00:06:58,670 you are right. 80 00:06:58,750 --> 00:07:03,910 Since this is a brisk call it replaces the earlier specified value for the object with the value provided 81 00:07:03,910 --> 00:07:11,560 here as is evident from the example of the see that demonstrators regardless 200 of them into the next 82 00:07:11,560 --> 00:07:12,760 example that we have. 83 00:07:12,880 --> 00:07:19,640 So here we have a request for one wherein we are including the first name and we have the operations 84 00:07:19,800 --> 00:07:20,680 put. 85 00:07:21,130 --> 00:07:26,880 And again so here we are looking into first name but then will be executed including Patrick request 86 00:07:27,020 --> 00:07:32,060 to really we will be executing that without first name. 87 00:07:32,170 --> 00:07:34,270 And remember this is at a place gone. 88 00:07:35,090 --> 00:07:41,400 So where does that place to place is the values which are there these the cost. 89 00:07:41,730 --> 00:07:42,030 Right. 90 00:07:42,440 --> 00:07:44,050 So we'll see what happens. 91 00:07:44,070 --> 00:07:46,000 Let's try to first follow execute this. 92 00:07:46,010 --> 00:07:47,670 So we had symbolic. 93 00:07:48,050 --> 00:07:53,450 Only thing is we have added additional field for the first thing to be considered. 94 00:07:53,740 --> 00:07:56,720 And the value as let's say uncut here. 95 00:07:56,930 --> 00:08:06,950 So let's go and try to use the ratings we have now the value has. 96 00:08:07,360 --> 00:08:20,500 This would mean sending the ghettos so let's say I rather selected the name from the first name here. 97 00:08:20,780 --> 00:08:25,410 Then they would execute and hearing the need to prevail in the money. 98 00:08:25,870 --> 00:08:27,250 And it's beautified. 99 00:08:27,550 --> 00:08:30,790 OK so it has being beautified here now. 100 00:08:31,330 --> 00:08:38,330 And let's see what has when you bring back into the court and we did not have any first name here. 101 00:08:38,450 --> 00:08:40,330 So I just wanted to understand you. 102 00:08:40,420 --> 00:08:41,890 I mean we have lost them. 103 00:08:41,950 --> 00:08:42,320 No. 104 00:08:42,940 --> 00:08:50,280 So now I need six securities so we have put because at a preschool there are bodies as your data by 105 00:08:50,340 --> 00:08:56,380 our data and that's a farmer Jason that his application to extend the value which comes in the header 106 00:08:57,520 --> 00:09:00,790 application slashes and content type. 107 00:09:00,790 --> 00:09:01,090 All right. 108 00:09:01,390 --> 00:09:10,210 So we do this and execute it providing authorization addition of year with the screen icon. 109 00:09:10,250 --> 00:09:15,760 So it should be all executing now and get the output as 200 okay. 110 00:09:15,760 --> 00:09:19,560 This site is 890 bytes of response time. 111 00:09:19,800 --> 00:09:30,360 Look is it second set on a pointer that is down nine sit ins and yeah and. 112 00:09:30,830 --> 00:09:35,900 And we do not get any response body back you know. 113 00:09:36,000 --> 00:09:37,810 And we only got rid of this 200. 114 00:09:37,810 --> 00:09:38,150 OK. 115 00:09:38,420 --> 00:09:45,380 So now we go and execute and seek out whether to use it had been updated the default value as could. 116 00:09:45,530 --> 00:09:47,420 So we do see it has been. 117 00:09:47,770 --> 00:09:55,180 So now not to come back to this late point and we try to execute that request to and just without first 118 00:09:55,190 --> 00:09:55,900 name field. 119 00:09:56,260 --> 00:10:01,570 So now again now being updated the first name necessary move this first name now. 120 00:10:01,850 --> 00:10:08,510 So this is at a press call and in the request body we are not sending in an attribute for state. 121 00:10:08,600 --> 00:10:10,260 Let's see what's happened. 122 00:10:10,340 --> 00:10:11,870 What happens now. 123 00:10:11,900 --> 00:10:13,370 So we are executing it. 124 00:10:13,580 --> 00:10:16,160 And so we get to it. 125 00:10:16,160 --> 00:10:16,520 Okay. 126 00:10:16,520 --> 00:10:21,700 And this time would execute four point two seconds notice his party has been done. 127 00:10:21,710 --> 00:10:27,710 And if you try to get that value of the user and let's see what is the value of the first name that 128 00:10:27,710 --> 00:10:28,430 shows up. 129 00:10:29,450 --> 00:10:31,490 So we see the famous names now. 130 00:10:31,700 --> 00:10:37,780 That is the value of first name which was earlier uncle has now been placed with value. 131 00:10:37,790 --> 00:10:41,540 No word to say and dates. 132 00:10:41,540 --> 00:10:47,780 So it tells us that the fields which are in each year which we are not placing into the request partly 133 00:10:47,780 --> 00:10:54,190 for a press column are basically being updated with the default values. 134 00:10:54,200 --> 00:10:57,370 And in this case there was no default value so it has been updated. 135 00:10:57,410 --> 00:10:59,830 These little value. 136 00:11:00,040 --> 00:11:01,440 So now proceeding further. 137 00:11:02,070 --> 00:11:05,940 So in this particular section we will see on the importance of the key. 138 00:11:05,940 --> 00:11:10,640 So what we'll do is we'll do a put operation and we will not specify any user. 139 00:11:11,400 --> 00:11:16,850 Any any key word here any key for the user or user check. 140 00:11:17,340 --> 00:11:21,120 Let's see what happens for us and we'll keep a list of the value the same. 141 00:11:21,130 --> 00:11:23,410 So keep lists list of the bodies same. 142 00:11:23,580 --> 00:11:28,620 And we will execute without the key now to be executed. 143 00:11:28,840 --> 00:11:39,270 So the key and we have to partisan as if you're going to be to discuss all these seeds for the report 144 00:11:39,290 --> 00:11:43,770 not found the status function in both user does not exist didn't return data. 145 00:11:44,220 --> 00:11:48,830 So it expected since we had not provided any provided any key. 146 00:11:49,080 --> 00:11:54,640 And we were doing a put operation part of that together as a function of phone call being made. 147 00:11:54,960 --> 00:11:56,100 But it is not so. 148 00:11:56,100 --> 00:11:59,040 So there is an exception or an error that we can try. 149 00:11:59,460 --> 00:12:03,460 So we need to specify a key for the place. 150 00:12:03,840 --> 00:12:05,590 So let's go through this five points. 151 00:12:05,860 --> 00:12:06,410 Yes. 152 00:12:06,420 --> 00:12:12,420 The problem with that is that if this upgrade has been fierce The budget gives the following error function 153 00:12:12,420 --> 00:12:15,420 and Beaudesert does not exist in the meta data. 154 00:12:15,450 --> 00:12:22,310 The reason being the request is made without mentioning the key for these and that you write upon post 155 00:12:22,350 --> 00:12:28,410 posting the same body on the other as below mentioning along with the key that is we have mentioned 156 00:12:28,440 --> 00:12:36,230 the key now he has requested does this because other people by the way have been put up in this vagueness 157 00:12:36,350 --> 00:12:41,880 particularly for you to understand that I guess you can just kind of an error because I thank you then 158 00:12:41,880 --> 00:12:50,390 you give me your love the action we sometimes forget that okay where am I doing wrong so probably just 159 00:12:50,390 --> 00:12:52,090 can't put a point to that okay. 160 00:12:52,130 --> 00:12:59,150 Probably you're right I have the key for a particular object by exhibiting that that happens quite so 161 00:12:59,150 --> 00:13:03,830 if you have put in a key over here that is the test. 162 00:13:03,830 --> 00:13:08,820 Thanks Vito this weekend. 163 00:13:08,920 --> 00:13:19,580 Thank you sir and then fled have seen it successfully response but just wondered. 164 00:13:19,660 --> 00:13:20,380 OK. 165 00:13:20,660 --> 00:13:27,610 All right so now let's go back here and then forward onto the next slide. 166 00:13:27,620 --> 00:13:34,120 So now we will be talking now a bit over the inline entities and it is the same at a place called quantity 167 00:13:34,130 --> 00:13:35,480 and been discussing upon. 168 00:13:35,930 --> 00:13:38,770 So now here we have the same. 169 00:13:38,870 --> 00:13:47,210 That is all that took place and for that the radius testing 0 7 what we are doing is so custom management 170 00:13:47,270 --> 00:13:49,540 for this navigation right. 171 00:13:49,580 --> 00:13:57,800 So for navigation Ming we have detecting 0 6 but now what we intend to do is like in this particular 172 00:13:57,800 --> 00:14:03,710 place God but we want to do is we want to basically change some of the attributes for an example let's 173 00:14:03,710 --> 00:14:12,500 say you only use the name of the store manager and in deep call where we are sending B we had a the 174 00:14:12,740 --> 00:14:15,940 call waiting we are interacting with the parent object that doesn't use it. 175 00:14:16,580 --> 00:14:26,420 So in a sense what we're trying to do is we're trying to take a child's property in the call. 176 00:14:26,610 --> 00:14:28,190 So where does that do. 177 00:14:28,330 --> 00:14:33,580 So let's try to insecurities I think of this particular request body first. 178 00:14:33,600 --> 00:14:34,020 So 179 00:14:40,990 --> 00:14:48,390 movie and just like this party the custom manager does a particular object of custom manager and he 180 00:14:48,390 --> 00:14:51,950 had in the have he's an insert as any of that. 181 00:14:52,800 --> 00:15:03,100 So we've got this two postmen two and we have we have done this thing. 182 00:15:03,140 --> 00:15:12,620 That idea that we have provided the king to these object and we have provided the Varney here is not 183 00:15:12,630 --> 00:15:19,910 the type to execute it so why did it take 400 bad requests why does it say in lane A.D. eight operations 184 00:15:19,940 --> 00:15:24,700 are only supported by property Esther manages both lead operations. 185 00:15:24,830 --> 00:15:29,920 So it does the beauty of it to any major replication efforts. 186 00:15:29,930 --> 00:15:36,880 Error messages are quite informative and that is a very good application for such responses. 187 00:15:37,190 --> 00:15:43,760 Definitely it is a message that is written in line A.D. right on patients and on this important forum 188 00:15:43,790 --> 00:15:47,920 party system manager for Fleet Operations Center is a base operation. 189 00:15:47,950 --> 00:15:53,330 It's not a fleet of patients despite having a great operation then in line and Judy would have been 190 00:15:53,490 --> 00:15:53,920 right. 191 00:15:54,340 --> 00:15:59,700 But the database operation we can not do an operation on it in nine. 192 00:16:00,380 --> 00:16:01,710 So it could very clean. 193 00:16:01,820 --> 00:16:03,830 So let's go through the state of it here. 194 00:16:05,180 --> 00:16:12,790 So here the particular that is a piece of good hygiene here but the following error it mentions a line 195 00:16:12,860 --> 00:16:18,840 entity vital operations are only supported by property system manager of operations. 196 00:16:18,890 --> 00:16:24,150 So the reason being the request is made which is an update request. 197 00:16:24,170 --> 00:16:29,430 And in it it is anticipated to modify an entity. 198 00:16:29,690 --> 00:16:39,360 So in an update a request we are saying that yes that's the thing for you to do it in a land entity. 199 00:16:39,440 --> 00:16:41,840 That is it shows up over here. 200 00:16:41,860 --> 00:16:47,930 We are and we are trying to update the land properties value as well. 201 00:16:48,400 --> 00:16:55,660 But we can see here a bit of patients both replace and most work on the static entities like properties 202 00:16:56,250 --> 00:16:57,970 common navigation links et cetera. 203 00:16:57,970 --> 00:17:03,920 So they work on the static entities but not on the indirect entities like in nine entities. 204 00:17:03,930 --> 00:17:07,820 Example properties of the users custom manager. 205 00:17:07,990 --> 00:17:09,960 So does the user. 206 00:17:10,330 --> 00:17:13,930 And this is the custom manager. 207 00:17:13,940 --> 00:17:18,220 Let's take you to six of the custom manager of the user testing 0 7. 208 00:17:18,770 --> 00:17:26,570 And what we're trying to do an operation upon is updating the property of the customer management. 209 00:17:26,660 --> 00:17:27,040 Right. 210 00:17:27,130 --> 00:17:29,510 So that is not supported here. 211 00:17:30,470 --> 00:17:34,850 So we can see when we do request carried on user object 212 00:17:38,080 --> 00:17:40,860 going to display here. 213 00:17:41,050 --> 00:17:45,460 So now we will discuss both these ideas to be exist before. 214 00:17:45,530 --> 00:17:46,280 Objection. 215 00:17:46,300 --> 00:17:48,520 So this again same with this call. 216 00:17:49,140 --> 00:17:50,600 So what we are saying is that a. 217 00:17:50,940 --> 00:17:54,940 So hearing for the inline entity are indication being custom manager. 218 00:17:54,990 --> 00:18:04,330 We are trying to put enough value now to provide this particular value distinct 13 but dispelled it 219 00:18:04,320 --> 00:18:05,980 is not already existing. 220 00:18:06,010 --> 00:18:09,530 So we tried to seek out it's been from that. 221 00:18:10,170 --> 00:18:15,790 And then we should understand from the fives here that it's even a testing 30 may exist or not. 222 00:18:16,300 --> 00:18:18,570 So yes it does not exist right. 223 00:18:18,580 --> 00:18:29,510 So what we do is we will try to the value of custom and if it's something which is not existing and 224 00:18:29,730 --> 00:18:33,110 will provide the quality here. 225 00:18:33,700 --> 00:18:36,250 And we will have the same value. 226 00:18:36,260 --> 00:18:42,470 So we have the best on any state 13 and we have one in baseball managing and executing it. 227 00:18:42,590 --> 00:18:49,960 So we get 500 includes over valued customer managing our distance 13. 228 00:18:50,620 --> 00:18:57,200 So if you go back to this slide point so we say we get the error message back. 229 00:18:57,280 --> 00:19:01,810 The reason being that the store manager and keeping based here is an entity that does not exist and 230 00:19:01,820 --> 00:19:04,350 that they're not pursuing this quest either. 231 00:19:04,360 --> 00:19:10,030 They are testing should be created prior to these two issuing this request. 232 00:19:10,030 --> 00:19:14,860 So we did try to shoot this particular request. 233 00:19:15,670 --> 00:19:21,270 So here in Geelong we have discussed upon data this part. 234 00:19:21,390 --> 00:19:27,630 So now we continue further on into this second type of an update which is March called.