Get multiple rates
Changed onReturns a list of rate records. The possible types for parent in this request are project. An additional resource (user GID or placeholder GID) can be passed in to filter to a specific rate.
Modifying placeholder rates is only available for Enterprise and Enterprise+ users.
Request
- Base URL: https://app.asana.com/api/1.0
- URL: https://app.asana.com/api/1.0/rates
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://app.asana.com/-/oauth_authorize, token URL https://app.asana.com/-/oauth_token)
Query parameters
Globally unique identifier for project.
Globally unique identifier for user or placeholder.
Results per page. The number of objects to return per page. The value must be between 1 and 100.
Offset token. An offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results. Note: You can only pass in an offset that was returned to you via a previously paginated request.
This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include. Properties can include nested fields. To learn more, see the input/output options guide.
Response
Successfully retrieved the requested rates.
Example response
{
"data": [
{
"gid": "12345",
"resource_type": "rate",
"parent": {
"gid": "12345",
"resource_type": "project",
"name": "Stuff to buy",
"resource_subtype": "default_project"
},
"resource": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"rate": 100,
"currency_code": "USD",
"created_by": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
}
}
],
"next_page": {
"offset": "eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9",
"path": "/tasks/12345/attachments?limit=2&offset=eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9",
"uri": "https://app.asana.com/api/1.0/tasks/12345/attachments?limit=2&offset=eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9"
}
}Changes
- info
added the optional property
///////////to the response with the status - info
added the optional property
///////to the response with the status
- info