--- swagger: "2.0" info: x-ibm-name: dbe-core-procurement-buyer-api title: DBE Core Procurement BUYER API version: 1.0.0 description: DBE Core API for procurement process that buyer offers to enable digitalized communications with DBE Core Supplier. contact: name: Kari Korpela email: kari.korpela@lut.fi url: https://dbecore.com schemes: - https basePath: /dbecore/v1 consumes: - application/json produces: - application/json securityDefinitions: clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id security: - clientIdHeader: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /responses/order_response: post: responses: 200: description: 200 OK summary: This API operation is used to receive an order response from a supplier. DBE Core Buyer needs to provide this API operation in oder to receive order response from supplier. parameters: - name: OrderResponse required: true in: body schema: $ref: '#/definitions/OrderResponse' description: OrderResponse data as JSON object tags: - order - buyer - mandatory /reponses/quotation: post: responses: 200: description: 200 OK parameters: - name: Quotation required: true in: body schema: $ref: '#/definitions/Quotation' summary: Used to receive a quotation from supplier. DBE Core Buyer needs to provide this API operation in oder to receive quotations from DBE Core Supplier. tags: - quotation - buyer - mandatory definitions: Item: properties: Description: type: string AdditionalItemIdentification: type: string ItemSpecificationDocumentReference: $ref: '#/definitions/Attachement' additionalProperties: false Attachement: properties: uri: type: string description: Web link additionalProperties: false Quotation: properties: CustomizationID: type: string ID: type: string IssueDate: type: string format: date IssueTime: type: string format: date-time NoteType: type: string BuyerCustomerParty: $ref: '#/definitions/BuyerCustomerParty' SellerSupplierParty: $ref: '#/definitions/SellerSupplierParty' Delivery: $ref: '#/definitions/Delivery' OrderLine: $ref: '#/definitions/OrderLine' ValidityPeriod: type: string additionalProperties: false RequestedDeliveryPeriod: properties: StartDate: type: string format: date EndDate: type: string format: date additionalProperties: false OrderResponse: properties: CustomizationID: type: string ID: type: string IssueDate: type: string format: date IssueTime: type: string format: date-time NoteType: type: string BuyerCustomerParty: $ref: '#/definitions/BuyerCustomerParty' SellerSupplierParty: $ref: '#/definitions/SellerSupplierParty' Delivery: $ref: '#/definitions/Delivery' OrderLine: $ref: '#/definitions/OrderLine' SalesOrderID: type: string OrderReference: type: string additionalProperties: false description: Response to order query SellerSupplierParty: properties: Party: $ref: '#/definitions/Party' additionalProperties: false Delivery: type: object properties: RequestedDeliveryPeriod: $ref: '#/definitions/RequestedDeliveryPeriod' DeliveryAddress: $ref: '#/definitions/DeliveryAddress' OrderLine: type: array items: $ref: '#/definitions/LineItem' LineItem: properties: ID: type: string Quantity: type: integer format: int64 TaxAmount: type: string Price: type: string Item: $ref: '#/definitions/Item' additionalProperties: false description: LineItem DeliveryAddress: properties: Postbox: type: string example: PL 12 StreetName: type: string example: Teollisuuskatu 1 CityName: type: string example: Kaupunki PostalZone: type: string example: "12340" CountrySubEntity: type: string example: PIRKANMAA Country: $ref: '#/definitions/Country' additionalProperties: false description: Delivery address info BuyerCustomerParty: properties: Party: $ref: '#/definitions/Party' Country: $ref: '#/definitions/Country' Contact: $ref: '#/definitions/Contact' additionalProperties: false description: An association to the buyer Contact: properties: Name: type: string example: Mr. Ville Vallaton Telephone: type: string example: "+35840033221" ElectronicMail: type: string example: ville.vallaton@ibm.com additionalProperties: false description: Contact information Country: properties: IndentificationCode: type: string example: FI description: Country code additionalProperties: false description: Country information Party: properties: PartyIdentification: type: string example: PartyID123 PartyName: type: string example: Ostaja/Myyja Oy PartyLegalEntity: type: string example: Corporate Contact: $ref: '#/definitions/Contact' additionalProperties: false description: Party information tags: - name: mandatory description: Marks a mandatory APIs that needs to be implemented to enable digitalized communication between DBE Core Parties - name: optional description: Marks an optional API that is optional to implement - name: order description: Related to DBE Core Order - name: buyer description: DBE Core Buyer responsibility to implement - name: supplier description: DBE Core Supplier responsibility to implement x-ibm-endpoints: - endpointUrl: https://api.eu-gb.apiconnect.appdomain.cloud/dbe-core-api-development-api-hack-1/test description: Base Gateway API Endpoint type: - production - development ...