Ds

Ds Backend

122 views 22/10/2018 07/11/2018 integrador 0

2.0info: 0.0.0 backend /bridge/rest/ds – application/json – application/jsonpaths: /backend/queries/dynamicDataTable: post: description: This operation is public. Inteface para pegar os Dados do Grid tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – dataTableModel properties: dataTableModel: type: object allOf: – #/definitions/dataTableModel description: responses: 200: description: Ok schema: type: object required: – value – serviceError properties: value: type: object allOf: – #/definitions/datatableout description: serviceError: type: object allOf: – #/definitions/errorDataTableQuery description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Inteface para pegar os Dados do Grid tags: – Queries parameters: – name: dataTableModel in: query required: true type: object allOf: – #/definitions/dataTableModel responses: 200: description: Ok schema: type: object required: – value – serviceError properties: value: type: object allOf: – #/definitions/datatableout description: serviceError: type: object allOf: – #/definitions/errorDataTableQuery description: default: description: Error response schema: #/definitions/genericError /backend/queries/dynamicDataTableDefinition: post: description: This operation is public. Inteface para pegar a definição do GRID tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – dataTableModel properties: dataTableModel: type: object allOf: – #/definitions/dataTableModel description: responses: 200: description: Ok schema: type: object required: – value – serviceError properties: value: type: object allOf: – #/definitions/dataTableModel description: serviceError: type: object allOf: – #/definitions/errorDataTableQuery description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Inteface para pegar a definição do GRID tags: – Queries parameters: – name: dataTableModel in: query required: true type: object allOf: – #/definitions/dataTableModel responses: 200: description: Ok schema: type: object required: – value – serviceError properties: value: type: object allOf: – #/definitions/dataTableModel description: serviceError: type: object allOf: – #/definitions/errorDataTableQuery description: default: description: Error response schema: #/definitions/genericError /backend/queries/dynamicSearchField: post: description: This operation is public. Inteface para consulta campos DynamicSearchField tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – view – descrField – filter properties: view: type: string description: descrField: type: string description: filter: type: string description: queryFilter: type: array items: type: object allOf: – #/definitions/dataTableFilter description: dynamicQueryFilters: type: array items: type: object allOf: – #/definitions/dynamicSearchGridFilter description: responses: 200: description: Ok schema: type: object required: – value – serviceError properties: value: type: string description: serviceError: type: object allOf: – #/definitions/errorDataTableQuery description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Inteface para consulta campos DynamicSearchField tags: – Queries parameters: – name: view in: query required: true type: string – name: descrField in: query required: true type: string – name: filter in: query required: true type: string – name: queryFilter in: query type: array items: type: object allOf: – #/definitions/dataTableFilter – name: dynamicQueryFilters in: query type: array items: type: object allOf: – #/definitions/dynamicSearchGridFilter responses: 200: description: Ok schema: type: object required: – value – serviceError properties: value: type: string description: serviceError: type: object allOf: – #/definitions/errorDataTableQuery description: default: description: Error response schema: #/definitions/genericError /backend/queries/dynamicCountDataTable: post: description: This operation is public. Inteface para quantidade total de dados no grid Dados do Grid tags: – Queries parameters: – name: input in: body required: true schema: type: object required: – dataTableModel properties: dataTableModel: type: object allOf: – #/definitions/dataTableModel description: responses: 200: description: Ok schema: type: object required: – value – serviceError properties: value: type: integer format: int64 description: serviceError: type: object allOf: – #/definitions/errorDataTableQuery description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Inteface para quantidade total de dados no grid Dados do Grid tags: – Queries parameters: – name: dataTableModel in: query required: true type: object allOf: – #/definitions/dataTableModel responses: 200: description: Ok schema: type: object required: – value – serviceError properties: value: type: integer format: int64 description: serviceError: type: object allOf: – #/definitions/errorDataTableQuery description: default: description: Error response schema: #/definitions/genericError /backend/queries/getMetadata: post: description: This operation is public. Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError get: description: This operation is public. Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries parameters: – name: metadataFormat in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: default: description: Error response schema: #/definitions/genericError definitions: dataTableColumnType: description: type: string enum: – Integer – Decimal – String – Date – Boolean – YesNo – Enum comparisonType: description: type: string enum: – Equals – Different – LessThan – GreaterThen – Like – Between – In – NotIn userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT dataTableModel: description: type: object required: – consulta – previousPage – page – length properties: consulta: type: string description: order: type: array items: type: object allOf: – #/definitions/order description: previousPage: type: integer format: int64 description: page: type: integer format: int64 description: length: type: integer format: int64 description: columnsModel: type: array items: type: object allOf: – #/definitions/dataTableColumnData description: queryFilter: type: array items: type: object allOf: – #/definitions/dataTableFilter description: dynamicQueryFilter: type: array items: type: object allOf: – #/definitions/dataTableFilter description: predefinedFilters: type: array items: type: object allOf: – #/definitions/predefinedFilters description: dynamicSearchGridFilters: type: array items: type: object allOf: – #/definitions/dynamicSearchGridFilter description: dynamicSearchGridFilter: description: type: object required: – filterId – queryFilter properties: filterId: type: string description: queryFilter: type: object allOf: – #/definitions/dataTableFilter description: predefinedFilterQueryFilter: description: type: object required: – title – queryFilter – isFiltering properties: type: string description: queryFilter: type: object allOf: – #/definitions/dataTableFilter description: isFiltering: type: boolean description: predefinedFilters: description: type: object required: – title – columnType – multiSelection – predefinedFiltersQueryFilters properties: type: string description: columnType: type: object allOf: – #/definitions/dataTableColumnType description: multiSelection: type: boolean description: predefinedFiltersQueryFilters: type: array items: type: object allOf: – #/definitions/predefinedFilterQueryFilter minimum: 1 description: dataTableColumnData: description: type: object required: – columnName – columnType properties: columnName: type: string description: columnType: type: object allOf: – #/definitions/dataTableColumnType description: enumValues: type: array items: type: string format: byte description: downloadData: description: type: object required: – domainName – serviceName – targetObjectId – version – token – fileName – areaSecret – location properties: domainName: type: string description: serviceName: type: string description: targetObjectId: type: string description: type: string description: token: type: string description: fileName: type: string description: areaSecret: type: string description: location: type: object allOf: – #/definitions/downloadLocation description: downloadLocation: description: type: object required: – protocol – uri properties: protocol: type: string description: uri: type: string description: dataTableFilter: description: type: object required: – columnName – comparisonType – value – columnType properties: columnName: type: string description: comparisonType: type: object allOf: – #/definitions/comparisonType description: value: type: string format: byte description: columnType: type: object allOf: – #/definitions/dataTableColumnType description: datatableout: description: type: object required: – previousPage – currentPage – data – hasNextPage properties: previousPage: type: integer format: int64 description: currentPage: type: integer format: int64 description: data: type: string format: byte description: hasNextPage: type: boolean description: column: description: type: object required: – data – name – searchable – orderable properties: data: type: string description: name: type: string description: searchable: type: boolean description: orderable: type: boolean description: search: type: object allOf: – #/definitions/search description: search: description: type: object required: – value – regex properties: value: type: string description: regex: type: boolean description: order: description: type: object required: – columnName – dir properties: columnName: type: string description: dir: type: string description: errorDataTableQuery: description: type: object required: – errorMsg – stackTrace properties: errorMsg: type: string description: stackTrace: type: string description: simpleEntity: description: type: object properties: id: type: integer format: int64 description: notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: object allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: object allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: object allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE

Este artigo foi útil para você?

Leave A Comment