Avetta Pegasus Scope Scope Person Site Controller API
The pegasusScope_scope-person-site-controller API from Avetta — 4 operation(s) for pegasusscope_scope-person-site-controller.
The pegasusScope_scope-person-site-controller API from Avetta — 4 operation(s) for pegasusscope_scope-person-site-controller.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/avetta:avetta-pegasusscope-scope-person-site-controller-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Avetta Pegasus Scope Scope Person Site Controller API
version: APSO-1355
x-logo:
url: avetta_logo.png
description: 'Operations tagged pegasusScope_scope-person-site-controller across 2 of this provider''s published API definitions: avetta-pegasus-dist.json, avetta-pegasus-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
tags:
- name: pegasusScope_scope-person-site-controller
x-displayName: scope-person-site-controller
paths:
/api/v1/scope/{scopeId}/person/{personId}/site/{siteId}/site-contact/availability:
get:
tags:
- pegasusScope_scope-person-site-controller
operationId: getSiteContactAvailability
parameters:
- name: scopeId
in: path
required: true
schema:
type: integer
format: int32
- name: personId
in: path
required: true
schema:
type: integer
format: int32
- name: siteId
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_SiteContactAvailabilityRuleResource'
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Get site contact availability
x-summary-source: derived
put:
tags:
- pegasusScope_scope-person-site-controller
operationId: updateSiteContactAvailability
parameters:
- name: scopeId
in: path
required: true
schema:
type: integer
format: int32
- name: personId
in: path
required: true
schema:
type: integer
format: int32
- name: siteId
in: path
required: true
schema:
type: integer
format: int32
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/3.29.14_UpdateSiteContactAvailabilityResource'
required: true
responses:
'200':
description: OK
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Update site contact availability
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
/api/v1/scope/{scopeId}/person/{personId}/site/{siteId}/site-contact/active:
put:
tags:
- pegasusScope_scope-person-site-controller
operationId: toggleSiteContactActiveStatus
parameters:
- name: scopeId
in: path
required: true
schema:
type: integer
format: int32
- name: personId
in: path
required: true
schema:
type: integer
format: int32
- name: siteId
in: path
required: true
schema:
type: integer
format: int32
- name: active
in: query
required: true
schema:
type: boolean
responses:
'200':
description: OK
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Toggle site contact active status
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
/api/v1/scope/{scopeId}/person/{personId}/site/{siteId}/site-contact:
post:
tags:
- pegasusScope_scope-person-site-controller
operationId: addSiteContact
parameters:
- name: scopeId
in: path
required: true
schema:
type: integer
format: int32
- name: personId
in: path
required: true
schema:
type: integer
format: int32
- name: siteId
in: path
required: true
schema:
type: integer
format: int32
- name: editLogComment
in: query
required: false
schema:
type: string
default: ''
responses:
'200':
description: OK
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Add site contact
x-summary-source: derived
delete:
tags:
- pegasusScope_scope-person-site-controller
operationId: removeSiteContact
parameters:
- name: scopeId
in: path
required: true
schema:
type: integer
format: int32
- name: personId
in: path
required: true
schema:
type: integer
format: int32
- name: siteId
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Remove site contact
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
/api/v1/scope/{scopeId}/person/{personId}/site/{siteId}:
delete:
tags:
- pegasusScope_scope-person-site-controller
operationId: removeSiteAssociations
parameters:
- name: scopeId
in: path
required: true
schema:
type: integer
format: int32
- name: personId
in: path
required: true
schema:
type: integer
format: int32
- name: siteId
in: path
required: true
schema:
type: integer
format: int32
- name: adminNote
in: query
required: false
schema:
$ref: '#/components/schemas/3.29.14_AdminNoteCommand'
responses:
'200':
description: OK
'400':
description: Bad Request
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'401':
description: Unauthorized
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'403':
description: Forbidden
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
'404':
description: Not Found
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_FullErrorResource'
'500':
description: Internal Server Error
content:
'*/*':
schema:
$ref: '#/components/schemas/3.29.14_ErrorResource'
security:
- 3.29.14_security_auth: []
3.29.14_security_apikey: []
summary: Remove site associations
x-summary-source: derived
servers:
- description: EPE (Test Environment)
url: https://epe-onsitetrackeasy.com.au/onsite-rest
- description: Production
url: https://secure.onsitetrackeasy.com.au/onsite-rest
components:
schemas:
3.29.14_UpdateSiteContactAvailabilityResource:
type: object
properties:
rangeTo:
type: string
rangeFrom:
type: string
rangeType:
type: string
enum:
- available
- unavailable
active:
type: boolean
days:
type: array
items:
type: string
enum:
- MONDAY
- TUESDAY
- WEDNESDAY
- THURSDAY
- FRIDAY
- SATURDAY
- SUNDAY
daysBitwiseSum:
type: integer
format: int32
3.29.14_StatusType:
type: object
properties:
statusCode:
type: integer
format: int32
reasonPhrase:
type: string
3.29.14_SiteContactAvailabilityRuleResource:
type: object
properties:
siteScopeId:
type: integer
format: int32
personId:
type: integer
format: int32
rangeType:
type: string
enum:
- available
- unavailable
rangeFrom:
type: string
rangeTo:
type: string
active:
type: boolean
days:
type: array
items:
type: string
enum:
- MONDAY
- TUESDAY
- WEDNESDAY
- THURSDAY
- FRIDAY
- SATURDAY
- SUNDAY
3.29.14_AdminNoteCommand:
required:
- authoriser
- comment
type: object
properties:
scopeId:
type: integer
format: int32
lookupType:
type: string
enum:
- none
- company
- coCoGroup
- coComplianceSubscription
- competency
- group
- hiddenrealmcomp
- idCheck
- pendingAssessment
- person
- site
- siteaccesskey
- sitelog
- trainingevent
- trainingTemplate
- trainingvenue
lookupId:
type: integer
format: int32
adminNoteAction:
type: string
enum:
- ACTION_ESCALATION_DATE_CHANGE
- BREATHALYSER_RESULT_INACTIVATE
- BREATHALYSER_RESULT_REACTIVATE
- APPOINTMENT_REMOVE
- CARD_PRINT_PENDING_RECORD_TERMINATE
- CARD_PRINT_RECORD_EDIT_DELETE
- CARD_PRINT_WITHOUT_PURCHASE_AUTHORISED
- CARD_SUBSCRIPTION_CANCEL
- CARD_SUBSCRIPTION_CREATE
- CARDHOLDER_ARCHIVE
- CARDHOLDER_BLOCK
- CARDHOLDER_BLOCK_BAC_EXCEEDED
- CARDHOLDER_BLOCK_SITE_FAMILIARITY
- CARDHOLDER_COMPETENCY_ASSIGNMENT_STEP_REMOVE
- CARDHOLDER_COMPETENCY_DELETE
- CARDHOLDER_COMPETENCY_INACTIVATE
- CARDHOLDER_COMPETENCY_REACTIVATE
- CARDHOLDER_COMPETENCY_STEP_DOCUMENT_DATA_CHANGE
- CARDHOLDER_COMPETENCY_TRAINING_COST_HOURS_CHANGE
- CARDHOLDER_COMPANY_ADD
- CARDHOLDER_DEFAULT_COMPANY_CHANGE
- CARDHOLDER_EMPLOYMENT_END
- CARDHOLDER_GROUP_INACTIVATE
- CARDHOLDER_GROUP_REACTIVATE
- CARDHOLDER_INACTIVATE
- CARDHOLDER_MERGE
- CARDHOLDER_REACTIVATE
- CARDHOLDER_REALM_ASSOCIATION_REMOVE
- CARDHOLDER_ROLE_SUSPEND
- CARDHOLDER_ROLE_UN_SUSPEND
- CARDHOLDER_SITE_ASSOCIATION_REMOVE
- CARDHOLDER_UNARCHIVE
- CARDHOLDER_UNBLOCK
- CARDHOLDER_UNBLOCK_BAC_EXCEEDED
- COMPANY_COMPLIANCE_SUSPENSION_CREATE
- COMPANY_COMPLIANCE_SUSPENSION_REMOVE
- COMPANY_COMPLIANCE_SUBSCRIPTION_YEARS_BACK_APPLY
- COMPANY_REALM_ASSOCIATION_REMOVE
- COMPANY_SITE_ASSOCIATION_REMOVE
- COMPETENCY_ASSIGNMENT_REQUIREMENTS_CHANGE
- COMPETENCY_DELETE
- COMPETENCY_MIGRATE
- COMPLIANCE_COMPANY_GROUP_MANUAL_ASSIGN
- COMPLIANCE_COMPANY_GROUP_RENAME
- COMPLIANCE_SUBSCRIPTION_CERT_DEPENDENCY_REMOVAL
- COMPLIANCE_SUBSCRIPTION_EXPIRE
- CONCO_LIST_SELECTION_CHANGE
- CONTRACTOR_ROLE_REMOVE
- CONTRACTOR_TRANSFER
- EMPLOYEE_HOME_SITE_CHANGE
- EMPLOYEE_WORK_LOCATION_REMOVE
- FATIGUE_SETTING_EDIT
- FINGERPRINT_VERIFICATION_OFF
- FINGERPRINT_VERIFICATION_ON
- GLOBAL_CONTRACTOR_EDIT_CHANGE
- ID_CHECK_EXPIRY_DATE_CHANGE
- ID_CHECK_LOCKED_FIELDS_EDIT
- LOGOFF_FORCE
- PENDING_ASSESSMENT_REASSIGN
- PERSONS_CONTACT_DELETE
- REALM_COMP_HIDE
- REALM_COMP_UNHIDE
- ROLE_TASK_REQUIREMENTS_CHANGE
- SAFETY_SELECTEE_LOCAL_MODE_SELECT_AFTER_STOP_TIME
- SAFETY_SELECTEE_PERPETUAL_ADD
- SAFETY_SELECTEE_PERPETUAL_REMOVE
- SAFETY_SELECTEE_PROCESSED
- SITE_ACCESS_KEY_ASSIGNMENT_DELETE
- SITE_ACCESS_KEY_ASSIGNMENT_DELETE_ALL
- SITE_ACCESS_KEY_INACTIVATE
- SITE_ACCESS_KEY_REACTIVATE
- SITE_ACCESS_KEY_ASSIGNMENT_CREATE
- SITE_AUTO_LOGOUT_CONFIG_CHANGED
- SITE_LOG_ACTIVITY_CHANGE
- SITE_LOG_DURATION_CHANGE
- TRAINING_EVENT_ATTENDEE_PASS_REMOVE
- TRAINING_EVENT_ATTENDEE_REMOVE
- TRAINING_EVENT_CANCEL
- TRAINING_PORTAL_BOOKING_AT_NO_COST_AUTHORISED
- TRAINING_TEMPLATE_TYPE_CHANGE
- TRAINING_VENUE_CAPACITY_CHANGE
- VERIFIED_DOCUMENT_DATA_CHANGE
- VERIFIED_DOCUMENT_UN_REJECT
- VERIFIED_DOCUMENT_UN_VERIFY
- VERIFY_FINGERPRINT_ACTION_ON_FAILURE_CHANGE
comment:
type: string
authoriser:
type: string
3.29.14_FullErrorResource:
type: object
properties:
errorType:
type: string
enum:
- GENERAL_ERROR
- BAD_REQUEST
- FORBIDDEN
- UNAUTHORISED
- NO_ACCESS_TO_PORTAL
- INVALID_PASSWORD
- NOT_FOUND
- CONSTRAINT_VIOLATION
- VALIDATION_ERROR
- ALREADY_EXISTS
- DATA_MISMATCH
- NOT_AN_EMPLOYEE
- CANNOT_BE_TERMINATED
- TOO_MANY_FAILED_ATTEMPTS
- REQUIRED_FIELD_MISSING
- VERIFICATION_TOKEN_EXPIRED
- PURCHASE_ORDER_EXPIRED
- DUPLICATE_PAYMENT
- PAYMENT_ERROR
- CANNOT_BE_UPDATED
- PENDING_CARD_IN_PROGRESS
- CANNOT_ASSIGN
- INVALID_PERSON_STATE
error:
type: string
field:
type: string
problems:
type: array
items:
$ref: '#/components/schemas/3.29.14_Problem'
errorDetail:
type: string
3.29.14_ErrorResource:
type: object
properties:
errorType:
type: string
enum:
- GENERAL_ERROR
- BAD_REQUEST
- FORBIDDEN
- UNAUTHORISED
- NO_ACCESS_TO_PORTAL
- INVALID_PASSWORD
- NOT_FOUND
- CONSTRAINT_VIOLATION
- VALIDATION_ERROR
- ALREADY_EXISTS
- DATA_MISMATCH
- NOT_AN_EMPLOYEE
- CANNOT_BE_TERMINATED
- TOO_MANY_FAILED_ATTEMPTS
- REQUIRED_FIELD_MISSING
- VERIFICATION_TOKEN_EXPIRED
- PURCHASE_ORDER_EXPIRED
- DUPLICATE_PAYMENT
- PAYMENT_ERROR
- CANNOT_BE_UPDATED
- PENDING_CARD_IN_PROGRESS
- CANNOT_ASSIGN
- INVALID_PERSON_STATE
error:
type: string
field:
type: string
problems:
type: array
items:
$ref: '#/components/schemas/3.29.14_Problem'
3.29.14_Problem:
type: object
properties:
instance:
type: string
format: uri
type:
type: string
format: uri
parameters:
type: object
additionalProperties:
type: object
detail:
type: string
title:
type: string
status:
$ref: '#/components/schemas/3.29.14_StatusType'
securitySchemes:
3.29.14_security_auth:
type: oauth2
scheme: Bearer
flows:
authorizationCode:
authorizationUrl: https://login.poweredbyonsite.com/cas/oidc/authorize
tokenUrl: https://login.poweredbyonsite.com/cas/oidc/accessToken
scopes:
pegasus: Pegasus Authentication Scope
3.29.14_security_apikey:
type: apiKey
name: api_key
in: header
x-refined-from:
- avetta-pegasus-dist.json
- avetta-pegasus-openapi.yml
x-tagGroups:
- name: Compliance
tags:
- Authentication
- Compliance
- name: Account
tags:
- Account
- name: Worksite Safety
tags:
- Worksite-Safety
- name: Deprecated Endpoints
tags:
- Deprecated Endpoints
- Error Handling