openapi: 3.2.0 info: title: Fenergo Collateral Draft API version: '1.0' description: 'Operations tagged CollateralDraft across 2 of this provider''s published API definitions: fenergo-collateralcommand-v1-0-openapi.json, fenergo-collateralquery-v1-0-openapi.json. Each path carries the servers of the definition it was published in.' servers: - url: /collateralcommand - url: /collateralquery security: - Bearer: [] tags: - name: CollateralDraft paths: /api/collateral/{collateralId}/draft/journey/{journeyId}: post: tags: - CollateralDraft summary: Create a new Collateral Draft description: 'Creates a new Collateral Draft for given Collateral Id The returned Id can be used in the Query API to retrieve this Collateral Draft. Required permissions: Following permissions are required: CollateralEdit' parameters: - name: collateralId in: path description: Collateral Id required: true schema: type: string format: uuid - name: journeyId in: path description: Journey Id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 responses: '202': description: Success. Asset Draft created content: application/json: schema: $ref: '#/components/schemas/CollateralDraftDtoServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: Internal server error '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: Error Code operationId: postApiCollateralByCollateralIdDraftJourneyByJourneyId x-operation-id-source: derived servers: - url: /collateralcommand /api/collateral/{collateralId}/draft/{id}: put: tags: - CollateralDraft summary: Update a Collateral Draft description: 'Updates a Collateral Draft Required permissions: Following permissions are required: CollateralEdit' parameters: - name: collateralId in: path description: Collateral Id required: true schema: type: string format: uuid - name: id in: path description: Collateral Draft Id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 requestBody: description: Update Collateral Draft request. Must contain collateral draft properties content: application/json: schema: allOf: - $ref: '#/components/schemas/UpdateCollateralDraftDtoServiceRequest' responses: '202': description: Success. Collateral Draft updated content: application/json: schema: $ref: '#/components/schemas/CollateralDraftUpdatedDtoServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '409': description: Conflict saving changes in expected version content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: There are conflicts that cannot be resolved automatically, get latest and apply your changes type: Error errorCode: CONFLICT '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found. Collateral/Collateral draft with given Id does not exist type: Error errorCode: Error Code '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: Error Code operationId: putApiCollateralByCollateralIdDraftById x-operation-id-source: derived delete: tags: - CollateralDraft summary: Delete a Collateral Draft description: 'Required permissions: Following permissions are required: CollateralEdit' parameters: - name: collateralId in: path description: Collateral Id required: true schema: type: string format: uuid - name: id in: path description: Collateral Draft Id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 responses: '202': description: Accepted for processing '409': description: Conflict saving changes in expected version content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: There are conflicts that cannot be resolved automatically, get latest and apply your changes type: Error errorCode: CONFLICT '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found type: Error errorCode: Error Code '400': description: Collateral Draft not found '500': description: Internal server error '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: Error Code operationId: deleteApiCollateralByCollateralIdDraftById x-operation-id-source: derived servers: - url: /collateralcommand /api/collateral/{collateralId}/draft/{id}/verify: put: tags: - CollateralDraft summary: Verify a Collateral Draft description: 'Verifies a Collateral Draft Required permissions: Following permissions are required: CollateralApprove' parameters: - name: id in: path description: Collateral Draft Id required: true schema: type: string format: uuid - name: collateralId in: path description: Collateral Id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 responses: '202': description: Success. Collateral Draft verified '409': description: Conflict saving changes in expected version content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: There are conflicts that cannot be resolved automatically, get latest and apply your changes type: Error errorCode: CONFLICT '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found. Collateral/Collateral Draft with given Id does not exist type: Error errorCode: Error Code '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: Error Code operationId: putApiCollateralByCollateralIdDraftByIdVerify x-operation-id-source: derived servers: - url: /collateralcommand /api/collateral/draft/{collateralDraftId}: get: tags: - CollateralDraft summary: Get an Collateral Draft by Id description: 'This method returns the Collateral Draft of specified Id. Required permissions: Following permissions are required: CollateralAccessAndSearch' operationId: GetCollateralDraftById parameters: - name: collateralDraftId in: path description: Collateral Draft Id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 responses: '200': description: Success. A Collateral Draft is returned content: application/json: schema: $ref: '#/components/schemas/CollateralDraftDtoServiceResponse_2' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found. Collateral/Collateral Draft with given Id does not exist type: Error errorCode: Error Code '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: Error Code servers: - url: /collateralquery /api/collateral/draft/{collateralId}/{collateralDraftId}: get: tags: - CollateralDraft summary: Get an Collateral Draft by Id and Collateral Id description: 'This method returns the Collateral Draft of specified Id and Collateral Id. Required permissions: Following permissions are required: CollateralAccessAndSearch' operationId: GetCollateralDraftByCollateralId parameters: - name: collateralDraftId in: path description: Collateral Draft Id required: true schema: type: string format: uuid - name: collateralId in: path description: Collateral Id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 responses: '200': description: Success. A Collateral Draft is returned content: application/json: schema: $ref: '#/components/schemas/CollateralDraftDtoServiceResponse_2' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found. Collateral/Collateral Draft with given Id does not exist type: Error errorCode: Error Code '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: Error Code servers: - url: /collateralquery /api/collateral/draft/list: post: tags: - CollateralDraft summary: Get all Collateral Drafts by Ids description: 'This method returns the list of Collateral Drafts of specified Ids. Required permissions: Following permissions are required: CollateralAccessAndSearch' operationId: GetCollateralDraftByIds parameters: - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 requestBody: description: List of Collateral Draft Ids content: application/json: schema: allOf: - $ref: '#/components/schemas/CollateralDraftListQueryDtoServiceRequest' required: true responses: '200': description: Success. Collateral Drafts are returned content: application/json: schema: $ref: '#/components/schemas/CollateralDraftDtoIEnumerableServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found type: Error errorCode: Error Code '500': description: Internal server error '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: Error Code servers: - url: /collateralquery /api/collateral/draft/journey/{journeyId}: get: tags: - CollateralDraft summary: Get all Collateral Drafts by Journey Id description: 'This method returns the list of Collateral Drafts of specified Journey Id. Required permissions: Following permissions are required: CollateralAccessAndSearch' operationId: GetCollateralDraftsByJourney parameters: - name: journeyId in: path description: Journey Id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 responses: '200': description: Success. Collateral Drafts are returned content: application/json: schema: $ref: '#/components/schemas/CollateralDraftDtoIEnumerableServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found type: Error errorCode: Error Code '500': description: Internal server error '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: Error Code servers: - url: /collateralquery components: schemas: ServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false ValidationErrorModelListServiceResponse: type: object properties: data: type: - array - 'null' items: $ref: '#/components/schemas/ValidationErrorModel' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false example: data: - propertyName: data errorMessage: Data is required attemptedValue: '' errorCode: NotNullValidator messages: - message: Data is required type: Error errorCode: Error Code UpdateCollateralDraftDto: type: object properties: id: type: string description: The Collateral Id format: uuid example: e1809731-77df-4e72-98e7-0d314b7a5151 type: type: - string - 'null' description: The Collateral Type example: Financial Asset properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' description: 'List of custom properties for a collateral separate from the standard out of the box properties.' example: firstName: type: Single value: Tom dateOfBirth: type: Single value: '2021-07-15' address: type: Collection dataGroupId: 674ccef1-cfdc-46af-97f8-340b24ab7f43 collections: 54a25d24-1a4b-45c6-a5b4-980e5d3a1df5: properties: country: Spain city: Madrid street: C. de Sevilla 93468632-1a9e-4ad0-b2e1-c5ec0f65d7b2: properties: country: Spain city: Barcelona street: Carrer de Girona status: type: - string - 'null' description: The Collateral Draft Status example: Active sourceCollateralVersion: type: integer description: The Version of Collateral that draft was made for format: int32 example: 1 version: type: integer description: The version of the updated draft format: int32 jurisdictions: type: - array - 'null' items: $ref: '#/components/schemas/VersionedJurisdictionDto' description: Collection of policy jurisdictions categories: type: - array - 'null' items: type: string description: Collection of categories of passed properties, if null then use all entityType: type: - string - 'null' description: The type of the entity (Individual, Company, Other, All) example: Individual entityProperties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' description: EntityData properties used for rules evaluation example: firstName: type: Single value: Tom dateOfBirth: type: Single value: '2021-07-15' address: type: Collection dataGroupId: 674ccef1-cfdc-46af-97f8-340b24ab7f43 collections: 54a25d24-1a4b-45c6-a5b4-980e5d3a1df5: properties: country: Spain city: Madrid street: C. de Sevilla 93468632-1a9e-4ad0-b2e1-c5ec0f65d7b2: properties: country: Spain city: Barcelona street: Carrer de Girona entityId: type: - string - 'null' description: The Entity id this Collateral belongs to example: e1809731-77df-4e72-98e7-0d314b7a5151 journeyId: type: - string - 'null' description: Journey Id this Collateral belongs to example: e1809731-77df-4e72-98e7-0d314b7a5151 taskId: type: - string - 'null' description: Task Id this Collateral belongs to example: e1809731-77df-4e72-98e7-0d314b7a5151 isCompleting: type: boolean description: Is current Task completing additionalProperties: false description: "Class to represent the collateral uploaded. \nContains all properties needed to fill the metadata of the collateral being uploaded." PropertyType: enum: - Single - Custom - Collection type: string CollateralDraftUpdatedDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/CollateralDraftUpdatedDto' description: Response DTO representing updated collateral draft messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false CollateralDraftDto: type: object properties: id: type: string description: The Collateral Id format: uuid example: e1809731-77df-4e72-98e7-0d314b7a5151 type: type: - string - 'null' description: The Collateral Type example: Financial Asset properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' description: 'List of custom properties for a collateral separate from the standard out of the box properties.' example: firstName: type: Single value: Tom dateOfBirth: type: Single value: '2021-07-15' address: type: Collection dataGroupId: 674ccef1-cfdc-46af-97f8-340b24ab7f43 collections: 54a25d24-1a4b-45c6-a5b4-980e5d3a1df5: properties: country: Spain city: Madrid street: C. de Sevilla 93468632-1a9e-4ad0-b2e1-c5ec0f65d7b2: properties: country: Spain city: Barcelona street: Carrer de Girona status: type: - string - 'null' description: The Collateral Draft Status example: Active sourceCollateralVersion: type: integer description: The Version of Collateral that draft was made for format: int32 example: 1 sourceCollateralId: type: string description: CollateralId for Collateral Draft format: uuid journeyId: type: string description: JourneyId for Collateral Draft format: uuid version: type: integer description: Version of the Collateral Draft format: int32 createdDate: type: - string - 'null' description: DateTime of the created Collateral format: date-time additionalProperties: false description: "Class to represent the collateral uploaded. \nContains all properties needed to fill the metadata of the collateral being uploaded." UpdateCollateralDraftDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/UpdateCollateralDraftDto' description: "Class to represent the collateral uploaded. \nContains all properties needed to fill the metadata of the collateral being uploaded." additionalProperties: false CollateralDraftDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/CollateralDraftDto' description: "Class to represent the collateral uploaded. \nContains all properties needed to fill the metadata of the collateral being uploaded." messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false ValidationErrorModel: type: object properties: propertyName: type: - string - 'null' errorMessage: type: - string - 'null' attemptedValue: {} errorCode: type: - string - 'null' additionalProperties: false VersionedJurisdictionDto: type: object properties: jurisdiction: type: - string - 'null' description: Jurisdiction Name example: Global versionId: type: string description: Jurisdiction Version Id format: uuid example: 7c4bc3ff-9d5b-4ccd-839b-637c227b1c65 additionalProperties: false ServiceResponseMessage: type: object properties: message: type: - string - 'null' type: type: - string - 'null' errorCode: type: - string - 'null' additionalProperties: false PropertyDto: type: object properties: type: allOf: - $ref: '#/components/schemas/PropertyType' readOnly: true discriminator: allOf: - $ref: '#/components/schemas/PropertyType' readOnly: true isValid: type: - boolean - 'null' additionalProperties: false CollateralDraftUpdatedDto: type: object properties: version: type: integer description: Version of collateral draft after update format: int32 example: 4 additionalProperties: false description: Response DTO representing updated collateral draft ObjectServiceResponse: type: object properties: data: {} messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false StringServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false CollateralDraftDto_2: type: object properties: id: type: string description: The Collateral Draft Id format: uuid example: e1809731-77df-4e72-98e7-0d314b7a5151 type: type: - string - 'null' description: The Collateral Type example: Financial Asset properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' description: 'List of custom properties for a collateral separate from the standard out of the box properties.' status: type: - string - 'null' description: The Collateral Draft Status example: Active sourceCollateralVersion: type: integer description: The Version of Collateral that draft was made for format: int32 example: 1 sourceCollateralId: type: string description: The Collateral Id format: uuid example: e1809731-77df-4e72-98e7-0d314b7a5151 journeyId: type: string description: Id of the related Journey format: uuid example: e1809731-77df-4e72-98e7-0d314b7a5151 version: type: integer description: Version of the Collateral Draft format: int32 createdDate: type: - string - 'null' description: DateTime of the created Collateral format: date-time additionalProperties: false description: "A Collateral object. \nContains all properties needed to fill the metadata of the collateral." CollateralDraftDtoIEnumerableServiceResponse: type: object properties: data: type: - array - 'null' items: $ref: '#/components/schemas/CollateralDraftDto_2' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false CollateralDraftListQueryDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/CollateralDraftListQueryDto' additionalProperties: false CollateralDraftDtoServiceResponse_2: type: object properties: data: allOf: - $ref: '#/components/schemas/CollateralDraftDto_2' description: "A Collateral object. \nContains all properties needed to fill the metadata of the collateral." messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false CollateralDraftListQueryDto: type: object properties: ids: type: - array - 'null' items: type: string description: The list of Collateral Draft Ids to fetch additionalProperties: false securitySchemes: Bearer: type: apiKey description: Please insert JWT with Bearer into field name: Authorization in: header x-refined-from: - fenergo-collateralcommand-v1-0-openapi.json - fenergo-collateralquery-v1-0-openapi.json