Update Member

Update Member

Purpose

To update the Member/location detail of your organization.

Request URL

https://live.membroz.com/api/members/[memberid]

Request Method

PUT
Note
  • Send authkey in https header
  • You must use only Field API names in the input. You can obtain the field API names from Fields metadata API
  • Enterprise customer can replace domain name with their hosting Url. for example https://app.xyz.com/api/members
  • API return updated member data in json format or return error message.

Request JSON

Attribute Data Type Mandatory Description
MEMBERID String Yes The record ID of the member you want to update. it is pass in request
/api/members/[memberid]

Sample Request

curl --location --request PUT 'https://live.membroz.com/api/members/[memberid]' \
--header 'authkey: XXXXXXX' \
--header 'Content-Type: application/json' \
--data-raw ' {
        "_id": "5f5b85b7e1012425ecacba75",
        "firsttimelogin": false,
        "paymentterms": [
            {
                "_id": "5f4897e9393792d03c70948d",
                "taxes": [],
                "paymentitem": {
                    "_id": "5f2409746df10f60d3356625"
                }
            }
        ],
        "status": "active",
        "membernumber": "SAMPL10112",
        "anroiddevices": [],
        "iosdevices": [],
        "addedby": {
            "_id": "5e954c7b9df11624f81e785b",
            "isfirstlogin": false,
            "status": "active",
            "username": "membrozgym@gmail.com",
            "password": "$2a$10$xE/CIr/hKCKvBaaJwUlZHuV7MFi2Ao.9jwh0RAYpAEfgr3dCfNABq",
            "role": "5dd37f876c98a22df08b9509",
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, " {\r\n        \"_id\": \"5f5b85b7e1012425ecacba75\",\r\n        \"firsttimelogin\": false,\r\n        \"paymentterms\": [\r\n            {\r\n                \"_id\": \"5f4897e9393792d03c70948d\",\r\n                \"taxes\": [],\r\n                \"paymentitem\": {\r\n                    \"_id\": \"5f2409746df10f60d3356625\"\r\n                }\r\n            }\r\n        ],\r\n        \"status\": \"active\",\r\n        \"membernumber\": \"SAMPL10112\",\r\n        \"anroiddevices\": [],\r\n        \"iosdevices\": [],\r\n        \"addedby\": {\r\n            \"_id\": \"5e954c7b9df11624f81e785b\",\r\n            \"isfirstlogin\": false,\r\n            \"status\": \"active\",\r\n            \"username\": \"membrozgym@gmail.com\",\r\n            \"password\": \"$2a$10$xE/CIr/hKCKvBaaJwUlZHuV7MFi2Ao.9jwh0RAYpAEfgr3dCfNABq\",\r\n            \"role\": \"5dd37f876c98a22df08b9509\",\r\n            \"anroiddevices\": [\r\n                {\r\n                    \"_id\": \"5ebd0831a6f1722dbd1a604c\",\r\n                    \"deviceid\": \"2599db9b1c4af598\"\r\n                },\r\n                {\r\n                    \"_id\": \"5ed242a4fa2150bfa757d30a\",\r\n                    \"deviceid\": \"f7185abc7e9e2480\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f0ea9703a10b8350917e075\",\r\n                    \"deviceid\": \"57c3fb83d15813a2\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215bba9179ab5f9bee1245\",\r\n                    \"deviceid\": \"8310b78d251fd4de\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215ceb9179ab5f9bee1246\",\r\n                    \"deviceid\": \"e875606486385cb3\"\r\n                }\r\n            ],\r\n            \"iosdevices\": [],\r\n            \"designationid\": \"5ed0b4ad1b4f7c7b2677f62f\",\r\n            \"branchid\": \"5e954c7b9df11624f81e7859\",\r\n            \"property\": {\r\n                \"fullname\": \"Membroz Gym\",\r\n                \"mobile_number\": null,\r\n                \"email\": \"membrozgym@gmail.com\",\r\n                \"country\": \"United States\",\r\n                \"membrozid\": \"5e954c7b9df11624f81e7859\",\r\n                \"isadmin\": false\r\n            },\r\n            \"createdAt\": \"2020-04-14T05:39:07.850Z\",\r\n            \"updatedAt\": \"2020-08-24T12:40:01.713Z\",\r\n            \"fullname\": \"Membroz Gym \",\r\n            \"namenumber\": \"Membroz Gym \"\r\n        },\r\n        \"branchid\": {\r\n            \"_id\": \"5e954c7b9df11624f81e7859\"\r\n        },\r\n        \"username\": \"SAMPL10112\",\r\n        \"password\": \"$2a$10$SnHtB.Py7TFBvwfJE.Absu4smUNu/b3qmIOPmr2iVDgELr9lkw0uu\",\r\n        \"role\": \"59c1fb52b985482b2c610cee\",\r\n        \"addons\": [],\r\n        \"property\": {\r\n            \"fullname\": \"Carlos\",\r\n            \"date_of_birth\": \"1989-09-12T18:30:00.000Z\",\r\n            \"tg\": \"M\",\r\n            \"mobile_number\": \"08758363925\",\r\n            \"whatsapp_number\": null,\r\n            \"email\": \"cmgouveia@outlook.com.br\",\r\n            \"marital_status\": \"Married\",\r\n            \"city\": \"Surat\",\r\n            \"address\": \"B1/402, Silver residency, Hanuman Sheri\",\r\n            \"agreement\": [],\r\n            \"aadhar\": [],\r\n            \"pan\": [],\r\n            \"country\": \"Brazil\"\r\n        },\r\n        \"createdAt\": \"2020-09-11T14:12:07.248Z\",\r\n        \"updatedAt\": \"2020-09-15T17:52:27.591Z\",\r\n        \"fullname\": \"Carlos \",\r\n        \"membernumbername\": \"SAMPL10112 | Carlos  | 08758363925\",\r\n        \"age\": 31,\r\n        \"updatedby\": \"5e954c7b9df11624f81e785b\",\r\n        \"membershipend\": \"2020-09-29T18:30:00.000Z\",\r\n        \"membershipid\": {\r\n            \"_id\": \"5e9598377fb65a4204aab60c\"\r\n        },\r\n        \"membershipstart\": \"2020-08-31T18:30:00.000Z\"\r\n    }");
Request request = new Request.Builder()
  .url("https://live.membroz.com/api/members/[memberid]")
  .method("PUT", body)
  .addHeader("authkey", "XXXXXXX ")
  .addHeader("Content-Type", "application/json")
  .build();
