--- swagger: "2.0" info: x-ibm-name: loansecurityjewellerycreationapi title: Loan_Security_Jewellery_Creation_API version: 1.0.0 description: This API is used to create security and link it to an account number. It is mostly used when the security type to be linked is 'jewellery'. schemes: - https basePath: /loansecurity consumes: - application/json produces: - application/json securityDefinitions: appSecret: type: apiKey description: "" in: header name: X-IBM-Client-Secret appID: type: apiKey in: header name: X-IBM-Client-Id security: - appID: [] appSecret: [] x-ibm-configuration: testable: false enforced: true phase: realized paths: /jewellery/create: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/response' 400: description: Bad Request schema: $ref: '#/definitions/errorResponse' 500: description: Internal Server Error schema: $ref: '#/definitions/errorResponse' parameters: - name: req required: true in: body schema: $ref: '#/definitions/request' definitions: request: description: "" type: object properties: fiUid: type: string description: Unique identifier maxLength: 20 coltrl_Type: type: string description: Collateral type, permitted value is J example: J maxLength: 10 coltrl_code: type: string description: Collateral code, permitted value is GOLDORN example: GOLDOR maxLength: 10 dervied_from: type: string description: The value can be passed as M for Market value enum: - M example: M maxLength: 5 loanAcct: type: string description: Loan account number example: "12345678987654" maxLength: 15 primarySecondary: type: string description: To indicate 'P' for primary and 'C' for secondary collateral enum: - P - C example: P maxLength: 3 fiServeType: type: string description: The value should be LINK enum: - LINK example: LINK maxLength: 10 nature_Charge: type: string description: Nature charge. The value should be PLDGE enum: - PLDGE example: PLDGE maxLength: 20 url: type: string description: The lodge and link status will be posted to this URL example: https://www.developer.federalbank.co.in maxLength: 700 prod_type: type: string description: Product Type example: RGS maxLength: 10 perdin_mths: type: string description: Period in months example: "6" maxLength: 6 perdin_days: type: string description: Period in months example: 6 maxLength: 6 emp_role: type: string description: Employee role example: ALL maxLength: 6 additionalProperties: false required: - url - nature_Charge - fiServeType - primarySecondary - loanAcct - dervied_from - coltrl_code - coltrl_Type - fiUid - prod_type - perdin_mths - perdin_days - emp_role response: description: "" type: object properties: fiUid: type: string description: Unique identifier Status: type: string description: Status required: - fiUid - Status callback-request: description: Callback request posted to clients type: object properties: UNIQ_ID: type: string description: Unique identifier COLTRL_TYPE: type: string description: Collateral type LDG_STATUS: type: string description: Security lodge status LDG_RES_CODE: type: string description: Security lodge error response code LDG_FI_DESC: type: string description: Security lodge error description LI_FI_STATUS: type: string description: Security link status LI_FI_RES_CODE: type: string description: Security link error response code LI_FI_DESC: type: string description: Security link error description URL: type: string description: The URL received in the incoming request errorResponse: description: error Response Structure type: object properties: errorResponse: type: object properties: tranTimeStamp: type: string description: Server Timestamp of the transaction statuscode: type: string description: HTTP Status Code of the Transaction statusreason: type: string description: HTTP status reasonphrase of the transaction customcode: type: string description: custom reference code of the status of the transaction. customreason: type: string description: short description of the result of the transaction tranId: type: string description: Server Transaction Id description: type: string description: description of the error additionalDetails: type: object description: further details related to the transaction tags: [] x-ibm-endpoints: - endpointUrl: https://devgateway.federalbank.co.in/fedbnkdev/dev type: - production - development ...