Propel Software (Propel PLM) Configuration API

The Configuration API from Propel Software (Propel PLM) — 1 operation(s) for configuration.

OpenAPI Specification

propelplm-configuration-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  version: '3.0'
  title: Get Bom Assembly Configuration API
  license:
    name: MIT
servers:
- url: https://{endpoint}/services/apexrest/{namespace}/v2
  variables:
    endpoint:
      description: This is the Salesforce instance url. It is the URL when using Salesforce Classic, i.e. propel.my.salesforce.com
    namespace:
      default: PDLM
      description: This value should default to PDLM for production environments. For dev environments, provide the namespace to your dev org.
tags:
- name: Configuration
paths:
  /configuration/:
    post:
      summary: Upsert a new configuration. A configuration is a custom setting or metadata within the package, the former being keyed by the 'Name' field whilst the latter on the 'Label' field.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              oneOf:
              - $ref: '#/components/schemas/GoogleDriveSetting'
              - $ref: '#/components/schemas/SharingRule'
      responses:
        '200':
          description: Successfully created new Configuration
          content:
            application/json:
              schema:
                type: object
                oneOf:
                - $ref: '#/components/schemas/GoogleDriveSetting'
                - $ref: '#/components/schemas/SharingRule'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Configuration
components:
  schemas:
    SharingRule:
      description: Example sharing rule custom metadata
      type: object
      required:
      - Label
      properties:
        Label:
          type: string
          example: Sharing Rule 8 - Share with Manufacturers
        Share_With_Field__c:
          type: string
    Error:
      description: A human readable error message or null/blank
      type: string
      example: Request body malformed.
    GoogleDriveSetting:
      description: Example google drive custom setting
      type: object
      required:
      - Name
      properties:
        Name:
          type: string
          example: GoogleDrive
        Access_Token__c:
          type: string
        Client_Id__c:
          type: string
          description: required if setting is brand new
        Client_Secret__c:
          type: string
          description: required if setting is brand new
        Drafts_Folder_Id__c:
          type: string
        In_Review_Folder_Id__c:
          type: string
        Refresh_Token__c:
          type: string
        Released_Folder_Id__c:
          type: string