{"swagger":"2.0","info":{"description":"bulk api for evidence application","version":"v1.0.0","title":"evidence api"},"host":"http://localhost:9089","basePath":"/api/v1.0.0/","schemes":["http","https"],"security":[{"basicAuth":[]}],"paths":{"/origination/evidence/bankStatements":{"post":{"operationId":"acceptBankStatement","produces":["application/json"],"parameters":[{"name":"credentials","in":"query","required":false,"type":"string"},{"name":"companyId","in":"query","required":false,"type":"string"},{"in":"body","name":"payload","required":true,"schema":{"properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"customerId":{"type":"string","description":"The identifier of the customer"},"applicationType":{"type":"string","description":""},"applicationId":{"type":"string","description":"The identifier of the application"},"signatureDate":{"type":"string","format":"date","description":""},"bankStatement":{"type":"object","properties":{"bankName":{"type":"string","description":"","maxLength":30},"bankAddress":{"type":"string","description":"","maxLength":50},"periodFrom":{"type":"string","format":"date","description":""},"periodTo":{"type":"string","format":"date","description":""},"accountNumber":{"type":"string","description":"The identifier of the account. Often referred to as the account number, yet for consistency this is always referred to as accountId.","maxLength":15},"customerName":{"type":"string","description":"The name that is displayed for the customer","maxLength":30},"customerAddress":{"type":"string","description":"","maxLength":50},"openingBalance":{"type":"number","description":""},"closingBalance":{"type":"number","description":""}}}}}},"title":"acceptBankStatement","description":"acceptBankStatement"}}],"responses":{"200":{"description":"bankStatementResponse","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"arrangementActivity":{"type":"object","properties":{"activityId":{"type":"string"},"effectiveDate":{"type":"string"},"parties":{"type":"array","items":{"type":"object","properties":{"partyId":{"type":"string"}}}}}}}}}}},"default":{"description":"bankStatementError","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"error":{"type":"object","properties":{"errorDetails":{"type":"array","items":{"type":"object","properties":{"fieldName":{"type":"string","description":"The name of the field"},"code":{"type":"string","description":"The identifier of the error message"},"message":{"type":"string","description":"The actual t24 error message"}}}},"type":{"type":"string","description":"The identifier of error type"}}}}}}}}},"/origination/evidence/driverLicences":{"post":{"operationId":"acceptDriverLicence","produces":["application/json"],"parameters":[{"name":"credentials","in":"query","required":false,"type":"string"},{"name":"companyId","in":"query","required":false,"type":"string"},{"in":"body","name":"payload","required":true,"schema":{"properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"customerId":{"type":"string","description":"The identifier of the customer"},"applicationType":{"type":"string","description":""},"applicationId":{"type":"string","description":"The identifier of the application"},"signatureDate":{"type":"string","format":"date","description":""},"driverLicence":{"type":"object","properties":{"givenName":{"type":"string","description":"","maxLength":30},"surname":{"type":"string","description":"","maxLength":30},"dateOfBirth":{"type":"string","format":"date","description":"An individual's date of birth. "},"nationality":{"type":"string","description":"","maxLength":30},"dateOfIssue":{"type":"string","format":"date","description":""},"dateOfExpiry":{"type":"string","format":"date","description":""},"issuer":{"type":"string","description":""},"licenceId":{"type":"string","description":"","maxLength":30},"address1":{"type":"string","description":"","maxLength":30},"address2":{"type":"string","description":"","maxLength":30},"city":{"type":"string","description":"","maxLength":30},"postcode":{"type":"string","description":"Identifies the postal code for customer.","maxLength":12}}}}}},"title":"acceptDriverLicence","description":"acceptDriverLicence"}}],"responses":{"200":{"description":"driverLicenceResponse","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"arrangementActivity":{"type":"object","properties":{"activityId":{"type":"string"},"effectiveDate":{"type":"string"},"parties":{"type":"array","items":{"type":"object","properties":{"partyId":{"type":"string"}}}}}}}}}}},"default":{"description":"driverLicenceError","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"error":{"type":"object","properties":{"errorDetails":{"type":"array","items":{"type":"object","properties":{"fieldName":{"type":"string","description":"The name of the field"},"code":{"type":"string","description":"The identifier of the error message"},"message":{"type":"string","description":"The actual t24 error message"}}}},"type":{"type":"string","description":"The identifier of error type"}}}}}}}}},"/origination/evidence/passports":{"post":{"operationId":"acceptPassport","produces":["application/json"],"parameters":[{"name":"credentials","in":"query","required":false,"type":"string"},{"name":"companyId","in":"query","required":false,"type":"string"},{"in":"body","name":"payload","required":true,"schema":{"properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"customerId":{"type":"string","description":"The identifier of the customer"},"applicationType":{"type":"string","description":""},"applicationId":{"type":"string","description":"The identifier of the application"},"signatureDate":{"type":"string","format":"date","description":""},"passport":{"type":"object","properties":{"passportNumber":{"type":"string","description":"","maxLength":10},"surname":{"type":"string","description":"","maxLength":30},"givenNames":{"type":"string","description":"","maxLength":30},"nationality":{"type":"string","description":"","maxLength":30},"dateOfBirth":{"type":"string","format":"date","description":"An individual's date of birth. "},"gender":{"type":"string","description":"The gender of the individual","maxLength":7},"placeOfBirth":{"type":"string","description":"","maxLength":30},"dateOfIssue":{"type":"string","format":"date","description":""},"dateOfExpiry":{"type":"string","format":"date","description":""}}}}}},"title":"acceptPassport","description":"acceptPassport"}}],"responses":{"200":{"description":"passportResponse","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"arrangementActivity":{"type":"object","properties":{"activityId":{"type":"string"},"effectiveDate":{"type":"string"},"parties":{"type":"array","items":{"type":"object","properties":{"partyId":{"type":"string"}}}}}}}}}}},"default":{"description":"passportError","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"error":{"type":"object","properties":{"errorDetails":{"type":"array","items":{"type":"object","properties":{"fieldName":{"type":"string","description":"The name of the field"},"code":{"type":"string","description":"The identifier of the error message"},"message":{"type":"string","description":"The actual t24 error message"}}}},"type":{"type":"string","description":"The identifier of error type"}}}}}}}}},"/origination/evidence/payslips":{"post":{"operationId":"acceptPayslip","produces":["application/json"],"parameters":[{"name":"credentials","in":"query","required":false,"type":"string"},{"name":"companyId","in":"query","required":false,"type":"string"},{"in":"body","name":"payload","required":true,"schema":{"properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"customerId":{"type":"string","description":"The identifier of the customer"},"applicationType":{"type":"string","description":""},"applicationId":{"type":"string","description":"The identifier of the application"},"signatureDate":{"type":"string","format":"date","description":""},"payslip":{"type":"object","properties":{"employeeNumber":{"type":"string","description":"","maxLength":30},"employeeName":{"type":"string","description":"","maxLength":30},"date":{"type":"string","format":"date","description":""},"nationalInsuranceNo":{"type":"string","description":"","maxLength":15},"employerName":{"type":"string","description":"","maxLength":30},"taxCode":{"type":"string","description":"","maxLength":10},"taxPeriod":{"type":"string","description":"","maxLength":10},"grossPay":{"type":"number","description":""},"incomeTax":{"type":"number","description":""},"employeePension":{"type":"number","description":""},"employeeNic":{"type":"number","description":""},"employerPension":{"type":"number","description":""},"employerNic":{"type":"number","description":""},"netPay":{"type":"number","description":""}}}}}},"title":"acceptPayslip","description":"acceptPayslip"}}],"responses":{"200":{"description":"payslipResponse","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"arrangementActivity":{"type":"object","properties":{"activityId":{"type":"string"},"effectiveDate":{"type":"string"},"parties":{"type":"array","items":{"type":"object","properties":{"partyId":{"type":"string"}}}}}}}}}}},"default":{"description":"payslipError","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"error":{"type":"object","properties":{"errorDetails":{"type":"array","items":{"type":"object","properties":{"fieldName":{"type":"string","description":"The name of the field"},"code":{"type":"string","description":"The identifier of the error message"},"message":{"type":"string","description":"The actual t24 error message"}}}},"type":{"type":"string","description":"The identifier of error type"}}}}}}}}},"/origination/evidence/utilityBills":{"post":{"operationId":"acceptUtilityBill","produces":["application/json"],"parameters":[{"name":"credentials","in":"query","required":false,"type":"string"},{"name":"companyId","in":"query","required":false,"type":"string"},{"in":"body","name":"payload","required":true,"schema":{"properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"customerId":{"type":"string","description":"The identifier of the customer"},"applicationType":{"type":"string","description":""},"applicationId":{"type":"string","description":"The identifier of the application"},"signatureDate":{"type":"string","format":"date","description":""},"utilityBill":{"type":"object","properties":{"type":{"type":"string","description":"","maxLength":30},"name":{"type":"string","description":""},"address":{"type":"string","description":""}}}}}},"title":"acceptUtilityBill","description":"acceptUtilityBill"}}],"responses":{"200":{"description":"utilityBillResponse","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"body":{"type":"object","properties":{"arrangementActivity":{"type":"object","properties":{"activityId":{"type":"string"},"effectiveDate":{"type":"string"},"parties":{"type":"array","items":{"type":"object","properties":{"partyId":{"type":"string"}}}}}}}}}}},"default":{"description":"utilityBillError","schema":{"type":"object","properties":{"header":{"type":"object","properties":{"transactionStatus":{"type":"string"},"aaaId":{"type":"string"},"status":{"type":"string"},"audit":{"type":"object","properties":{"T24_time":{"type":"integer","format":"int32"},"responseParse_time":{"type":"integer","format":"int32"},"requestParse_time":{"type":"integer","format":"int32"}}}}},"error":{"type":"object","properties":{"errorDetails":{"type":"array","items":{"type":"object","properties":{"fieldName":{"type":"string","description":"The name of the field"},"code":{"type":"string","description":"The identifier of the error message"},"message":{"type":"string","description":"The actual t24 error message"}}}},"type":{"type":"string","description":"The identifier of error type"}}}}}}}}}},"securityDefinitions":{"basicAuth":{"type":"basic"}},"definitions":{}}