openapi: 3.0.1 info: title: Dtest API description: "Test description" termsOfService: https://google.com/ contact: name: API Support url: https://google.com/ license: name: test Master url: https://google.com/ version: 2.0.0 x-vc-disable-tryitout: "true" x-vc-product_suite: test x-vc-product_code: test servers: - url: "{protocol}://{server}/api/em/" description: Application Server load balancer base URL variables: protocol: description: This is http or https default: https enum: - http - https server: description: Hostname of the Load Balancer default: MyLoadBalancerOrServerName paths: /v2/datasources/{dsId}/extensions: post: summary: Creates multiple extensions operationId: createExtensions parameters: - name: dsId in: path description: Data Source ID required: true schema: type: integer format: int32 example: 3 requestBody: description: JSON Body containing extensions to create content: application/json: schema: $ref: '#/components/schemas/ExtensionDTO' examples: Create multiple Extensions: summary: Creates multiple extensions in a Data Source description: Create multiple Extensions value: - extensionValue: "9" recordingMode: "1" secondaryExtensions: [] resourceGroups: - id: 12 name: IP Pool1 resourceGroupTypeId: -5 resourceGroupTypeName: IP Extension Pool - id: 13 name: IP Pool2 resourceGroupTypeId: -500001 resourceGroupTypeName: IP Extension Pool employee: id: 214 required: true responses: default: description: Status of the call "200": description: Retrieved Member Group successfully "400": description: Invalid input "404": description: Data Source not found "401": description: Not Authenticated "403": description: Not Authorized "500": description: Internal Server Error components: schemas: DataSource: required: - name - subType - type type: object properties: name: maxLength: 50 minLength: 1 pattern: "^[^\\\\\\[\\[<>\"&?\\]!]+$" type: string description: Name of the Data Source description: maxLength: 200 minLength: 0 pattern: "^[^\\\\\\[\\[<>\"&?\\]!]+$" type: string description: Description of the Data Source subType: type: string description: Subtype of the Data Source enum: - Generic - test organizationId: minimum: -4000 type: integer description: ID format: int32 parentId: minimum: 0 type: integer description: ID of the paren. format: int32 externalId: type: integer description: External ID format: int32 qmAnalyticsId: type: integer format: int32 associatedRoles: type: array description: IDs of the Rs Data Source. These are the IDs of the Role Installation i. items: type: integer description: IDs of th. These are the IDs of the. format: int32 associatedDataSourceIds: type: array description: IDs of the Associated Data Sources items: type: integer description: IDs of the Associated Data Sources format: int32 tenantId: type: integer description: 'Tenant ID this Data Source belongs to ' format: int32 readOnly: true settings: type: array items: type: object additionalProperties: type: object description: Name/Value Pair description: Name/Value Pair type: type: string description: Type of Data Source enum: - Phone - Trader - Dialer - LAN - Radio - Application - Text Analytics description: Contains basic Data Source properties and its Settings example: data: - type: DataSource attributes: name: Text Store Data Source description: My text store type: TextAnalytics subType: TextStore parentId: "21" organizationId: "-3001" associatedRoles: - 67 - 89 ExtensionDTO: type: object properties: id: type: integer format: int32 extensionValue: type: string extensionRangeStart: type: integer format: int32 writeOnly: true extensionRangeEnd: type: integer format: int32 writeOnly: true extensionRangePrefix: type: string extensionRangePostfix: type: string recordingMode: type: integer format: int32 secondaryExtensions: type: array items: $ref: '#/components/schemas/ExtensionDTO' overwriteExisting: type: boolean writeOnly: true