v3

latestSwagger 2.02026-08-067506752.0 MB
budget-pool

Get the guidelines associated with a budget pool

get/v1/org/{orgId}/budget-pool/{id}/guidelines

Path parameters

orgIdstring required

Org identifier (either id or slug)

idstring required

ID of the desired budget pool

Response

successful operation

nextstring

Example response

{
  "data": [
    {
      "id": "588f7ee98f138b19220041a7",
      "orgId": "588f7ee98f138b19220041a7",
      "compReviewId": "588f7ee98f138b19220041a7",
      "label": "Merit Guideline",
      "budgetPoolId": "588f7ee98f138b19220041a7",
      "participantsExpr": "is:person and tenure>=12",
      "appliedField": "'base' or 'grantShares'",
      "sourceField": "'base' or 'grantShares'",
      "calculationType": "TARGET",
      "flagMode": "NONE",
      "basisType": "CUSTOM",
      "basisExpr": "tenure>12 ? (base * 0.04) : (base * 0.02)",
      "createId": "588f7ee98f138b19220041a7",
      "createBehalfId": "588f7ee98f138b19220041a7",
      "createAttribution": {
        "principalUserId": "588f7ee98f138b19220041a7",
        "agentUserIds": [
          "588f7ee98f138b19220041a7"
        ],
        "eventId": "588f7ee98f138b19220041a7",
        "aiChatId": "588f7ee98f138b19220041a7"
      },
      "createAt": "2017-01-24T13:57:52Z",
      "updateId": "588f7ee98f138b19220041a7",
      "updateBehalfId": "588f7ee98f138b19220041a7",
      "updateAttribution": {
        "principalUserId": "588f7ee98f138b19220041a7",
        "agentUserIds": [
          "588f7ee98f138b19220041a7"
        ],
        "eventId": "588f7ee98f138b19220041a7",
        "aiChatId": "588f7ee98f138b19220041a7"
      },
      "updateAt": "2017-01-24T13:57:52Z",
      "deleteId": "588f7ee98f138b19220041a7",
      "deleteBehalfId": "588f7ee98f138b19220041a7",
      "deleteAttribution": {
        "principalUserId": "588f7ee98f138b19220041a7",
        "agentUserIds": [
          "588f7ee98f138b19220041a7"
        ],
        "eventId": "588f7ee98f138b19220041a7",
        "aiChatId": "588f7ee98f138b19220041a7"
      },
      "deleteAt": "2017-01-24T13:57:52Z"
    }
  ],
  "access": [
    {
      "ids": [
        "588f7ee98f138b19220041a7"
      ]
    }
  ]
}