> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /iec/publications

> Get IEC Webstore publications by id, up to 20 in one call. Returns the catalogue record: reference and its parsed parts, title, abstract, edition, status, publication date, ISBN, page count, list price in Swiss francs, the languages and file formats on sale, the technical committee and subcommittee, ICS codes with their titles, keyword and Sustainable Development Goal classifications, the full edition and amendment lifecycle, sibling publications and the publications that cite this one.

**Price:** 10 credits

**⚠️ Common errors:** 412: None of the supplied ids exist in the IEC catalogue, 422: An input could not be parsed as an IEC publication id



## OpenAPI

````yaml /openapi/gov-public-sector.json post /api/iec/publications
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/iec/publications:
    post:
      tags:
        - /iec
      summary: /iec/publications
      description: >-
        Get IEC Webstore publications by id, up to 20 in one call. Returns the
        catalogue record: reference and its parsed parts, title, abstract,
        edition, status, publication date, ISBN, page count, list price in Swiss
        francs, the languages and file formats on sale, the technical committee
        and subcommittee, ICS codes with their titles, keyword and Sustainable
        Development Goal classifications, the full edition and amendment
        lifecycle, sibling publications and the publications that cite this one.


        **Price:** 10 credits


        **⚠️ Common errors:** 412: None of the supplied ids exist in the IEC
        catalogue, 422: An input could not be parsed as an IEC publication id
      operationId: __api_iec_publications_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IecPublicationsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IecPublication'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    IecPublicationsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        publications:
          items:
            type: string
          type: array
          maxItems: 20
          minItems: 1
      type: object
      required:
        - publications
    IecPublication:
      properties:
        '@type':
          type: string
          default: IecPublication
        id:
          type: string
        urn:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        art_num:
          anyOf:
            - type: string
            - type: 'null'
        reference:
          anyOf:
            - type: string
            - type: 'null'
        reference_parts:
          anyOf:
            - $ref: '#/components/schemas/IecReferenceParts'
            - type: 'null'
        publication_title:
          anyOf:
            - type: string
            - type: 'null'
        abstract:
          anyOf:
            - type: string
            - type: 'null'
        edition:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        document_form:
          anyOf:
            - type: string
            - type: 'null'
        publication_date:
          anyOf:
            - type: string
            - type: 'null'
        isbn:
          anyOf:
            - type: string
            - type: 'null'
        page_count:
          anyOf:
            - type: integer
            - type: 'null'
        price:
          anyOf:
            - $ref: '#/components/schemas/IecPrice'
            - type: 'null'
        available_formats:
          items:
            type: string
          type: array
          default: []
        available_files:
          items:
            $ref: '#/components/schemas/IecAvailableFile'
          type: array
          default: []
        preview_languages:
          items:
            type: string
          type: array
          default: []
        deliverables:
          items:
            $ref: '#/components/schemas/IecDeliverable'
          type: array
          default: []
        committee:
          anyOf:
            - $ref: '#/components/schemas/IecCommittee'
            - type: 'null'
        ics:
          items:
            $ref: '#/components/schemas/IecIcsCode'
          type: array
          default: []
        classifications:
          items:
            $ref: '#/components/schemas/IecClassification'
          type: array
          default: []
        lifecycle:
          items:
            $ref: '#/components/schemas/IecLifecycleEntry'
          type: array
          default: []
        related_publications:
          items:
            $ref: '#/components/schemas/IecRelatedPublication'
          type: array
          default: []
        referenced_by:
          items:
            $ref: '#/components/schemas/IecRelatedPublication'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    IecReferenceParts:
      properties:
        '@type':
          type: string
          default: IecReferenceParts
        head:
          anyOf:
            - type: string
            - type: 'null'
        number:
          anyOf:
            - type: string
            - type: 'null'
        part:
          anyOf:
            - type: string
            - type: 'null'
        section:
          anyOf:
            - type: string
            - type: 'null'
        amendment:
          anyOf:
            - type: string
            - type: 'null'
        corrigendum:
          anyOf:
            - type: string
            - type: 'null'
        version:
          anyOf:
            - type: string
            - type: 'null'
        issue:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecPrice:
      properties:
        '@type':
          type: string
          default: IecPrice
        amount:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecAvailableFile:
      properties:
        '@type':
          type: string
          default: IecAvailableFile
        file_format:
          anyOf:
            - type: string
            - type: 'null'
        language:
          anyOf:
            - type: string
            - type: 'null'
        file_type:
          anyOf:
            - type: string
            - type: 'null'
        has_full_pdf:
          anyOf:
            - type: boolean
            - type: 'null'
        has_supporting_content:
          anyOf:
            - type: boolean
            - type: 'null'
        has_zipped_document:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    IecDeliverable:
      properties:
        '@type':
          type: string
          default: IecDeliverable
        art_num:
          anyOf:
            - type: string
            - type: 'null'
        deliverable_type:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        languages:
          items:
            type: string
          type: array
          default: []
        last_update:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecCommittee:
      properties:
        '@type':
          type: string
          default: IecCommittee
        level_1:
          anyOf:
            - type: string
            - type: 'null'
        level_1_title:
          anyOf:
            - type: string
            - type: 'null'
        level_2:
          anyOf:
            - type: string
            - type: 'null'
        level_2_title:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecIcsCode:
      properties:
        '@type':
          type: string
          default: IecIcsCode
        level_1:
          anyOf:
            - type: string
            - type: 'null'
        level_1_title:
          anyOf:
            - type: string
            - type: 'null'
        level_2:
          anyOf:
            - type: string
            - type: 'null'
        level_2_title:
          anyOf:
            - type: string
            - type: 'null'
        level_3:
          anyOf:
            - type: string
            - type: 'null'
        level_3_title:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecClassification:
      properties:
        '@type':
          type: string
          default: IecClassification
        classification_type:
          anyOf:
            - type: string
            - type: 'null'
        value:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    IecLifecycleEntry:
      properties:
        '@type':
          type: string
          default: IecLifecycleEntry
        id:
          anyOf:
            - type: string
            - type: 'null'
        reference:
          anyOf:
            - type: string
            - type: 'null'
        edition:
          anyOf:
            - type: string
            - type: 'null'
        publication_date:
          anyOf:
            - type: string
            - type: 'null'
        forecast_publication_date:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        stage:
          anyOf:
            - type: string
            - type: 'null'
        is_in_progress:
          anyOf:
            - type: boolean
            - type: 'null'
        is_national_committee_only:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    IecRelatedPublication:
      properties:
        '@type':
          type: string
          default: IecRelatedPublication
        id:
          anyOf:
            - type: string
            - type: 'null'
        reference:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````