Post

3 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.

5 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
0
Avatar

Hi Ophir,

Can you give me a sample query that uses the ResourceLink on the Task. I'm specifically looking for  ResourceLinkFinancial. Sorry, I cannot find any documentation.

Thanks in Advance

Shamin Ameen 0 votes
Comment actions Permalink
0
Avatar

Hi Lewis, Can you please tell me how you got the rate for the resource that was just for the project. 100 Pounds in your example.

Thanks

Shamin.

Shamin Ameen 0 votes
Comment actions Permalink