curl --location 'http://fssportal.com/api/v1/measurements/series_window_with_draperies_add_edit' \
--header 'X-API-Token: YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"user_id": 68,
"client_id": 1856,
"room_id": 4945,
"measurement_type_id": 1,
"unit_type": "metrix",
"mount_type": "",
"window_name": "test",
"floor_to_ceiling": "",
"floor_to_trim": "",
"floor_to_sill": "",
"wall_to_wall": "",
"left_wall_to_window": "",
"left_wall_to_trim": "",
"middle_a-b_width": "",
"middle_a-b_trim_to_trim": "",
"window_a_to_break": "",
"window_b_to_break": "",
"top_trim_to_obstruction": "",
"top_trim_to_curtain_rod": "",
"top_trim_to_molding": "",
"top_trim_to_ceiling": "",
"middle_b-c_trim_to_trim": "",
"middle_b-c_width": "",
"middle_c-d_trim_to_trim": "",
"middle_c-d_width": "",
"middle_d-e_width": "",
"middle_d-e_trim_to_trim": "",
"window_e_to_break": "",
"window_d_to_break": "",
"window_a-e_outside_width": "",
"window_a-e_outside_height": "",
"right_wall_to_window": "",
"right_wall_to_trim": "",
"curtain_rod_length": "",
"curtain_rod_to_floor": "",
"window_a_c_outside_width": "",
"window_a_c_outside_height": "",
"window_a-d_outside_width": "",
"window_a-d_outside_height": "",
"window_outside_width": "",
"window_outside_height": "",
"window_a_w_top": "",
"window_a_w_middle": "",
"window_a_w_bottom": "",
"window_a_h_left": "",
"window_a_h_middle": "",
"window_a_h_right": "",
"window_a_sill_depth": "",
"window_b_w_top": "",
"window_b_w_middle": "",
"window_b_w_bottom": "",
"window_b_h_left": "",
"window_b_h_middle": "",
"window_b_h_right": "",
"window_b_sill_depth": "",
"window_c_w_top": "",
"window_c_w_middle": "",
"window_c_w_bottom": "",
"window_c_h_left": "",
"window_c_h_middle": "",
"window_c_h_right": "",
"window_c_sill_depth": "",
"window_d_w_top": "",
"window_d_w_middle": "",
"window_d_w_bottom": "",
"window_d_h_left": "",
"window_d_h_middle": "",
"window_d_h_right": "",
"window_d_sill_depth": "",
"window_e_w_top": "",
"window_e_w_middle": "",
"window_e_w_bottom": "",
"window_e_h_left": "",
"window_e_h_middle": "",
"window_e_h_right": "",
"window_e_sill_depth": "",
"window_a_b_outside_width": "",
"window_a_b_outside_height": "",
"trim_width": "",
"number_in_series": "",
"for_shutter": "",
"square_feet": "",
"square_feet2": "",
"square_feet3": "",
"square_feet4": "",
"square_feet5": "",
"focus_width": "",
"focus_width_key": "",
"focus_height": "",
"focus_height_key": "",
"min_value_fields": "",
"note": "",
"offset_value": "",
"offset_value_keys": "",
"installation_instructions": "",
"total_custom_fields": 0,
"custom_field": []
}'
const response = await fetch('http://fssportal.com/api/v1/measurements/series_window_with_draperies_add_edit', {
method: 'POST',
headers: {
'X-API-Token': 'YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"id": 0,
"user_id": 68,
"client_id": 1856,
"room_id": 4945,
"measurement_type_id": 1,
"unit_type": "metrix",
"mount_type": "",
"window_name": "test",
"floor_to_ceiling": "",
"floor_to_trim": "",
"floor_to_sill": "",
"wall_to_wall": "",
"left_wall_to_window": "",
"left_wall_to_trim": "",
"middle_a-b_width": "",
"middle_a-b_trim_to_trim": "",
"window_a_to_break": "",
"window_b_to_break": "",
"top_trim_to_obstruction": "",
"top_trim_to_curtain_rod": "",
"top_trim_to_molding": "",
"top_trim_to_ceiling": "",
"middle_b-c_trim_to_trim": "",
"middle_b-c_width": "",
"middle_c-d_trim_to_trim": "",
"middle_c-d_width": "",
"middle_d-e_width": "",
"middle_d-e_trim_to_trim": "",
"window_e_to_break": "",
"window_d_to_break": "",
"window_a-e_outside_width": "",
"window_a-e_outside_height": "",
"right_wall_to_window": "",
"right_wall_to_trim": "",
"curtain_rod_length": "",
"curtain_rod_to_floor": "",
"window_a_c_outside_width": "",
"window_a_c_outside_height": "",
"window_a-d_outside_width": "",
"window_a-d_outside_height": "",
"window_outside_width": "",
"window_outside_height": "",
"window_a_w_top": "",
"window_a_w_middle": "",
"window_a_w_bottom": "",
"window_a_h_left": "",
"window_a_h_middle": "",
"window_a_h_right": "",
"window_a_sill_depth": "",
"window_b_w_top": "",
"window_b_w_middle": "",
"window_b_w_bottom": "",
"window_b_h_left": "",
"window_b_h_middle": "",
"window_b_h_right": "",
"window_b_sill_depth": "",
"window_c_w_top": "",
"window_c_w_middle": "",
"window_c_w_bottom": "",
"window_c_h_left": "",
"window_c_h_middle": "",
"window_c_h_right": "",
"window_c_sill_depth": "",
"window_d_w_top": "",
"window_d_w_middle": "",
"window_d_w_bottom": "",
"window_d_h_left": "",
"window_d_h_middle": "",
"window_d_h_right": "",
"window_d_sill_depth": "",
"window_e_w_top": "",
"window_e_w_middle": "",
"window_e_w_bottom": "",
"window_e_h_left": "",
"window_e_h_middle": "",
"window_e_h_right": "",
"window_e_sill_depth": "",
"window_a_b_outside_width": "",
"window_a_b_outside_height": "",
"trim_width": "",
"number_in_series": "",
"for_shutter": "",
"square_feet": "",
"square_feet2": "",
"square_feet3": "",
"square_feet4": "",
"square_feet5": "",
"focus_width": "",
"focus_width_key": "",
"focus_height": "",
"focus_height_key": "",
"min_value_fields": "",
"note": "",
"offset_value": "",
"offset_value_keys": "",
"installation_instructions": "",
"total_custom_fields": 0,
"custom_field": []
})
});
const data = await response.json();
{
"message": "Measurement added successfully!",
"data": []
}
Measurements
Series Window with Draperies
Add/edit window measurements with drapery specifications
POST
/
api
/
v1
/
measurements
/
series_window_with_draperies_add_edit
curl --location 'http://fssportal.com/api/v1/measurements/series_window_with_draperies_add_edit' \
--header 'X-API-Token: YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"user_id": 68,
"client_id": 1856,
"room_id": 4945,
"measurement_type_id": 1,
"unit_type": "metrix",
"mount_type": "",
"window_name": "test",
"floor_to_ceiling": "",
"floor_to_trim": "",
"floor_to_sill": "",
"wall_to_wall": "",
"left_wall_to_window": "",
"left_wall_to_trim": "",
"middle_a-b_width": "",
"middle_a-b_trim_to_trim": "",
"window_a_to_break": "",
"window_b_to_break": "",
"top_trim_to_obstruction": "",
"top_trim_to_curtain_rod": "",
"top_trim_to_molding": "",
"top_trim_to_ceiling": "",
"middle_b-c_trim_to_trim": "",
"middle_b-c_width": "",
"middle_c-d_trim_to_trim": "",
"middle_c-d_width": "",
"middle_d-e_width": "",
"middle_d-e_trim_to_trim": "",
"window_e_to_break": "",
"window_d_to_break": "",
"window_a-e_outside_width": "",
"window_a-e_outside_height": "",
"right_wall_to_window": "",
"right_wall_to_trim": "",
"curtain_rod_length": "",
"curtain_rod_to_floor": "",
"window_a_c_outside_width": "",
"window_a_c_outside_height": "",
"window_a-d_outside_width": "",
"window_a-d_outside_height": "",
"window_outside_width": "",
"window_outside_height": "",
"window_a_w_top": "",
"window_a_w_middle": "",
"window_a_w_bottom": "",
"window_a_h_left": "",
"window_a_h_middle": "",
"window_a_h_right": "",
"window_a_sill_depth": "",
"window_b_w_top": "",
"window_b_w_middle": "",
"window_b_w_bottom": "",
"window_b_h_left": "",
"window_b_h_middle": "",
"window_b_h_right": "",
"window_b_sill_depth": "",
"window_c_w_top": "",
"window_c_w_middle": "",
"window_c_w_bottom": "",
"window_c_h_left": "",
"window_c_h_middle": "",
"window_c_h_right": "",
"window_c_sill_depth": "",
"window_d_w_top": "",
"window_d_w_middle": "",
"window_d_w_bottom": "",
"window_d_h_left": "",
"window_d_h_middle": "",
"window_d_h_right": "",
"window_d_sill_depth": "",
"window_e_w_top": "",
"window_e_w_middle": "",
"window_e_w_bottom": "",
"window_e_h_left": "",
"window_e_h_middle": "",
"window_e_h_right": "",
"window_e_sill_depth": "",
"window_a_b_outside_width": "",
"window_a_b_outside_height": "",
"trim_width": "",
"number_in_series": "",
"for_shutter": "",
"square_feet": "",
"square_feet2": "",
"square_feet3": "",
"square_feet4": "",
"square_feet5": "",
"focus_width": "",
"focus_width_key": "",
"focus_height": "",
"focus_height_key": "",
"min_value_fields": "",
"note": "",
"offset_value": "",
"offset_value_keys": "",
"installation_instructions": "",
"total_custom_fields": 0,
"custom_field": []
}'
const response = await fetch('http://fssportal.com/api/v1/measurements/series_window_with_draperies_add_edit', {
method: 'POST',
headers: {
'X-API-Token': 'YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"id": 0,
"user_id": 68,
"client_id": 1856,
"room_id": 4945,
"measurement_type_id": 1,
"unit_type": "metrix",
"mount_type": "",
"window_name": "test",
"floor_to_ceiling": "",
"floor_to_trim": "",
"floor_to_sill": "",
"wall_to_wall": "",
"left_wall_to_window": "",
"left_wall_to_trim": "",
"middle_a-b_width": "",
"middle_a-b_trim_to_trim": "",
"window_a_to_break": "",
"window_b_to_break": "",
"top_trim_to_obstruction": "",
"top_trim_to_curtain_rod": "",
"top_trim_to_molding": "",
"top_trim_to_ceiling": "",
"middle_b-c_trim_to_trim": "",
"middle_b-c_width": "",
"middle_c-d_trim_to_trim": "",
"middle_c-d_width": "",
"middle_d-e_width": "",
"middle_d-e_trim_to_trim": "",
"window_e_to_break": "",
"window_d_to_break": "",
"window_a-e_outside_width": "",
"window_a-e_outside_height": "",
"right_wall_to_window": "",
"right_wall_to_trim": "",
"curtain_rod_length": "",
"curtain_rod_to_floor": "",
"window_a_c_outside_width": "",
"window_a_c_outside_height": "",
"window_a-d_outside_width": "",
"window_a-d_outside_height": "",
"window_outside_width": "",
"window_outside_height": "",
"window_a_w_top": "",
"window_a_w_middle": "",
"window_a_w_bottom": "",
"window_a_h_left": "",
"window_a_h_middle": "",
"window_a_h_right": "",
"window_a_sill_depth": "",
"window_b_w_top": "",
"window_b_w_middle": "",
"window_b_w_bottom": "",
"window_b_h_left": "",
"window_b_h_middle": "",
"window_b_h_right": "",
"window_b_sill_depth": "",
"window_c_w_top": "",
"window_c_w_middle": "",
"window_c_w_bottom": "",
"window_c_h_left": "",
"window_c_h_middle": "",
"window_c_h_right": "",
"window_c_sill_depth": "",
"window_d_w_top": "",
"window_d_w_middle": "",
"window_d_w_bottom": "",
"window_d_h_left": "",
"window_d_h_middle": "",
"window_d_h_right": "",
"window_d_sill_depth": "",
"window_e_w_top": "",
"window_e_w_middle": "",
"window_e_w_bottom": "",
"window_e_h_left": "",
"window_e_h_middle": "",
"window_e_h_right": "",
"window_e_sill_depth": "",
"window_a_b_outside_width": "",
"window_a_b_outside_height": "",
"trim_width": "",
"number_in_series": "",
"for_shutter": "",
"square_feet": "",
"square_feet2": "",
"square_feet3": "",
"square_feet4": "",
"square_feet5": "",
"focus_width": "",
"focus_width_key": "",
"focus_height": "",
"focus_height_key": "",
"min_value_fields": "",
"note": "",
"offset_value": "",
"offset_value_keys": "",
"installation_instructions": "",
"total_custom_fields": 0,
"custom_field": []
})
});
const data = await response.json();
{
"message": "Measurement added successfully!",
"data": []
}
Endpoint
POST /api/v1/measurements/series_window_with_draperies_add_edit
This endpoint requires authentication
Headers
string
required
Your API access token. You can also set this globally in the API playground.
string
required
The platform making the request:
WEB, IOS, or ANDROID.Request Body
integer
id
integer
required
user id
integer
required
client id
integer
required
room id
integer
required
measurement type id
string
required
unit type
string
mount type
string
required
window name
string
floor to ceiling
string
floor to trim
string
floor to sill
string
wall to wall
string
left wall to window
string
left wall to trim
string
middle a-b width
string
middle a-b trim to trim
string
window a to break
string
window b to break
string
top trim to obstruction
string
top trim to curtain rod
string
top trim to molding
string
top trim to ceiling
string
middle b-c trim to trim
string
middle b-c width
string
middle c-d trim to trim
string
middle c-d width
string
middle d-e width
string
middle d-e trim to trim
string
window e to break
string
window d to break
string
window a-e outside width
string
window a-e outside height
string
right wall to window
string
right wall to trim
string
curtain rod length
string
curtain rod to floor
string
window a c outside width
string
window a c outside height
string
window a-d outside width
string
window a-d outside height
string
window outside width
string
window outside height
string
window a w top
string
window a w middle
string
window a w bottom
string
window a h left
string
window a h middle
string
window a h right
string
window a sill depth
string
window b w top
string
window b w middle
string
window b w bottom
string
window b h left
string
window b h middle
string
window b h right
string
window b sill depth
string
window c w top
string
window c w middle
string
window c w bottom
string
window c h left
string
window c h middle
string
window c h right
string
window c sill depth
string
window d w top
string
window d w middle
string
window d w bottom
string
window d h left
string
window d h middle
string
window d h right
string
window d sill depth
string
window e w top
string
window e w middle
string
window e w bottom
string
window e h left
string
window e h middle
string
window e h right
string
window e sill depth
string
window a b outside width
string
window a b outside height
string
trim width
string
The sequence number of this window in the series.
string
for shutter
string
square feet
string
square feet2
string
square feet3
string
square feet4
string
square feet5
string
focus width
string
focus width key
string
focus height
string
focus height key
string
min value fields
string
note
string
offset value
string
offset value keys
string
installation instructions
integer
total custom fields
object
custom field
Response
string
message
array
data
curl --location 'http://fssportal.com/api/v1/measurements/series_window_with_draperies_add_edit' \
--header 'X-API-Token: YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"user_id": 68,
"client_id": 1856,
"room_id": 4945,
"measurement_type_id": 1,
"unit_type": "metrix",
"mount_type": "",
"window_name": "test",
"floor_to_ceiling": "",
"floor_to_trim": "",
"floor_to_sill": "",
"wall_to_wall": "",
"left_wall_to_window": "",
"left_wall_to_trim": "",
"middle_a-b_width": "",
"middle_a-b_trim_to_trim": "",
"window_a_to_break": "",
"window_b_to_break": "",
"top_trim_to_obstruction": "",
"top_trim_to_curtain_rod": "",
"top_trim_to_molding": "",
"top_trim_to_ceiling": "",
"middle_b-c_trim_to_trim": "",
"middle_b-c_width": "",
"middle_c-d_trim_to_trim": "",
"middle_c-d_width": "",
"middle_d-e_width": "",
"middle_d-e_trim_to_trim": "",
"window_e_to_break": "",
"window_d_to_break": "",
"window_a-e_outside_width": "",
"window_a-e_outside_height": "",
"right_wall_to_window": "",
"right_wall_to_trim": "",
"curtain_rod_length": "",
"curtain_rod_to_floor": "",
"window_a_c_outside_width": "",
"window_a_c_outside_height": "",
"window_a-d_outside_width": "",
"window_a-d_outside_height": "",
"window_outside_width": "",
"window_outside_height": "",
"window_a_w_top": "",
"window_a_w_middle": "",
"window_a_w_bottom": "",
"window_a_h_left": "",
"window_a_h_middle": "",
"window_a_h_right": "",
"window_a_sill_depth": "",
"window_b_w_top": "",
"window_b_w_middle": "",
"window_b_w_bottom": "",
"window_b_h_left": "",
"window_b_h_middle": "",
"window_b_h_right": "",
"window_b_sill_depth": "",
"window_c_w_top": "",
"window_c_w_middle": "",
"window_c_w_bottom": "",
"window_c_h_left": "",
"window_c_h_middle": "",
"window_c_h_right": "",
"window_c_sill_depth": "",
"window_d_w_top": "",
"window_d_w_middle": "",
"window_d_w_bottom": "",
"window_d_h_left": "",
"window_d_h_middle": "",
"window_d_h_right": "",
"window_d_sill_depth": "",
"window_e_w_top": "",
"window_e_w_middle": "",
"window_e_w_bottom": "",
"window_e_h_left": "",
"window_e_h_middle": "",
"window_e_h_right": "",
"window_e_sill_depth": "",
"window_a_b_outside_width": "",
"window_a_b_outside_height": "",
"trim_width": "",
"number_in_series": "",
"for_shutter": "",
"square_feet": "",
"square_feet2": "",
"square_feet3": "",
"square_feet4": "",
"square_feet5": "",
"focus_width": "",
"focus_width_key": "",
"focus_height": "",
"focus_height_key": "",
"min_value_fields": "",
"note": "",
"offset_value": "",
"offset_value_keys": "",
"installation_instructions": "",
"total_custom_fields": 0,
"custom_field": []
}'
const response = await fetch('http://fssportal.com/api/v1/measurements/series_window_with_draperies_add_edit', {
method: 'POST',
headers: {
'X-API-Token': 'YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"id": 0,
"user_id": 68,
"client_id": 1856,
"room_id": 4945,
"measurement_type_id": 1,
"unit_type": "metrix",
"mount_type": "",
"window_name": "test",
"floor_to_ceiling": "",
"floor_to_trim": "",
"floor_to_sill": "",
"wall_to_wall": "",
"left_wall_to_window": "",
"left_wall_to_trim": "",
"middle_a-b_width": "",
"middle_a-b_trim_to_trim": "",
"window_a_to_break": "",
"window_b_to_break": "",
"top_trim_to_obstruction": "",
"top_trim_to_curtain_rod": "",
"top_trim_to_molding": "",
"top_trim_to_ceiling": "",
"middle_b-c_trim_to_trim": "",
"middle_b-c_width": "",
"middle_c-d_trim_to_trim": "",
"middle_c-d_width": "",
"middle_d-e_width": "",
"middle_d-e_trim_to_trim": "",
"window_e_to_break": "",
"window_d_to_break": "",
"window_a-e_outside_width": "",
"window_a-e_outside_height": "",
"right_wall_to_window": "",
"right_wall_to_trim": "",
"curtain_rod_length": "",
"curtain_rod_to_floor": "",
"window_a_c_outside_width": "",
"window_a_c_outside_height": "",
"window_a-d_outside_width": "",
"window_a-d_outside_height": "",
"window_outside_width": "",
"window_outside_height": "",
"window_a_w_top": "",
"window_a_w_middle": "",
"window_a_w_bottom": "",
"window_a_h_left": "",
"window_a_h_middle": "",
"window_a_h_right": "",
"window_a_sill_depth": "",
"window_b_w_top": "",
"window_b_w_middle": "",
"window_b_w_bottom": "",
"window_b_h_left": "",
"window_b_h_middle": "",
"window_b_h_right": "",
"window_b_sill_depth": "",
"window_c_w_top": "",
"window_c_w_middle": "",
"window_c_w_bottom": "",
"window_c_h_left": "",
"window_c_h_middle": "",
"window_c_h_right": "",
"window_c_sill_depth": "",
"window_d_w_top": "",
"window_d_w_middle": "",
"window_d_w_bottom": "",
"window_d_h_left": "",
"window_d_h_middle": "",
"window_d_h_right": "",
"window_d_sill_depth": "",
"window_e_w_top": "",
"window_e_w_middle": "",
"window_e_w_bottom": "",
"window_e_h_left": "",
"window_e_h_middle": "",
"window_e_h_right": "",
"window_e_sill_depth": "",
"window_a_b_outside_width": "",
"window_a_b_outside_height": "",
"trim_width": "",
"number_in_series": "",
"for_shutter": "",
"square_feet": "",
"square_feet2": "",
"square_feet3": "",
"square_feet4": "",
"square_feet5": "",
"focus_width": "",
"focus_width_key": "",
"focus_height": "",
"focus_height_key": "",
"min_value_fields": "",
"note": "",
"offset_value": "",
"offset_value_keys": "",
"installation_instructions": "",
"total_custom_fields": 0,
"custom_field": []
})
});
const data = await response.json();
{
"message": "Measurement added successfully!",
"data": []
}
Notes
- Authentication is required
⌘I
