Chalmers University of Technology ElectronicPublicationAgreementSignature API

The ElectronicPublicationAgreementSignature API from Chalmers University of Technology — 2 operation(s) for electronicpublicationagreementsignature.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

chalmers-university-of-technology-electronicpublicationagreementsignature-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: ChalmersResearch ContractImport ElectronicPublicationAgreementSignature API
  version: v1
  description: Public API serving research information from the Chalmers Research portal, including research projects, publications, funders/organizations and collaborations. Converted from the live Swagger 2.0 description at https://api.research.chalmers.se/swagger/docs/v1.
servers:
- url: https://api.research.chalmers.se
tags:
- name: ElectronicPublicationAgreementSignature
paths:
  /api/ElectronicPublicationAgreementSignature:
    get:
      tags:
      - ElectronicPublicationAgreementSignature
      summary: Gets a list of all electronic publishing contracts
      operationId: ElectronicPublicationAgreementSignature_Get
      deprecated: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
            text/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
    post:
      tags:
      - ElectronicPublicationAgreementSignature
      summary: Creates a new signature line in database
      operationId: ElectronicPublicationAgreementSignature_Post
      deprecated: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
          text/json:
            schema:
              $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
          application/xml:
            schema:
              $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
          text/xml:
            schema:
              $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
            text/json:
              schema:
                $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
            application/xml:
              schema:
                $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
            text/xml:
              schema:
                $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
  /api/ElectronicPublicationAgreementSignature/{id}:
    get:
      tags:
      - ElectronicPublicationAgreementSignature
      summary: Get specified electronic publishing contracts
      operationId: ElectronicPublicationAgreementSignature_GetById
      deprecated: false
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
            text/json:
              schema:
                $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
            application/xml:
              schema:
                $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
            text/xml:
              schema:
                $ref: '#/components/schemas/ElectronicPublicationAgreementSignature'
