Post

2 followers Follow
0
Avatar

Obtaining modified billing rate via API?

I have a requirement to get the "Billing Regular Rate" from a resource on a project. I can get the standard rate from the resource as set up globally in Clarizen, however if a Resource has its Billing Rate changed when being assigned to a project, I'm unable to get this value.

For example, I have a project where a Resource has a Regular Rate of £125, when assigned to a project this rate is changed to be £100 (just for the project). Using the API I can obtain the £125 but I can't get the £100.

I'm using the REST API V2 to gather this information, any tips\hints on which API I can use to get the modified rate?

Thanks

Lewis Answered

Official comment

Avatar

Hi Lewis,
Work item specific rates can be obtained from the ResourceLink (the entity that links the work item to the resource).
Use the same field names you used to retrieve the default rate from the User entity.


Hope this helps,
Ophir

Ophir Kenig
Comment actions Permalink

Please sign in to leave a comment.

3 comments

0
Avatar

Hi Lewis,

I think you can specify those fields in the requested fields collection in definition -> settings -> fields. The type name should be ResourceLink (if it doesn't work try RegularResourceLink, but I think the first should work).

Please notice that if you didn't previously request resource link fields, the structure of the result may change. 

Hope this helps,

Ophir

 

Ophir Kenig 0 votes
Comment actions Permalink