Response response = client.newCall(request).execute();
 "https://live.membroz.com/api/members/[memberid]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PUT",
  CURLOPT_POSTFIELDS =>" {\r\n        \"_id\": \"5f5b85b7e1012425ecacba75\",\r\n        \"firsttimelogin\": false,\r\n        \"paymentterms\": [\r\n            {\r\n                \"_id\": \"5f4897e9393792d03c70948d\",\r\n                \"taxes\": [],\r\n                \"paymentitem\": {\r\n                    \"_id\": \"5f2409746df10f60d3356625\"\r\n                }\r\n            }\r\n        ],\r\n        \"status\": \"active\",\r\n        \"membernumber\": \"SAMPL10112\",\r\n        \"anroiddevices\": [],\r\n        \"iosdevices\": [],\r\n        \"addedby\": {\r\n            \"_id\": \"5e954c7b9df11624f81e785b\",\r\n            \"isfirstlogin\": false,\r\n            \"status\": \"active\",\r\n            \"username\": \"membrozgym@gmail.com\",\r\n            \"password\": \"$2a$10$xE/CIr/hKCKvBaaJwUlZHuV7MFi2Ao.9jwh0RAYpAEfgr3dCfNABq\",\r\n            \"role\": \"5dd37f876c98a22df08b9509\",\r\n            \"anroiddevices\": [\r\n                {\r\n                    \"_id\": \"5ebd0831a6f1722dbd1a604c\",\r\n                    \"deviceid\": \"2599db9b1c4af598\"\r\n                },\r\n                {\r\n                    \"_id\": \"5ed242a4fa2150bfa757d30a\",\r\n                    \"deviceid\": \"f7185abc7e9e2480\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f0ea9703a10b8350917e075\",\r\n                    \"deviceid\": \"57c3fb83d15813a2\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215bba9179ab5f9bee1245\",\r\n                    \"deviceid\": \"8310b78d251fd4de\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215ceb9179ab5f9bee1246\",\r\n                    \"deviceid\": \"e875606486385cb3\"\r\n                }\r\n            ],\r\n            \"iosdevices\": [],\r\n            \"designationid\": \"5ed0b4ad1b4f7c7b2677f62f\",\r\n            \"branchid\": \"5e954c7b9df11624f81e7859\",\r\n            \"property\": {\r\n                \"fullname\": \"Membroz Gym\",\r\n                \"mobile_number\": null,\r\n                \"email\": \"membrozgym@gmail.com\",\r\n                \"country\": \"United States\",\r\n                \"membrozid\": \"5e954c7b9df11624f81e7859\",\r\n                \"isadmin\": false\r\n            },\r\n            \"createdAt\": \"2020-04-14T05:39:07.850Z\",\r\n            \"updatedAt\": \"2020-08-24T12:40:01.713Z\",\r\n            \"fullname\": \"Membroz Gym \",\r\n            \"namenumber\": \"Membroz Gym \"\r\n        },\r\n        \"branchid\": {\r\n            \"_id\": \"5e954c7b9df11624f81e7859\"\r\n        },\r\n        \"username\": \"SAMPL10112\",\r\n        \"password\": \"$2a$10$SnHtB.Py7TFBvwfJE.Absu4smUNu/b3qmIOPmr2iVDgELr9lkw0uu\",\r\n        \"role\": \"59c1fb52b985482b2c610cee\",\r\n        \"addons\": [],\r\n        \"property\": {\r\n            \"fullname\": \"Carlos\",\r\n            \"date_of_birth\": \"1989-09-12T18:30:00.000Z\",\r\n            \"tg\": \"M\",\r\n            \"mobile_number\": \"08758363925\",\r\n            \"whatsapp_number\": null,\r\n            \"email\": \"cmgouveia@outlook.com.br\",\r\n            \"marital_status\": \"Married\",\r\n            \"city\": \"Surat\",\r\n            \"address\": \"B1/402, Silver residency, Hanuman Sheri\",\r\n            \"agreement\": [],\r\n            \"aadhar\": [],\r\n            \"pan\": [],\r\n            \"country\": \"Brazil\"\r\n        },\r\n        \"createdAt\": \"2020-09-11T14:12:07.248Z\",\r\n        \"updatedAt\": \"2020-09-15T17:52:27.591Z\",\r\n        \"fullname\": \"Carlos \",\r\n        \"membernumbername\": \"SAMPL10112 | Carlos  | 08758363925\",\r\n        \"age\": 31,\r\n        \"updatedby\": \"5e954c7b9df11624f81e785b\",\r\n        \"membershipend\": \"2020-09-29T18:30:00.000Z\",\r\n        \"membershipid\": {\r\n            \"_id\": \"5e9598377fb65a4204aab60c\"\r\n        },\r\n        \"membershipstart\": \"2020-08-31T18:30:00.000Z\"\r\n    }",
  CURLOPT_HTTPHEADER => array(
    "authkey: XXXXXXX ",
    "Content-Type: application/json"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
import requests

url = "https://live.membroz.com/api/members/[memberid]"

payload = " {\r\n        \"_id\": \"5f5b85b7e1012425ecacba75\",\r\n        \"firsttimelogin\": false,\r\n        \"paymentterms\": [\r\n            {\r\n                \"_id\": \"5f4897e9393792d03c70948d\",\r\n                \"taxes\": [],\r\n                \"paymentitem\": {\r\n                    \"_id\": \"5f2409746df10f60d3356625\"\r\n                }\r\n            }\r\n        ],\r\n        \"status\": \"active\",\r\n        \"membernumber\": \"SAMPL10112\",\r\n        \"anroiddevices\": [],\r\n        \"iosdevices\": [],\r\n        \"addedby\": {\r\n            \"_id\": \"5e954c7b9df11624f81e785b\",\r\n            \"isfirstlogin\": false,\r\n            \"status\": \"active\",\r\n            \"username\": \"membrozgym@gmail.com\",\r\n            \"password\": \"$2a$10$xE/CIr/hKCKvBaaJwUlZHuV7MFi2Ao.9jwh0RAYpAEfgr3dCfNABq\",\r\n            \"role\": \"5dd37f876c98a22df08b9509\",\r\n            \"anroiddevices\": [\r\n                {\r\n                    \"_id\": \"5ebd0831a6f1722dbd1a604c\",\r\n                    \"deviceid\": \"2599db9b1c4af598\"\r\n                },\r\n                {\r\n                    \"_id\": \"5ed242a4fa2150bfa757d30a\",\r\n                    \"deviceid\": \"f7185abc7e9e2480\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f0ea9703a10b8350917e075\",\r\n                    \"deviceid\": \"57c3fb83d15813a2\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215bba9179ab5f9bee1245\",\r\n                    \"deviceid\": \"8310b78d251fd4de\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215ceb9179ab5f9bee1246\",\r\n                    \"deviceid\": \"e875606486385cb3\"\r\n                }\r\n            ],\r\n            \"iosdevices\": [],\r\n            \"designationid\": \"5ed0b4ad1b4f7c7b2677f62f\",\r\n            \"branchid\": \"5e954c7b9df11624f81e7859\",\r\n            \"property\": {\r\n                \"fullname\": \"Membroz Gym\",\r\n                \"mobile_number\": null,\r\n                \"email\": \"membrozgym@gmail.com\",\r\n                \"country\": \"United States\",\r\n                \"membrozid\": \"5e954c7b9df11624f81e7859\",\r\n                \"isadmin\": false\r\n            },\r\n            \"createdAt\": \"2020-04-14T05:39:07.850Z\",\r\n            \"updatedAt\": \"2020-08-24T12:40:01.713Z\",\r\n            \"fullname\": \"Membroz Gym \",\r\n            \"namenumber\": \"Membroz Gym \"\r\n        },\r\n        \"branchid\": {\r\n            \"_id\": \"5e954c7b9df11624f81e7859\"\r\n        },\r\n        \"username\": \"SAMPL10112\",\r\n        \"password\": \"$2a$10$SnHtB.Py7TFBvwfJE.Absu4smUNu/b3qmIOPmr2iVDgELr9lkw0uu\",\r\n        \"role\": \"59c1fb52b985482b2c610cee\",\r\n        \"addons\": [],\r\n        \"property\": {\r\n            \"fullname\": \"Carlos\",\r\n            \"date_of_birth\": \"1989-09-12T18:30:00.000Z\",\r\n            \"tg\": \"M\",\r\n            \"mobile_number\": \"08758363925\",\r\n            \"whatsapp_number\": null,\r\n            \"email\": \"cmgouveia@outlook.com.br\",\r\n            \"marital_status\": \"Married\",\r\n            \"city\": \"Surat\",\r\n            \"address\": \"B1/402, Silver residency, Hanuman Sheri\",\r\n            \"agreement\": [],\r\n            \"aadhar\": [],\r\n            \"pan\": [],\r\n            \"country\": \"Brazil\"\r\n        },\r\n        \"createdAt\": \"2020-09-11T14:12:07.248Z\",\r\n        \"updatedAt\": \"2020-09-15T17:52:27.591Z\",\r\n        \"fullname\": \"Carlos \",\r\n        \"membernumbername\": \"SAMPL10112 | Carlos  | 08758363925\",\r\n        \"age\": 31,\r\n        \"updatedby\": \"5e954c7b9df11624f81e785b\",\r\n        \"membershipend\": \"2020-09-29T18:30:00.000Z\",\r\n        \"membershipid\": {\r\n            \"_id\": \"5e9598377fb65a4204aab60c\"\r\n        },\r\n        \"membershipstart\": \"2020-08-31T18:30:00.000Z\"\r\n    }"
headers = {
  'authkey': 'XXXXXXX' ,
  'Content-Type': 'application/json'
}

response = requests.request("PUT", url, headers=headers, data = payload)

print(response.text.encode('utf8'))
require "uri"
require "net/http"

url = URI("https://live.membroz.com/api/members/[memberid]")

https = Net::HTTP.new(url.host, url.port);
https.use_ssl = true

request = Net::HTTP::Put.new(url)
request["authkey"] = "XXXXXXX' "
request["Content-Type"] = "application/json"
request.body = " {\r\n        \"_id\": \"5f5b85b7e1012425ecacba75\",\r\n        \"firsttimelogin\": false,\r\n        \"paymentterms\": [\r\n            {\r\n                \"_id\": \"5f4897e9393792d03c70948d\",\r\n                \"taxes\": [],\r\n                \"paymentitem\": {\r\n                    \"_id\": \"5f2409746df10f60d3356625\"\r\n                }\r\n            }\r\n        ],\r\n        \"status\": \"active\",\r\n        \"membernumber\": \"SAMPL10112\",\r\n        \"anroiddevices\": [],\r\n        \"iosdevices\": [],\r\n        \"addedby\": {\r\n            \"_id\": \"5e954c7b9df11624f81e785b\",\r\n            \"isfirstlogin\": false,\r\n            \"status\": \"active\",\r\n            \"username\": \"membrozgym@gmail.com\",\r\n            \"password\": \"$2a$10$xE/CIr/hKCKvBaaJwUlZHuV7MFi2Ao.9jwh0RAYpAEfgr3dCfNABq\",\r\n            \"role\": \"5dd37f876c98a22df08b9509\",\r\n            \"anroiddevices\": [\r\n                {\r\n                    \"_id\": \"5ebd0831a6f1722dbd1a604c\",\r\n                    \"deviceid\": \"2599db9b1c4af598\"\r\n                },\r\n                {\r\n                    \"_id\": \"5ed242a4fa2150bfa757d30a\",\r\n                    \"deviceid\": \"f7185abc7e9e2480\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f0ea9703a10b8350917e075\",\r\n                    \"deviceid\": \"57c3fb83d15813a2\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215bba9179ab5f9bee1245\",\r\n                    \"deviceid\": \"8310b78d251fd4de\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215ceb9179ab5f9bee1246\",\r\n                    \"deviceid\": \"e875606486385cb3\"\r\n                }\r\n            ],\r\n            \"iosdevices\": [],\r\n            \"designationid\": \"5ed0b4ad1b4f7c7b2677f62f\",\r\n            \"branchid\": \"5e954c7b9df11624f81e7859\",\r\n            \"property\": {\r\n                \"fullname\": \"Membroz Gym\",\r\n                \"mobile_number\": null,\r\n                \"email\": \"membrozgym@gmail.com\",\r\n                \"country\": \"United States\",\r\n                \"membrozid\": \"5e954c7b9df11624f81e7859\",\r\n                \"isadmin\": false\r\n            },\r\n            \"createdAt\": \"2020-04-14T05:39:07.850Z\",\r\n            \"updatedAt\": \"2020-08-24T12:40:01.713Z\",\r\n            \"fullname\": \"Membroz Gym \",\r\n            \"namenumber\": \"Membroz Gym \"\r\n        },\r\n        \"branchid\": {\r\n            \"_id\": \"5e954c7b9df11624f81e7859\"\r\n        },\r\n        \"username\": \"SAMPL10112\",\r\n        \"password\": \"$2a$10$SnHtB.Py7TFBvwfJE.Absu4smUNu/b3qmIOPmr2iVDgELr9lkw0uu\",\r\n        \"role\": \"59c1fb52b985482b2c610cee\",\r\n        \"addons\": [],\r\n        \"property\": {\r\n            \"fullname\": \"Carlos\",\r\n            \"date_of_birth\": \"1989-09-12T18:30:00.000Z\",\r\n            \"tg\": \"M\",\r\n            \"mobile_number\": \"08758363925\",\r\n            \"whatsapp_number\": null,\r\n            \"email\": \"cmgouveia@outlook.com.br\",\r\n            \"marital_status\": \"Married\",\r\n            \"city\": \"Surat\",\r\n            \"address\": \"B1/402, Silver residency, Hanuman Sheri\",\r\n            \"agreement\": [],\r\n            \"aadhar\": [],\r\n            \"pan\": [],\r\n            \"country\": \"Brazil\"\r\n        },\r\n        \"createdAt\": \"2020-09-11T14:12:07.248Z\",\r\n        \"updatedAt\": \"2020-09-15T17:52:27.591Z\",\r\n        \"fullname\": \"Carlos \",\r\n        \"membernumbername\": \"SAMPL10112 | Carlos  | 08758363925\",\r\n        \"age\": 31,\r\n        \"updatedby\": \"5e954c7b9df11624f81e785b\",\r\n        \"membershipend\": \"2020-09-29T18:30:00.000Z\",\r\n        \"membershipid\": {\r\n            \"_id\": \"5e9598377fb65a4204aab60c\"\r\n        },\r\n        \"membershipstart\": \"2020-08-31T18:30:00.000Z\"\r\n    }"

response = https.request(request)
puts response.read_body
var client = new RestClient("https://live.membroz.com/api/members/[memberid]");
client.Timeout = -1;
var request = new RestRequest(Method.PUT);
request.AddHeader("authkey", "5e954c7b9df11624f81e785b");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", " {\r\n        \"_id\": \"5f5b85b7e1012425ecacba75\",\r\n        \"firsttimelogin\": false,\r\n        \"paymentterms\": [\r\n            {\r\n                \"_id\": \"5f4897e9393792d03c70948d\",\r\n                \"taxes\": [],\r\n                \"paymentitem\": {\r\n                    \"_id\": \"5f2409746df10f60d3356625\"\r\n                }\r\n            }\r\n        ],\r\n        \"status\": \"active\",\r\n        \"membernumber\": \"SAMPL10112\",\r\n        \"anroiddevices\": [],\r\n        \"iosdevices\": [],\r\n        \"addedby\": {\r\n            \"_id\": \"5e954c7b9df11624f81e785b\",\r\n            \"isfirstlogin\": false,\r\n            \"status\": \"active\",\r\n            \"username\": \"membrozgym@gmail.com\",\r\n            \"password\": \"$2a$10$xE/CIr/hKCKvBaaJwUlZHuV7MFi2Ao.9jwh0RAYpAEfgr3dCfNABq\",\r\n            \"role\": \"5dd37f876c98a22df08b9509\",\r\n            \"anroiddevices\": [\r\n                {\r\n                    \"_id\": \"5ebd0831a6f1722dbd1a604c\",\r\n                    \"deviceid\": \"2599db9b1c4af598\"\r\n                },\r\n                {\r\n                    \"_id\": \"5ed242a4fa2150bfa757d30a\",\r\n                    \"deviceid\": \"f7185abc7e9e2480\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f0ea9703a10b8350917e075\",\r\n                    \"deviceid\": \"57c3fb83d15813a2\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215bba9179ab5f9bee1245\",\r\n                    \"deviceid\": \"8310b78d251fd4de\"\r\n                },\r\n                {\r\n                    \"_id\": \"5f215ceb9179ab5f9bee1246\",\r\n                    \"deviceid\": \"e875606486385cb3\"\r\n                }\r\n            ],\r\n            \"iosdevices\": [],\r\n            \"designationid\": \"5ed0b4ad1b4f7c7b2677f62f\",\r\n            \"branchid\": \"5e954c7b9df11624f81e7859\",\r\n            \"property\": {\r\n                \"fullname\": \"Membroz Gym\",\r\n                \"mobile_number\": null,\r\n                \"email\": \"membrozgym@gmail.com\",\r\n                \"country\": \"United States\",\r\n                \"membrozid\": \"5e954c7b9df11624f81e7859\",\r\n                \"isadmin\": false\r\n            },\r\n            \"createdAt\": \"2020-04-14T05:39:07.850Z\",\r\n            \"updatedAt\": \"2020-08-24T12:40:01.713Z\",\r\n            \"fullname\": \"Membroz Gym \",\r\n            \"namenumber\": \"Membroz Gym \"\r\n        },\r\n        \"branchid\": {\r\n            \"_id\": \"5e954c7b9df11624f81e7859\"\r\n        },\r\n        \"username\": \"SAMPL10112\",\r\n        \"password\": \"$2a$10$SnHtB.Py7TFBvwfJE.Absu4smUNu/b3qmIOPmr2iVDgELr9lkw0uu\",\r\n        \"role\": \"59c1fb52b985482b2c610cee\",\r\n        \"addons\": [],\r\n        \"property\": {\r\n            \"fullname\": \"Carlos\",\r\n            \"date_of_birth\": \"1989-09-12T18:30:00.000Z\",\r\n            \"tg\": \"M\",\r\n            \"mobile_number\": \"08758363925\",\r\n            \"whatsapp_number\": null,\r\n            \"email\": \"cmgouveia@outlook.com.br\",\r\n            \"marital_status\": \"Married\",\r\n            \"city\": \"Surat\",\r\n            \"address\": \"B1/402, Silver residency, Hanuman Sheri\",\r\n            \"agreement\": [],\r\n            \"aadhar\": [],\r\n            \"pan\": [],\r\n            \"country\": \"Brazil\"\r\n        },\r\n        \"createdAt\": \"2020-09-11T14:12:07.248Z\",\r\n        \"updatedAt\": \"2020-09-15T17:52:27.591Z\",\r\n        \"fullname\": \"Carlos \",\r\n        \"membernumbername\": \"SAMPL10112 | Carlos  | 08758363925\",\r\n        \"age\": 31,\r\n        \"updatedby\": \"5e954c7b9df11624f81e785b\",\r\n        \"membershipend\": \"2020-09-29T18:30:00.000Z\",\r\n        \"membershipid\": {\r\n            \"_id\": \"5e9598377fb65a4204aab60c\"\r\n        },\r\n        \"membershipstart\": \"2020-08-31T18:30:00.000Z\"\r\n    }",  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Possible Errors

HTTP Status Error Code Message Reason
permission denied 403 You do not have permission

Sample Response

{
    "firsttimelogin": false,
    "paymentterms":  "5f4897e9393792d03c70948d",
    "status": "active",
    "_id": "5f5b85b7e1012425ecacba75",
    "membernumber": "SAMPL10112",
    "anroiddevices": [],
    "iosdevices": [],
    "addedby": "5e954c7b9df11624f81e785b",
    "username": "SAMPL10112",
    "password": "$2a$10$SnHtB.Py7TFBvwfJE.Absu4smUNu/b3qmIOPmr2iVDgELr9lkw0uu",
    "role": "59c1fb52b985482b2c610cee",
    "addons": [],
    "property": {
        "fullname": "Carlos",
        "date_of_birth": "1989-09-12T18:30:00.000Z",
        "tg": "M",
        "mobile_number": "08758363925",
        "whatsapp_number": null,
        "email": "cmgouveia@outlook.com.br",
        "marital_status": "Married",
        "city": "Surat",
        "address": "B1/402, Silver residency, Hanuman Sheri",
        "agreement": [],
        "aadhar": [],
        "pan": [],
        "country": "Brazil"
    },
    "createdAt": "2020-09-11T14:12:07.248Z",
    "updatedAt": "2020-09-15T17:52:27.591Z",
    "fullname": "Carlos ",
    "membernumbername": "SAMPL10112 | Carlos  | 08758363925",
    "age": 31,
    "updatedby": "5e954c7b9df11624f81e785b",
    "membershipend": "2020-09-29T18:30:00.000Z",
    "membershipid":"5e9598377fb65a4204aab60c",
    "membershipstart": "2020-08-31T18:30:00.000Z"
}
Send Message
Hello!
How can we help!