Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1.The format of billing slab data is:

Code Block
{

...


        "tenantId": "{{tenantId}}",

...


           "capacityFrom":"{{capacityFrom}}",

...


           "capacityTo": "{{capacityTo}}",

...


           "propertyType": "{{propertyType}}",

...


           "slum": "{{slum}}",

...


           "price": "{{price}}",

...


           "status": "{{status}}"

...


   }

Eg.

Code Block
{

...


        "tenantId": "pg.rourkela",

...


        "capacityFrom": 0,

...


        "capacityTo": 1000,

...


        "propertyType": "RESIDENTIAL",

...


        "slum": "YES",

...


        "price": 800,

...


        "status": "ACTIVE"

...


    }

2.The capacity always starts from 0.

3.Example. If the given capacity is 1000 and 3000 then the range should be:

...

  1. The format of updating billing slab data is:

Code Block
{

...


       "id": "{{id}}",

...


       "tenantId": "{{tenantId}}",

...


       "capacityFrom": "{{capacityFrom}}",

...


       "capacityTo": "{{capacityTo}}",

...


       "propertyType": "{{propertyType}}",

...


       "slum": "{{slum}}",

...


       "price": "{{price}}",

...


       "status": "{{status}}",

...


       "auditDetails": {

...


           "createdBy": "0ea42eb0-4406-4acf-91b0-52eca31403ab",

...


           "lastModifiedBy": "0ea42eb0-4406-4acf-91b0-52eca31403ab",

...


           "createdTime": 1685258218048,

...


           "lastModifiedTime": 1685258218048

...


       }

...


   }

2.If the need is to update the price for all the slums from 800 to 500,for this Take the response from search api for slum “YES”,make a json file with updated price and push it using runner with the syntax mentioned in point 1.

...