components:
  schemas:
    PersonIdentifierType:
      type: object
      properties:
        Id:
          type: string
        Value:
          type: string
        DescriptionSwe:
          type: string
        DescriptionEng:
          type: string
    PersonOrganizationParent:
      type: object
      properties:
        Id:
          type: string
        FromDate:
          format: date-time
          type: string
        ToDate:
          format: date-time
          type: string
        ParentOrganizationId:
          type: string
        ParentOrganizationData:
          $ref: '#/components/schemas/PersonOrganization'
    PersonOrganization:
      type: object
      properties:
        Id:
          type: string
        NameSwe:
          type: string
        NameEng:
          type: string
        DisplayNameSwe:
          type: string
        DisplayNameEng:
          type: string
        DisplayPathSwe:
          type: string
        DisplayPathEng:
          type: string
        DisplayPathShortSwe:
          type: string
        DisplayPathShortEng:
          type: string
        PossibleDisplayPaths:
          type: array
          items:
            $ref: '#/components/schemas/PersonDisplayPath'
        City:
          type: string
        PostalNo:
          type: string
        Country:
          type: string
        GeoLat:
          type: string
        GeoLong:
          type: string
        Level:
          format: int32
          type: integer
        StartYear:
          format: int32
          type: integer
        EndYear:
          format: int32
          type: integer
        OrganizationTypes:
          type: array
          items:
            $ref: '#/components/schemas/PersonOrganizationType'
        OrganizationParents:
          type: array
          items:
            $ref: '#/components/schemas/PersonOrganizationParent'
        ActiveOrganizationParentIds:
          type: array
          items:
            type: string
        HasIdentifiers:
          type: boolean
        IdentifiersCount:
          format: int32
          type: integer
        Identifiers:
          type: array
          items:
            $ref: '#/components/schemas/PersonOrganizationIdentifier'
        IdentifierLdapCode:
          type: array
          items:
            type: string
        IdentifierCplDepartmentId:
          type: array
          items:
            type: string
        CreatedBy:
          type: string
        CreatedAt:
          format: date-time
          type: string
        UpdatedBy:
          type: string
        UpdatedAt:
          format: date-time
          type: string
        ValidatedBy:
          type: string
        ValidatedDate:
          format: date-time
          type: string
        DeletedBy:
          type: string
        DeletedAt:
          format: date-time
          type: string
        NeedsAttention:
          type: boolean
        IsReplacedById:
          type: string
        IsActive:
          type: boolean
    PersonOrganizationType:
      type: object
      properties:
        Id:
          type: string
        NameSwe:
          type: string
        NameEng:
          type: string
        LegacyOrganizationTypeId:
          format: int32
          type: integer
    PersonIdentifier:
      type: object
      properties:
        Id:
          type: string
        Type:
          $ref: '#/components/schemas/PersonIdentifierType'
        CreatedBy:
          type: string
        CreatedAt:
          format: date-time
          type: string
        UpdatedBy:
          type: string
        UpdatedAt:
          format: date-time
          type: string
        IsActive:
          type: boolean
        Value:
          type: string
    PersonOrganizationIdentifierType:
      type: object
      properties:
        Id:
          type: string
        Value:
          type: string
        DescriptionSwe:
          type: string
        DescriptionEng:
          type: string
    OrganizationHome:
      type: object
      properties:
        Id:
          type: string
        OrganizationId:
          type: string
        OrganizationData:
          $ref: '#/components/schemas/PersonOrganization'
        LastUpdatedDate:
          format: date-time
          type: string
        TitleSwe:
          type: string
        TitleEng:
          type: string
        StartDate:
          format: date-time
          type: string
        EndDate:
          format: date-time
          type: string
        Source:
          type: string
        Priority:
          type: string
    ElectronicPublicationAgreementSignature:
      type: object
      properties:
        ID:
          format: int32
          description: Internal id number for contract
          type: integer
        PersonID:
          description: ResearchId-number for the person that signs the contract
          type: string
        Person:
          $ref: '#/components/schemas/PersonPerson'
          description: Person that signs the contract
        PublicationType:
          description: Used for writing out Publication Type in Emails
          type: string
        PublicationYear:
          description: Used for writing our Publication Year in Emails
          type: string
        PublicationTitle:
          description: Title of publication
          type: string
        PubID:
          format: int32
          description: PubId from CPL
          type: integer
        Agree:
          description: True if contract is signed
          type: boolean
        Date:
          format: date-time
          description: Date and time in UTC of contract signment
          type: string
        ContractText:
          description: Complete contract text
          type: string
        Checksum:
          description: "SHA256 hash calculated on the UTF-8 representation of the \r\n            string \"Person.Firstname+Person.Lastname+PublictionTitle+ContractText+Date(DateTime.ToString(\"o\"))"
          type: string
        PrintAt:
          description: Print location
          type: string
        Decision:
          description: Signees decision
          type: string
        Message:
          description: Message to admin
          type: string
        IpV4:
          description: Originating IP-address
          type: string
    PersonOrganizationIdentifier:
      type: object
      properties:
        Id:
          type: string
        Type:
          $ref: '#/components/schemas/PersonOrganizationIdentifierType'
        CreatedBy:
          type: string
        CreatedAt:
          format: date-time
          type: string
        UpdatedBy:
          type: string
        UpdatedAt:
          format: date-time
          type: string
        IsActive:
          type: boolean
        Value:
          type: string
    PdbCategory:
      type: object
      properties:
        Id:
          type: string
        Name:
          type: string
        StartDate:
          format: date-time
          type: string
        EndDate:
          format: date-time
          type: string
    PersonPerson:
      type: object
      properties:
        Id:
          type: string
        FirstName:
          type: string
        LastName:
          type: string
        DisplayName:
          type: string
        BirthYear:
          format: int32
          type: integer
        IsReplacedById:
          type: string
        IsReplacingId:
          type: string
        IsActive:
          type: boolean
        IsDeleted:
          type: boolean
        HasOrganizationHome:
          type: boolean
        HasIdentifiers:
          type: boolean
        HasPublications:
          type: boolean
        HasProjects:
          type: boolean
        OrganizationHomeCount:
          format: int32
          type: integer
        IdentifiersCount:
          format: int32
          type: integer
        IdentifierCid:
          type: array
          items:
            type: string
        IdentifierCplPersonId:
          type: array
          items:
            type: string
        IdentifierOrcid:
          type: array
          items:
            type: string
        Identifiers:
          type: array
          items:
            $ref: '#/components/schemas/PersonIdentifier'
        OrganizationHome:
          type: array
          items:
            $ref: '#/components/schemas/OrganizationHome'
        PdbCategories:
          type: array
          items:
            $ref: '#/components/schemas/PdbCategory'
        CreatedBy:
          type: string
        CreatedAt:
          format: date-time
          type: string
        UpdatedBy:
          type: string
        UpdatedAt:
          format: date-time
          type: string
        DeletedBy:
          type: string
        DeletedAt:
          format: date-time
          type: string
        SightedBy:
          type: string
        SightedAt:
          format: date-time
          type: string
        ValidatedBy:
          type: string
        ValidatedDate:
          format: date-time
          type: string
        NeedsAttention:
          type: boolean
    PersonDisplayPath:
      type: object
      properties:
        DisplayPathSwe:
          type: string
        DisplayPathEng:
          type: string
  securitySchemes:
    basic:
      type: http
      scheme: basic
      description: Basic HTTP Authentication