

swagger: "2.0"
info:
version: "1.0.0"
title: "PartnerBanking Information API"
x-targetEndpoint: "https://trial.apim1.hanatrial.ondemand.com"
host: "trial.apim1.hanatrial.ondemand.com:443"
basePath: "/v1/PartnerBankingInformation"
schemes:
- "http"
- "https"
consumes:
- "application/json"
produces:
- "application/json"
paths:
/partnerBankingInformation:
get:
description: "\nReturns all the banking information of the partner specified\
\ through its name or ID\n\nExample of use:\n\n/partnerBankingInformation?apikey=123&partnerId=123456\n"
operationId: "getPartnerBankingInformation"
parameters:
- name: "apiKey"
in: "query"
description: "The API key provided by the Developer Portal upon API subscription"
required: true
type: "string"
- name: "partnerName"
in: "query"
description: "The name of the partner"
required: false
type: "string"
- name: "partnerId"
in: "query"
description: "The partner id number"
required: false
type: "string"
responses:
200:
description: "Success"
schema:
$ref: "#/definitions/partnerBankingInformation"
default:
description: "Error"
schema:
$ref: "#/definitions/ErrorResponse"
x-swagger-router-controller: "Default"
post:
description: "Creates a partner banking information."
operationId: "postPartnerBankingInformation"
parameters:
- name: "apiKey"
in: "query"
description: "The API key provided by the Developer Portal upon API subscription"
required: true
type: "string"
- name: "partnerID"
in: "query"
description: "The partner id number"
required: true
type: "string"
- name: "partnerName"
in: "query"
description: "The partner name"
required: true
type: "string"
- name: "partnerPhoneNumber"
in: "query"
description: "The partner phone number"
required: true
type: "string"
- name: "partnerEmail"
in: "query"
description: "The partner email"
required: true
type: "string"
- name: "partnerAddress"
in: "query"
description: "The partner address"
required: true
type: "string"
- name: "partnerIBAN"
in: "query"
description: "The partner IBAN"
required: true
type: "string"
responses:
200:
description: "Success"
schema:
$ref: "#/definitions/partnerBankingInformation"
default:
description: "Error"
schema:
$ref: "#/definitions/ErrorResponse"
x-swagger-router-controller: "Default"
put:
description: "Updates a partner banking information."
operationId: "putPartnerBankingInformation"
parameters:
- name: "apiKey"
in: "query"
description: "The API key provided by the Developer Portal upon API subscription"
required: true
type: "string"
- name: "partnerID"
in: "query"
description: "The partner id number"
required: true
type: "string"
- name: "partnerName"
in: "query"
description: "The partner name"
required: true
type: "string"
- name: "partnerPhoneNumber"
in: "query"
description: "The partner phone number"
required: true
type: "string"
- name: "partnerEmail"
in: "query"
description: "The partner email"
required: true
type: "string"
- name: "partnerAddress"
in: "query"
description: "The partner address"
required: true
type: "string"
- name: "partnerIBAN"
in: "query"
description: "The partner IBAN"
required: true
type: "string"
responses:
200:
description: "Success"
schema:
$ref: "#/definitions/partnerBankingInformation"
default:
description: "Error"
schema:
$ref: "#/definitions/ErrorResponse"
x-swagger-router-controller: "Default"
x-swagger-router-controller: "PartnerBankingInformation"
definitions:
partnerBankingInformation:
properties:
partnerId:
type: "string"
description: "Identifier of the partner"
partnerName:
type: "string"
description: "Name of the partner"
partnerPhoneNumber:
type: "string"
description: "Phone number of the partner"
partnerEmail:
type: "string"
description: "Email of the partner"
partnerAddress:
type: "string"
description: "Full address including street, number, ZIP code and city name"
partnerIBAN:
type: "string"
description: "IBAN of partner"
ErrorResponse:
required:
- "message"
properties:
message:
type: "string"





{
"name": "partnerbanking-information-api",
"version": "1.0.0",
"description": "No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)",
"main": "index.js",
"scripts": {
"prestart": "npm install",
"start": "node index.js"
},
"keywords": [
"swagger"
],
"license": "Unlicense",
"private": true,
"dependencies": {
"cfenv": "^1.0.0",
"connect": "^3.2.0",
"js-yaml": "^3.3.0",
"swagger-tools": "0.10.1"
}
}
"cfenv": "^1.0.0",
//var serverPort = 443;
//Modified
var cfenv = require("cfenv");
var appEnv = cfenv.getAppEnv();
var serverPort = appEnv.port || 443;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 112 | |
| 44 | |
| 43 | |
| 39 | |
| 38 | |
| 35 | |
| 35 | |
| 34 | |
| 31 | |
| 24 |