Update a member
curl --request PATCH \
--url https://www.ruddr.io/api/workspace/members/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "<string>",
"isActive": true,
"isBillable": true,
"loginEnabled": true,
"defaultRate": 123,
"defaultRateCurrency": "<string>",
"activeStartDate": "2023-12-25",
"activeEndDate": "2023-12-25",
"timeOffAllowed": true,
"receiveMissingTimeReminders": true,
"unsubmittedTimesheetReminders": true,
"automaticTimesheetSubmissionConfirmation": true,
"forbidTimesheetSubmissionWhenBelowCapacity": true,
"internalId": "<string>",
"internalNotes": "<string>",
"trackTimeByDuration": true,
"trackTimeByTimeRange": true,
"securityRoleId": "<string>",
"jobTitleId": "<string>",
"memberLevelId": "<string>",
"disciplineId": "<string>",
"businessUnitId": "<string>",
"practiceId": "<string>",
"locationId": "<string>",
"managerId": "<string>",
"timeOffApproverId": "<string>",
"internalExpenseApproverId": "<string>",
"holidayScheduleId": "<string>",
"tagIds": [
"<string>"
],
"certificationIds": [
"<string>"
],
"skillIds": [
"<string>"
],
"timeOffTypeIds": [
"<string>"
]
}
'import requests
url = "https://www.ruddr.io/api/workspace/members/{id}"
payload = {
"name": "<string>",
"email": "<string>",
"isActive": True,
"isBillable": True,
"loginEnabled": True,
"defaultRate": 123,
"defaultRateCurrency": "<string>",
"activeStartDate": "2023-12-25",
"activeEndDate": "2023-12-25",
"timeOffAllowed": True,
"receiveMissingTimeReminders": True,
"unsubmittedTimesheetReminders": True,
"automaticTimesheetSubmissionConfirmation": True,
"forbidTimesheetSubmissionWhenBelowCapacity": True,
"internalId": "<string>",
"internalNotes": "<string>",
"trackTimeByDuration": True,
"trackTimeByTimeRange": True,
"securityRoleId": "<string>",
"jobTitleId": "<string>",
"memberLevelId": "<string>",
"disciplineId": "<string>",
"businessUnitId": "<string>",
"practiceId": "<string>",
"locationId": "<string>",
"managerId": "<string>",
"timeOffApproverId": "<string>",
"internalExpenseApproverId": "<string>",
"holidayScheduleId": "<string>",
"tagIds": ["<string>"],
"certificationIds": ["<string>"],
"skillIds": ["<string>"],
"timeOffTypeIds": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
email: '<string>',
isActive: true,
isBillable: true,
loginEnabled: true,
defaultRate: 123,
defaultRateCurrency: '<string>',
activeStartDate: '2023-12-25',
activeEndDate: '2023-12-25',
timeOffAllowed: true,
receiveMissingTimeReminders: true,
unsubmittedTimesheetReminders: true,
automaticTimesheetSubmissionConfirmation: true,
forbidTimesheetSubmissionWhenBelowCapacity: true,
internalId: '<string>',
internalNotes: '<string>',
trackTimeByDuration: true,
trackTimeByTimeRange: true,
securityRoleId: '<string>',
jobTitleId: '<string>',
memberLevelId: '<string>',
disciplineId: '<string>',
businessUnitId: '<string>',
practiceId: '<string>',
locationId: '<string>',
managerId: '<string>',
timeOffApproverId: '<string>',
internalExpenseApproverId: '<string>',
holidayScheduleId: '<string>',
tagIds: ['<string>'],
certificationIds: ['<string>'],
skillIds: ['<string>'],
timeOffTypeIds: ['<string>']
})
};
fetch('https://www.ruddr.io/api/workspace/members/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.ruddr.io/api/workspace/members/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'email' => '<string>',
'isActive' => true,
'isBillable' => true,
'loginEnabled' => true,
'defaultRate' => 123,
'defaultRateCurrency' => '<string>',
'activeStartDate' => '2023-12-25',
'activeEndDate' => '2023-12-25',
'timeOffAllowed' => true,
'receiveMissingTimeReminders' => true,
'unsubmittedTimesheetReminders' => true,
'automaticTimesheetSubmissionConfirmation' => true,
'forbidTimesheetSubmissionWhenBelowCapacity' => true,
'internalId' => '<string>',
'internalNotes' => '<string>',
'trackTimeByDuration' => true,
'trackTimeByTimeRange' => true,
'securityRoleId' => '<string>',
'jobTitleId' => '<string>',
'memberLevelId' => '<string>',
'disciplineId' => '<string>',
'businessUnitId' => '<string>',
'practiceId' => '<string>',
'locationId' => '<string>',
'managerId' => '<string>',
'timeOffApproverId' => '<string>',
'internalExpenseApproverId' => '<string>',
'holidayScheduleId' => '<string>',
'tagIds' => [
'<string>'
],
'certificationIds' => [
'<string>'
],
'skillIds' => [
'<string>'
],
'timeOffTypeIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://www.ruddr.io/api/workspace/members/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"isActive\": true,\n \"isBillable\": true,\n \"loginEnabled\": true,\n \"defaultRate\": 123,\n \"defaultRateCurrency\": \"<string>\",\n \"activeStartDate\": \"2023-12-25\",\n \"activeEndDate\": \"2023-12-25\",\n \"timeOffAllowed\": true,\n \"receiveMissingTimeReminders\": true,\n \"unsubmittedTimesheetReminders\": true,\n \"automaticTimesheetSubmissionConfirmation\": true,\n \"forbidTimesheetSubmissionWhenBelowCapacity\": true,\n \"internalId\": \"<string>\",\n \"internalNotes\": \"<string>\",\n \"trackTimeByDuration\": true,\n \"trackTimeByTimeRange\": true,\n \"securityRoleId\": \"<string>\",\n \"jobTitleId\": \"<string>\",\n \"memberLevelId\": \"<string>\",\n \"disciplineId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"practiceId\": \"<string>\",\n \"locationId\": \"<string>\",\n \"managerId\": \"<string>\",\n \"timeOffApproverId\": \"<string>\",\n \"internalExpenseApproverId\": \"<string>\",\n \"holidayScheduleId\": \"<string>\",\n \"tagIds\": [\n \"<string>\"\n ],\n \"certificationIds\": [\n \"<string>\"\n ],\n \"skillIds\": [\n \"<string>\"\n ],\n \"timeOffTypeIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://www.ruddr.io/api/workspace/members/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"isActive\": true,\n \"isBillable\": true,\n \"loginEnabled\": true,\n \"defaultRate\": 123,\n \"defaultRateCurrency\": \"<string>\",\n \"activeStartDate\": \"2023-12-25\",\n \"activeEndDate\": \"2023-12-25\",\n \"timeOffAllowed\": true,\n \"receiveMissingTimeReminders\": true,\n \"unsubmittedTimesheetReminders\": true,\n \"automaticTimesheetSubmissionConfirmation\": true,\n \"forbidTimesheetSubmissionWhenBelowCapacity\": true,\n \"internalId\": \"<string>\",\n \"internalNotes\": \"<string>\",\n \"trackTimeByDuration\": true,\n \"trackTimeByTimeRange\": true,\n \"securityRoleId\": \"<string>\",\n \"jobTitleId\": \"<string>\",\n \"memberLevelId\": \"<string>\",\n \"disciplineId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"practiceId\": \"<string>\",\n \"locationId\": \"<string>\",\n \"managerId\": \"<string>\",\n \"timeOffApproverId\": \"<string>\",\n \"internalExpenseApproverId\": \"<string>\",\n \"holidayScheduleId\": \"<string>\",\n \"tagIds\": [\n \"<string>\"\n ],\n \"certificationIds\": [\n \"<string>\"\n ],\n \"skillIds\": [\n \"<string>\"\n ],\n \"timeOffTypeIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.ruddr.io/api/workspace/members/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"isActive\": true,\n \"isBillable\": true,\n \"loginEnabled\": true,\n \"defaultRate\": 123,\n \"defaultRateCurrency\": \"<string>\",\n \"activeStartDate\": \"2023-12-25\",\n \"activeEndDate\": \"2023-12-25\",\n \"timeOffAllowed\": true,\n \"receiveMissingTimeReminders\": true,\n \"unsubmittedTimesheetReminders\": true,\n \"automaticTimesheetSubmissionConfirmation\": true,\n \"forbidTimesheetSubmissionWhenBelowCapacity\": true,\n \"internalId\": \"<string>\",\n \"internalNotes\": \"<string>\",\n \"trackTimeByDuration\": true,\n \"trackTimeByTimeRange\": true,\n \"securityRoleId\": \"<string>\",\n \"jobTitleId\": \"<string>\",\n \"memberLevelId\": \"<string>\",\n \"disciplineId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"practiceId\": \"<string>\",\n \"locationId\": \"<string>\",\n \"managerId\": \"<string>\",\n \"timeOffApproverId\": \"<string>\",\n \"internalExpenseApproverId\": \"<string>\",\n \"holidayScheduleId\": \"<string>\",\n \"tagIds\": [\n \"<string>\"\n ],\n \"certificationIds\": [\n \"<string>\"\n ],\n \"skillIds\": [\n \"<string>\"\n ],\n \"timeOffTypeIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "d2e30834-2092-4d8b-aae8-1f58fa4594cb",
"name": "Jane Smith",
"email": "jane.smith@example.com",
"isActive": true,
"isBillable": true,
"loginEnabled": true,
"invitationStatusId": "accepted",
"employmentTypeId": "employee",
"costMethodId": "fixed_hourly",
"defaultRate": 150,
"defaultRateCurrency": "USD",
"activeStartDate": "2025-01-15",
"activeEndDate": "2027-06-30",
"timeOffAllowed": true,
"allowedTimeOffTypes": "custom",
"timeOffApprovalMode": "member",
"internalExpenseApprovalMode": "member",
"receiveMissingTimeReminders": true,
"unsubmittedTimesheetReminders": true,
"automaticTimesheetSubmissionConfirmation": true,
"timesheetCapacityPolicy": "unrestricted",
"internalId": "EMP-001",
"internalNotes": "Senior consultant with expertise in cloud architecture.",
"createdAt": "2025-01-15T20:47:03.284Z",
"modifiedAt": "2025-02-05T20:47:03.284Z",
"trackTimeByDuration": true,
"trackTimeByTimeRange": false,
"securityRole": {
"id": "b8c9d0e1-f2a3-4456-1278-901234567b23",
"name": "Member"
},
"jobTitle": {
"id": "a1b2c3d4-e5f6-4789-ab01-234567890abc",
"name": "Senior Consultant"
},
"level": {
"id": "b2c3d4e5-f6a7-4890-bc12-345678901bcd",
"name": "Senior"
},
"discipline": {
"id": "c3d4e5f6-a7b8-4901-cd23-456789012cde",
"name": "Engineering"
},
"businessUnit": {
"id": "9d6f1c2a-3b8e-4f57-ad21-7e0c4f9b8d34",
"name": "North America"
},
"practice": {
"id": "d4e5f6a7-b8c9-4012-de34-567890123def",
"name": "Consulting"
},
"location": {
"id": "e5f6a7b8-c9d0-4123-ef45-678901234ef0",
"name": "San Francisco"
},
"manager": {
"id": "f6a7b8c9-d0e1-4234-f056-789012345f01",
"name": "Robert Chen"
},
"timeOffApprover": {
"id": "7b8c9d0e-1f2a-4345-a167-890123456b12",
"name": "Sarah Kim"
},
"internalExpenseApprover": {
"id": "82866d0d-ab62-43cd-92b8-a30ecc78bd89",
"name": "Priya Patel"
},
"holidaySchedule": {
"id": "a7b8c9d0-e1f2-4345-0167-890123456a12",
"name": "US Holidays"
},
"tags": [
{
"id": "c9d0e1f2-a3b4-4567-2389-012345678c34",
"name": "Billable"
}
],
"certifications": [
{
"id": "d0e1f2a3-b4c5-4678-34ab-123456789d45",
"name": "AWS Certified Solutions Architect"
}
],
"skills": [
{
"id": "e1f2a3b4-c5d6-4789-45bc-234567890e56",
"name": "Python"
}
],
"timeOffTypes": [
{
"id": "a3b4c5d6-e7f8-4901-67de-456789012a78",
"name": "Vacation"
}
],
"availabilityPeriods": [
{
"id": "f2a3b4c5-d6e7-4890-56cd-345678901f67",
"start": "2025-01-15",
"end": "2026-12-31",
"hoursPerDay": [
0,
8,
8,
8,
8,
8,
0
]
}
],
"costPeriods": [
{
"id": "b4c5d6e7-f8a9-4012-78ef-567890123b89",
"start": "2025-01-15",
"end": "2026-12-31",
"currency": "USD",
"costMethodId": "fixed_hourly",
"costPerHour": 100,
"overheadCostPerHour": 20,
"totalCostPerHour": 120,
"costPerMonth": null,
"overheadCostPerMonth": null,
"totalCostPerMonth": null,
"currencyName": "US Dollar"
}
],
"utilizationTargetPeriods": [
{
"id": "c5d6e7f8-a9b0-4123-89f0-678901234c90",
"start": "2025-01-15",
"end": "2026-12-31",
"targetPercentage": 80
}
],
"forbidTimesheetSubmissionWhenBelowCapacity": false
}Members
Update a member
PATCH
/
members
/
{id}
Update a member
curl --request PATCH \
--url https://www.ruddr.io/api/workspace/members/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "<string>",
"isActive": true,
"isBillable": true,
"loginEnabled": true,
"defaultRate": 123,
"defaultRateCurrency": "<string>",
"activeStartDate": "2023-12-25",
"activeEndDate": "2023-12-25",
"timeOffAllowed": true,
"receiveMissingTimeReminders": true,
"unsubmittedTimesheetReminders": true,
"automaticTimesheetSubmissionConfirmation": true,
"forbidTimesheetSubmissionWhenBelowCapacity": true,
"internalId": "<string>",
"internalNotes": "<string>",
"trackTimeByDuration": true,
"trackTimeByTimeRange": true,
"securityRoleId": "<string>",
"jobTitleId": "<string>",
"memberLevelId": "<string>",
"disciplineId": "<string>",
"businessUnitId": "<string>",
"practiceId": "<string>",
"locationId": "<string>",
"managerId": "<string>",
"timeOffApproverId": "<string>",
"internalExpenseApproverId": "<string>",
"holidayScheduleId": "<string>",
"tagIds": [
"<string>"
],
"certificationIds": [
"<string>"
],
"skillIds": [
"<string>"
],
"timeOffTypeIds": [
"<string>"
]
}
'import requests
url = "https://www.ruddr.io/api/workspace/members/{id}"
payload = {
"name": "<string>",
"email": "<string>",
"isActive": True,
"isBillable": True,
"loginEnabled": True,
"defaultRate": 123,
"defaultRateCurrency": "<string>",
"activeStartDate": "2023-12-25",
"activeEndDate": "2023-12-25",
"timeOffAllowed": True,
"receiveMissingTimeReminders": True,
"unsubmittedTimesheetReminders": True,
"automaticTimesheetSubmissionConfirmation": True,
"forbidTimesheetSubmissionWhenBelowCapacity": True,
"internalId": "<string>",
"internalNotes": "<string>",
"trackTimeByDuration": True,
"trackTimeByTimeRange": True,
"securityRoleId": "<string>",
"jobTitleId": "<string>",
"memberLevelId": "<string>",
"disciplineId": "<string>",
"businessUnitId": "<string>",
"practiceId": "<string>",
"locationId": "<string>",
"managerId": "<string>",
"timeOffApproverId": "<string>",
"internalExpenseApproverId": "<string>",
"holidayScheduleId": "<string>",
"tagIds": ["<string>"],
"certificationIds": ["<string>"],
"skillIds": ["<string>"],
"timeOffTypeIds": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
email: '<string>',
isActive: true,
isBillable: true,
loginEnabled: true,
defaultRate: 123,
defaultRateCurrency: '<string>',
activeStartDate: '2023-12-25',
activeEndDate: '2023-12-25',
timeOffAllowed: true,
receiveMissingTimeReminders: true,
unsubmittedTimesheetReminders: true,
automaticTimesheetSubmissionConfirmation: true,
forbidTimesheetSubmissionWhenBelowCapacity: true,
internalId: '<string>',
internalNotes: '<string>',
trackTimeByDuration: true,
trackTimeByTimeRange: true,
securityRoleId: '<string>',
jobTitleId: '<string>',
memberLevelId: '<string>',
disciplineId: '<string>',
businessUnitId: '<string>',
practiceId: '<string>',
locationId: '<string>',
managerId: '<string>',
timeOffApproverId: '<string>',
internalExpenseApproverId: '<string>',
holidayScheduleId: '<string>',
tagIds: ['<string>'],
certificationIds: ['<string>'],
skillIds: ['<string>'],
timeOffTypeIds: ['<string>']
})
};
fetch('https://www.ruddr.io/api/workspace/members/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.ruddr.io/api/workspace/members/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'email' => '<string>',
'isActive' => true,
'isBillable' => true,
'loginEnabled' => true,
'defaultRate' => 123,
'defaultRateCurrency' => '<string>',
'activeStartDate' => '2023-12-25',
'activeEndDate' => '2023-12-25',
'timeOffAllowed' => true,
'receiveMissingTimeReminders' => true,
'unsubmittedTimesheetReminders' => true,
'automaticTimesheetSubmissionConfirmation' => true,
'forbidTimesheetSubmissionWhenBelowCapacity' => true,
'internalId' => '<string>',
'internalNotes' => '<string>',
'trackTimeByDuration' => true,
'trackTimeByTimeRange' => true,
'securityRoleId' => '<string>',
'jobTitleId' => '<string>',
'memberLevelId' => '<string>',
'disciplineId' => '<string>',
'businessUnitId' => '<string>',
'practiceId' => '<string>',
'locationId' => '<string>',
'managerId' => '<string>',
'timeOffApproverId' => '<string>',
'internalExpenseApproverId' => '<string>',
'holidayScheduleId' => '<string>',
'tagIds' => [
'<string>'
],
'certificationIds' => [
'<string>'
],
'skillIds' => [
'<string>'
],
'timeOffTypeIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://www.ruddr.io/api/workspace/members/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"isActive\": true,\n \"isBillable\": true,\n \"loginEnabled\": true,\n \"defaultRate\": 123,\n \"defaultRateCurrency\": \"<string>\",\n \"activeStartDate\": \"2023-12-25\",\n \"activeEndDate\": \"2023-12-25\",\n \"timeOffAllowed\": true,\n \"receiveMissingTimeReminders\": true,\n \"unsubmittedTimesheetReminders\": true,\n \"automaticTimesheetSubmissionConfirmation\": true,\n \"forbidTimesheetSubmissionWhenBelowCapacity\": true,\n \"internalId\": \"<string>\",\n \"internalNotes\": \"<string>\",\n \"trackTimeByDuration\": true,\n \"trackTimeByTimeRange\": true,\n \"securityRoleId\": \"<string>\",\n \"jobTitleId\": \"<string>\",\n \"memberLevelId\": \"<string>\",\n \"disciplineId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"practiceId\": \"<string>\",\n \"locationId\": \"<string>\",\n \"managerId\": \"<string>\",\n \"timeOffApproverId\": \"<string>\",\n \"internalExpenseApproverId\": \"<string>\",\n \"holidayScheduleId\": \"<string>\",\n \"tagIds\": [\n \"<string>\"\n ],\n \"certificationIds\": [\n \"<string>\"\n ],\n \"skillIds\": [\n \"<string>\"\n ],\n \"timeOffTypeIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://www.ruddr.io/api/workspace/members/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"isActive\": true,\n \"isBillable\": true,\n \"loginEnabled\": true,\n \"defaultRate\": 123,\n \"defaultRateCurrency\": \"<string>\",\n \"activeStartDate\": \"2023-12-25\",\n \"activeEndDate\": \"2023-12-25\",\n \"timeOffAllowed\": true,\n \"receiveMissingTimeReminders\": true,\n \"unsubmittedTimesheetReminders\": true,\n \"automaticTimesheetSubmissionConfirmation\": true,\n \"forbidTimesheetSubmissionWhenBelowCapacity\": true,\n \"internalId\": \"<string>\",\n \"internalNotes\": \"<string>\",\n \"trackTimeByDuration\": true,\n \"trackTimeByTimeRange\": true,\n \"securityRoleId\": \"<string>\",\n \"jobTitleId\": \"<string>\",\n \"memberLevelId\": \"<string>\",\n \"disciplineId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"practiceId\": \"<string>\",\n \"locationId\": \"<string>\",\n \"managerId\": \"<string>\",\n \"timeOffApproverId\": \"<string>\",\n \"internalExpenseApproverId\": \"<string>\",\n \"holidayScheduleId\": \"<string>\",\n \"tagIds\": [\n \"<string>\"\n ],\n \"certificationIds\": [\n \"<string>\"\n ],\n \"skillIds\": [\n \"<string>\"\n ],\n \"timeOffTypeIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.ruddr.io/api/workspace/members/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"isActive\": true,\n \"isBillable\": true,\n \"loginEnabled\": true,\n \"defaultRate\": 123,\n \"defaultRateCurrency\": \"<string>\",\n \"activeStartDate\": \"2023-12-25\",\n \"activeEndDate\": \"2023-12-25\",\n \"timeOffAllowed\": true,\n \"receiveMissingTimeReminders\": true,\n \"unsubmittedTimesheetReminders\": true,\n \"automaticTimesheetSubmissionConfirmation\": true,\n \"forbidTimesheetSubmissionWhenBelowCapacity\": true,\n \"internalId\": \"<string>\",\n \"internalNotes\": \"<string>\",\n \"trackTimeByDuration\": true,\n \"trackTimeByTimeRange\": true,\n \"securityRoleId\": \"<string>\",\n \"jobTitleId\": \"<string>\",\n \"memberLevelId\": \"<string>\",\n \"disciplineId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"practiceId\": \"<string>\",\n \"locationId\": \"<string>\",\n \"managerId\": \"<string>\",\n \"timeOffApproverId\": \"<string>\",\n \"internalExpenseApproverId\": \"<string>\",\n \"holidayScheduleId\": \"<string>\",\n \"tagIds\": [\n \"<string>\"\n ],\n \"certificationIds\": [\n \"<string>\"\n ],\n \"skillIds\": [\n \"<string>\"\n ],\n \"timeOffTypeIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "d2e30834-2092-4d8b-aae8-1f58fa4594cb",
"name": "Jane Smith",
"email": "jane.smith@example.com",
"isActive": true,
"isBillable": true,
"loginEnabled": true,
"invitationStatusId": "accepted",
"employmentTypeId": "employee",
"costMethodId": "fixed_hourly",
"defaultRate": 150,
"defaultRateCurrency": "USD",
"activeStartDate": "2025-01-15",
"activeEndDate": "2027-06-30",
"timeOffAllowed": true,
"allowedTimeOffTypes": "custom",
"timeOffApprovalMode": "member",
"internalExpenseApprovalMode": "member",
"receiveMissingTimeReminders": true,
"unsubmittedTimesheetReminders": true,
"automaticTimesheetSubmissionConfirmation": true,
"timesheetCapacityPolicy": "unrestricted",
"internalId": "EMP-001",
"internalNotes": "Senior consultant with expertise in cloud architecture.",
"createdAt": "2025-01-15T20:47:03.284Z",
"modifiedAt": "2025-02-05T20:47:03.284Z",
"trackTimeByDuration": true,
"trackTimeByTimeRange": false,
"securityRole": {
"id": "b8c9d0e1-f2a3-4456-1278-901234567b23",
"name": "Member"
},
"jobTitle": {
"id": "a1b2c3d4-e5f6-4789-ab01-234567890abc",
"name": "Senior Consultant"
},
"level": {
"id": "b2c3d4e5-f6a7-4890-bc12-345678901bcd",
"name": "Senior"
},
"discipline": {
"id": "c3d4e5f6-a7b8-4901-cd23-456789012cde",
"name": "Engineering"
},
"businessUnit": {
"id": "9d6f1c2a-3b8e-4f57-ad21-7e0c4f9b8d34",
"name": "North America"
},
"practice": {
"id": "d4e5f6a7-b8c9-4012-de34-567890123def",
"name": "Consulting"
},
"location": {
"id": "e5f6a7b8-c9d0-4123-ef45-678901234ef0",
"name": "San Francisco"
},
"manager": {
"id": "f6a7b8c9-d0e1-4234-f056-789012345f01",
"name": "Robert Chen"
},
"timeOffApprover": {
"id": "7b8c9d0e-1f2a-4345-a167-890123456b12",
"name": "Sarah Kim"
},
"internalExpenseApprover": {
"id": "82866d0d-ab62-43cd-92b8-a30ecc78bd89",
"name": "Priya Patel"
},
"holidaySchedule": {
"id": "a7b8c9d0-e1f2-4345-0167-890123456a12",
"name": "US Holidays"
},
"tags": [
{
"id": "c9d0e1f2-a3b4-4567-2389-012345678c34",
"name": "Billable"
}
],
"certifications": [
{
"id": "d0e1f2a3-b4c5-4678-34ab-123456789d45",
"name": "AWS Certified Solutions Architect"
}
],
"skills": [
{
"id": "e1f2a3b4-c5d6-4789-45bc-234567890e56",
"name": "Python"
}
],
"timeOffTypes": [
{
"id": "a3b4c5d6-e7f8-4901-67de-456789012a78",
"name": "Vacation"
}
],
"availabilityPeriods": [
{
"id": "f2a3b4c5-d6e7-4890-56cd-345678901f67",
"start": "2025-01-15",
"end": "2026-12-31",
"hoursPerDay": [
0,
8,
8,
8,
8,
8,
0
]
}
],
"costPeriods": [
{
"id": "b4c5d6e7-f8a9-4012-78ef-567890123b89",
"start": "2025-01-15",
"end": "2026-12-31",
"currency": "USD",
"costMethodId": "fixed_hourly",
"costPerHour": 100,
"overheadCostPerHour": 20,
"totalCostPerHour": 120,
"costPerMonth": null,
"overheadCostPerMonth": null,
"totalCostPerMonth": null,
"currencyName": "US Dollar"
}
],
"utilizationTargetPeriods": [
{
"id": "c5d6e7f8-a9b0-4123-89f0-678901234c90",
"start": "2025-01-15",
"end": "2026-12-31",
"targetPercentage": 80
}
],
"forbidTimesheetSubmissionWhenBelowCapacity": false
}A person that belongs to your workspace.
Authorizations
Body
application/json
Response
200