The getProps Command
Submitted by rainer on Wed, 08/25/2010 - 09:39
The getProps Command retrieves all properties stored for a given propsKey. Ots-props are meant to be the glue between OpenTimeSheet and any legacy system you use for your project's representation.
Assume you use Drupal as your frontend to OpenTimeSheet (using a node hierarchy for projects and tasks) then you may use the ots-props to glue ots-users to Drupal users and ots-groups to Drupal nodes that store projects or tasks.
getProps gives you all ots-props with their id and value for a given key.
getProps is not access restricted in any way.
VERSION 1.0
{
[STDHEAD]
{ command : getProps }
{ params :
{ propsKey : }
}
}
Response:
{
[STDHEAD]
{ command : getProps }
{ params :
{ usersprops :
{ : } (0..n)
}
{ groupprops
{ : } (0..n)
}
{ timespentprops
{ : } (0..n)
}
}
}
Returncodes:
0 - ok
1 - key not found
- Login to post comments

Subscribe comments
Recent comments
1 year 23 weeks ago
1 year 24 weeks ago
3 years 20 weeks ago
3 years 27 weeks ago
3 years 27 weeks ago
3 years 28 weeks ago
3 years 28 weeks ago
3 years 30 weeks ago
3 years 31 weeks ago
3 years 33 weeks ago