How to Add\Update\Retrieve\Delete a record from the Data Type using Service REST?- Part 3

PUT


Here, I am going to use PUT method to update the existing record of the data type.
  • Below is the Class hierarchy which I have used.
 My main class is : OCTBK2-Int-Services

            ->PutCustomerRequest- Page
            ->PutCustomerResponse- Page

We will be updating the record below which we inserted using POST method in our previous post. 
Request Property Mapping

  • Below is the Service Activity to update the record into Data Type.

 Response Property Mapping

Now, we are done with defining request,response and activity. Let's execute and see the results. 😊
Request JSON

Response JSON

After Update





To be continued..

Popular Posts