LogoLogo
AG5.comSupportRequest a demo
  • Helpcenter
  • AG5 API
  • Release notes
  • Roadmap
  • API reference
    • Achievements
    • ContractTypes
      • EmploymentContracts
    • EmploymentContracts
    • EmploymentRelations
    • Employments
      • Achievements
      • ApprovedAchievements
      • InProgressEntries
      • Positions
      • ReferringRelations
      • SubmittedAchievements
    • EmploymentUnavailabilities
    • EvidenceVariants
      • Achievements
      • InProgressEntries
    • Groupings
      • DefinedGroupings
    • GroupingTypes
      • Instances
    • InProgressEntries
    • MeasurementSystems
      • Qualifications
    • MeasurementValues
    • Positions
    • Qualifications
      • Achievements
      • EvidenceVariants
      • InProgressEntries
    • QualificationTypes
      • Qualifications
    • ServiceIsAvailable
    • ServiceVersion
  • AG5 API Description
  • AG5 API Glossary
  • Specification
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. API reference

EmploymentContracts

PreviousEmploymentContractsNextEmploymentRelations

Was this helpful?

List all employmentContracts viewable for API user

get
Authorizations
Query parameters
pageTokenstringOptional
limitinteger · int32Optional
sinceDeltaTokenstringOptional
fieldsstring[]Optional
Responses
200
Successful request
application/json
get
GET /employmentContracts HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Successful request

{
  "results": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "interval": {},
      "externalCode": "text",
      "createdAt": "text",
      "contractTypeID": "550e8400-e29b-41d4-a716-446655440000",
      "lastModifiedAt": "text",
      "externalId": "text",
      "employmentID": "550e8400-e29b-41d4-a716-446655440000"
    }
  ],
  "deltaToken": "text",
  "pageToken": "text"
}
get
Authorizations
Path parameters
idstring · hexadecimal-integerRequiredExample: 550e8400-e29b-41d4-a716-446655440000Pattern: ^[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}$
Responses
200
Successful request
application/json
get
GET /employmentContracts/{id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Successful request

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "interval": {},
  "externalCode": "text",
  "createdAt": "text",
  "contractTypeID": "550e8400-e29b-41d4-a716-446655440000",
  "lastModifiedAt": "text",
  "externalId": "text",
  "employmentID": "550e8400-e29b-41d4-a716-446655440000"
}
  • GETList all employmentContracts viewable for API user
  • GET/employmentContracts/{id}