contractorOps.roles.versions
List a job role's versions, newest first, with roleId: what the role said and paid at each version (title, level, department, type, summary, responsibilities, requirements and pay band), which parts changed from the version before (title, level, department, type, description or pay), who changed it and when, and how many sent agreements were made on that version. Every change to those parts is a new version, and an agreement keeps the version and pay it was made with.
GETPOST
/api/v1/accounting/contractorOps.roles.versionsPermissions
accounting:read
Who can call it
admin, finance
Retries
Safe to retry: it only reads
MCP
accounting_contractor_ops_roles_versionsFields
roleIdstring (ID)RequiredThe ID of the related record.
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/contractorOps.roles.versions \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'roleId=7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
GET/api/v1/accounting/contractorOps.roles.versions
curl -G https://app.getoatmilk.com/api/v1/accounting/contractorOps.roles.versions \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'roleId=7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10'More in Contractors.