(self)
return self.request.get(f'https://{self.BASE_URL}/hmsweb/users/profile')
This call returns the following:
        {
          "data": {
              "_type": "User",
              "firstName": "Joe",
              "lastName": "Bloggs",
              "language": "en",
              "country": "GB",
              "acceptedPolicy": 1,
              "currentPolicy": 1,
              "validEmail": true
          },
          "success": true
        }
This call returns the following:
        {
          "data": {
              "_type": "User",
              "firstName": "Joe",
              "lastName": "Bloggs",
              "language": "en",
              "country": "GB",
              "acceptedPolicy": 1,
              "currentPolicy": 1,
              "validEmail": true
          },
          "success": true
        }
This call returns the following : { data : { _type : User firstName : Joe lastName : Bloggs language : en country : GB acceptedPolicy : 1 currentPolicy : 1 validEmail : true } success : true }
def GetProfile(self):
        """
        This call returns the following:
        {
          "data": {
              "_type": "User",
              "firstName": "Joe",
              "lastName": "Bloggs",
              "language": "en",
              "country": "GB",
              "acceptedPolicy": 1,
              "currentPolicy": 1,
              "validEmail": true
          },
          "success": true
        }
        """
        return self.request.get(f'https://{self.BASE_URL}/hmsweb/users/profile')
def GetProfile ( self ) : return self . request . get ( f'https://{self.BASE_URL}/hmsweb/users/profile' )