Update
Update information of a previously created user.
Request for update
PUT https://customer.staging.meetingdoctors.com/api/v3/pendingCompanyUsers/{token}
Headers
Name | Value |
---|---|
apiKey | Integration identifier provided by MeetingDoctors |
secretKey | Security key provided by MeetingDoctors to securize server-to-server communications |
Content-Type | application/json |
Accept | application/json |
Request body
Parameters
Name | Required | Type | Value |
---|---|---|---|
status | True | Numeric | 0: Free, 2: Premium, 3: No Access |
email | False | String | A valid email |
nid_number | False | String | A valid dni or nie |
firstname | False | String | User's first name |
lastname | False | String | User's last name |
gender | False | Numeric | 0:Male, 1:Female |
birthdate | False | Date | ISO8601 Date (YYYY-MM-DD) |
description | False | String | Extra user information provided by integrator |
has_video_call | False | Numeric | 0:Disabled, 1:Enabled |
has_video_call_1to1 | False | Numeric | 0:Disabled, 1:Enabled |
company_group_code | False | String | Code key that will be provided by MeetingDoctors |
Example
{
"email": "soporte@meetingdoctors.com",
"nid_number": "12345678Z",
"firstname": "Soporte",
"lastname": "MeetingDoctors",
"status": 2,
"gender": 0,
"birthdate": "1990-01-01",
"description": "",
"has_video_call": 1,
"has_video_call_1to1": 1,
"company_group_code": ""
}