{"swagger":"2.0","info":{"version":"v1","title":"Automatrix.DMS.WebService"},"host":"webapi.automatrix-staging.com","schemes":["https"],"paths":{"/api/accounting/mappingFields":{"get":{"tags":["Accounting"],"operationId":"Accounting_GetMappingFields","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accountingcoa":{"get":{"tags":["AccountingCOA"],"operationId":"AccountingCOA_GetAccountingCOA","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lotName","in":"query","required":true,"type":"string"},{"name":"accountNumber","in":"query","required":false,"type":"integer","format":"int32"},{"name":"description","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["AccountingCOA"],"operationId":"AccountingCOA_CreateAccountingCOA","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountingCOA","in":"body","required":true,"schema":{"$ref":"#/definitions/AccountingCOA"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accountingcoa/{accountNumber}/lotname/{lotName}":{"delete":{"tags":["AccountingCOA"],"operationId":"AccountingCOA_DeleteAccountingCOA","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"lotName","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accountingcoa/{accountNumber}":{"put":{"tags":["AccountingCOA"],"operationId":"AccountingCOA_UpdateAccountingCOA","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"accountingCOA","in":"body","required":true,"schema":{"$ref":"#/definitions/AccountingCOA"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accounting/mappings":{"get":{"tags":["AccountingMap"],"operationId":"AccountingMap_GetAccountingMaps","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["AccountingMap"],"operationId":"AccountingMap_SaveAccountingMap","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountingMapOperations","in":"body","required":true,"schema":{"$ref":"#/definitions/AccountingMapSaveSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["AccountingMap"],"operationId":"AccountingMap_CreateAccountingMaps","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountingMaps","in":"body","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/AccountingMap"}}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accounting/mappingdetails":{"get":{"tags":["AccountingMap"],"operationId":"AccountingMap_GetAccountingMapDetails","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"mapType","in":"query","required":true,"type":"string"},{"name":"portfolioId","in":"query","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accounting/mappings/{mapType}":{"delete":{"tags":["AccountingMap"],"operationId":"AccountingMap_DeleteAccountingMaps","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"mapType","in":"path","required":true,"type":"string"},{"name":"portfolioId","in":"query","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accounting/mappings/maptypes":{"get":{"tags":["AccountingMap"],"operationId":"AccountingMap_GetAvailableAccountingMapTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accounting/mappings/{accountingMapTypeId}/fields":{"get":{"tags":["AccountingMap"],"operationId":"AccountingMap_GetAccountingMapFields","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountingMapTypeId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accounting/portfolios/{mapType}":{"get":{"tags":["AccountingMap"],"operationId":"AccountingMap_GetAccountingMapPortfolios","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"mapType","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/accounting/mappings/valuefields/validate":{"post":{"tags":["AccountingMap"],"operationId":"AccountingMap_ValidateAccountingMapValue","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"mapValue","in":"body","required":true,"schema":{"$ref":"#/definitions/AccountingMapValueFieldsSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/autocheck":{"post":{"tags":["AutoCheck"],"operationId":"AutoCheck_CreateAutoCheck","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/EnumValueSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/autocheck/{id}":{"delete":{"tags":["AutoCheck"],"operationId":"AutoCheck_DeleteAutoCheck","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/DefermentNotice":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetDefermentNotice","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/DefermentNotice/{lotId}":{"post":{"tags":["BHPH"],"operationId":"BHPH_SendEmailDefermentNotice","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"lotId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"email","in":"body","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/defermentnotice/preview/email":{"post":{"tags":["BHPH"],"operationId":"BHPH_DefermentNoticePreviewSendEmail","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"defermentNoticeEmail","in":"body","required":true,"schema":{"$ref":"#/definitions/DefermentNoticeEmailSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/DefermentNotice/Preview":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetDefermentNoticePreview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"schedulesToDefer","in":"query","required":true,"type":"array","items":{"type":"integer","format":"int32"},"collectionFormat":"multi"},{"name":"defermentFee","in":"query","required":true,"type":"number","format":"double"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/portfolio/{portfolioId}":{"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateAccountPortfolio","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"portfolioId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/bankruptcy":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetAccountBankruptcy","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["BHPH"],"operationId":"BHPH_CreateOrUpdateBankruptcy","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/AccountBankruptcySubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/bankruptcy/history":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetAccountBankruptcyHistory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/ConsumerInformationIndicator":{"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateConsumerInformationIndicator","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"consumerInformationIndicatorSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/ConsumerInformationIndicatorSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/servicingbranch/{branchId}":{"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateAccountServicingBranch","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"branchId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/deficiencybalance":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetDeficiencyBalance","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/CustomerRefundBalance":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetCustomerRefundBalance","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/CustomerRefund/accounts":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetAccountCustomerRefunds","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerCode","in":"query","required":true,"type":"integer","format":"int32"},{"name":"refundType","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/CustomerRefund/Pay":{"post":{"tags":["BHPH"],"operationId":"BHPH_PayCustomerRefund","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"refundCheck","in":"body","required":true,"schema":{"$ref":"#/definitions/RefundCheckModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/CustomerRefund/check/{cbid}/transaction":{"get":{"tags":["BHPH"],"summary":"Retrieve the payment transaction for a check used to pay the Customer Refund Balance.","operationId":"BHPH_GetCustomerRefundTransaction","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"cbid","in":"path","description":"","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"Returns the Payment transaction","schema":{"type":"object"}},"404":{"description":"If no payment transaction exists for the Check(CBID)"},"500":{"description":"If Internal error occurs"}}}},"/api/loans/{accountNumber}/CustomerRefund/check/validate":{"get":{"tags":["BHPH"],"operationId":"BHPH_ValidateCustomerRefundCheck","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"amount","in":"query","required":true,"type":"number","format":"double"},{"name":"buyerCode","in":"query","required":true,"type":"integer","format":"int32"},{"name":"refundType","in":"query","required":true,"type":"string"},{"name":"date","in":"query","required":true,"type":"string","format":"date-time"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/tags":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetTagsByAccountNumber","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/product":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetDealProducts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/distribute/principal/only/{pageNumber}":{"post":{"tags":["BHPH"],"operationId":"BHPH_DistributePrincipalOnlyPayments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"pageNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetLoans","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"string"},{"name":"tag","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"accountStatus","in":"query","required":false,"type":"string"},{"name":"includeClosed","in":"query","required":false,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["BHPH"],"operationId":"BHPH_CreateLoan","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/LoanDataSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetLoan","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"lotName","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateLoan","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"loan","in":"body","required":true,"schema":{"$ref":"#/definitions/LoanDataSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["BHPH"],"operationId":"BHPH_DeleteLoan","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"bhphAccountNumber","in":"query","required":true,"type":"integer","format":"int32"},{"name":"id","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/unpost":{"put":{"tags":["BHPH"],"operationId":"BHPH_UnpostLoan","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/balancestype":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetBalancesType","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{bhphAccountNumber}/notes":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetNotes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"bhphAccountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["BHPH"],"operationId":"BHPH_CreateAccountNote","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"bhphAccountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"accountNote","in":"body","required":true,"schema":{"$ref":"#/definitions/AccountNoteSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/communicationnotes":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetLoanNotes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"types","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"startdate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"endDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/source":{"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateSource","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"dealSourceSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/DealSourceSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/startwork":{"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateStartWork","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"startWork","in":"query","required":true,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/writeoff/payments":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetWriteOffPayments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{bhphAccountNumber}/adjustments":{"post":{"tags":["BHPH"],"operationId":"BHPH_PostLoansDealPayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"bhphAccountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"adjustment","in":"body","required":true,"schema":{"$ref":"#/definitions/Adjustment"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/transferstatus":{"put":{"tags":["BHPH"],"operationId":"BHPH_TransferStatus","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"transferStatusSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/TransferStatusSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/balance":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetBHPHBalances","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"type","in":"query","required":true,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"elementId","in":"query","required":false,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/balance/v2":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetBalanceSummaries","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/balance/feed":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetBalanceSalesTaxFeeding","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountBalances","in":"query","required":true,"type":"string"},{"name":"effectiveDate","in":"query","required":true,"type":"string","format":"date-time"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/paymentschedule":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetPaymentSchedules","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"scheduleTypes","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/paymentschedule/{paymentScheduleId}":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetPaymentSchedule","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"paymentScheduleId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/references":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetDealReferences","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["BHPH"],"operationId":"BHPH_CreateDealReference","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/DealReference"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/references/{referenceId}":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetDealReference","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"referenceId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateReference","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/DealReference"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"referenceId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["BHPH"],"operationId":"BHPH_DeleteReference","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"referenceId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/transactions":{"get":{"tags":["BHPH"],"summary":"Retrieve transaction list for te given account number.","operationId":"BHPH_GetBHPHTransactions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"account number.","required":true,"type":"integer","format":"int32"},{"name":"showReversals","in":"query","required":false,"type":"boolean"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"isFeeLine","in":"query","required":false,"type":"boolean"},{"name":"isReversible","in":"query","required":false,"type":"boolean"},{"name":"isReversed","in":"query","required":false,"type":"boolean"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"type","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/historical/transactions":{"get":{"tags":["BHPH"],"summary":"Retrieve transaction list history for te given account number.","operationId":"BHPH_GetHistoricalPaymentTransactions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"account number.","required":true,"type":"integer","format":"int32"},{"name":"dir","in":"query","description":"","required":false,"type":"string"},{"name":"orderBy","in":"query","description":"","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/transactions/{transactionId}":{"get":{"tags":["BHPH"],"summary":"Retrieve transaction for te given accoun number and transaction number.","operationId":"BHPH_GetBHPHTransaction","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"transactionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/transactions/electronic":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetElectronicTransactions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"sort","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/payments":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetPayments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/pendingpayments":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetPendingPayments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/payments/take":{"post":{"tags":["BHPH"],"operationId":"BHPH_TakePayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"paymentBase","in":"body","required":true,"schema":{"$ref":"#/definitions/PaymentBase"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/payments/preview":{"get":{"tags":["BHPH"],"operationId":"BHPH_AllocatePayment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"payment","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/payments/revert":{"post":{"tags":["BHPH"],"operationId":"BHPH_RevertPayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"revertPaymentRequest","in":"body","required":true,"schema":{"$ref":"#/definitions/PaymentReversalRequestSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/payments/refund":{"post":{"tags":["BHPH"],"operationId":"BHPH_RefundPayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"revertPaymentRequest","in":"body","required":true,"schema":{"$ref":"#/definitions/PaymentReversalRequestSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/payments/adjustment":{"post":{"tags":["BHPH"],"operationId":"BHPH_PaymentAdjustment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"paymentAdjustment","in":"body","required":true,"schema":{"$ref":"#/definitions/PaymentAdjustmentSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/account/{accountNumber}/adjustment/dates":{"get":{"tags":["BHPH"],"operationId":"BHPH_AccountInformation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/payoff/preview":{"get":{"tags":["BHPH"],"operationId":"BHPH_PayoffPreview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"date","in":"query","required":true,"type":"string","format":"date-time"},{"name":"paymentMethod","in":"query","required":true,"type":"string"},{"name":"selectedMethod","in":"query","required":false,"type":"string"},{"name":"salesTaxOverwritten","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/payoff":{"post":{"tags":["BHPH"],"operationId":"BHPH_Payoff","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"paymentBase","in":"body","required":true,"schema":{"$ref":"#/definitions/PaymentBase"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/payments/principalonly":{"post":{"tags":["BHPH"],"operationId":"BHPH_PrincipalOnly","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"principalOnly","in":"body","required":true,"schema":{"$ref":"#/definitions/PrincipalOnlySubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/writeoff":{"post":{"tags":["BHPH"],"operationId":"BHPH_WriteOff","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"writeOff","in":"body","required":true,"schema":{"$ref":"#/definitions/WriteOffSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/writeoff/revert":{"post":{"tags":["BHPH"],"operationId":"BHPH_RevertWriteOff","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"payments","in":"body","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/extendpayment":{"post":{"tags":["BHPH"],"operationId":"BHPH_ExtendPayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"extendPayment","in":"body","required":true,"schema":{"$ref":"#/definitions/ExtendPaymentSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{bhphAccountNumber}/postPayment/revert":{"post":{"tags":["BHPH"],"operationId":"BHPH_RevertPostPayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"bhphAccountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"reversalPayment","in":"body","required":true,"schema":{"$ref":"#/definitions/ReversalPayment"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/payments/lock":{"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateLockPayment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"lockPayment","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/alertmessage":{"post":{"tags":["BHPH"],"operationId":"BHPH_CreateAlertMessage","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"alertMessage","in":"body","required":true,"schema":{"$ref":"#/definitions/AlertMessageSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/alertmessage/{alertMessageId}":{"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateAlertMessage","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"alertMessageId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"alertMessage","in":"body","required":true,"schema":{"$ref":"#/definitions/AlertMessageSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/alertmessage/{alertMessageId}/disable":{"put":{"tags":["BHPH"],"operationId":"BHPH_DisableAlertMessage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"alertMessageId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{bhphAccountNumber}/schedule/preview":{"post":{"tags":["BHPH"],"operationId":"BHPH_OddPayment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"bhphAccountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{lhphAccountNumber}/lhph/schedule/preview":{"get":{"tags":["BHPH"],"operationId":"BHPH_PreviewLHPHPayments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lhphAccountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/schedule/preview":{"get":{"tags":["BHPH"],"operationId":"BHPH_SchedulePreview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/fee":{"post":{"tags":["BHPH"],"operationId":"BHPH_CreateOrUpdateFee","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"feeSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/BHPHFeeSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/waivefee/{feeId}":{"put":{"tags":["BHPH"],"operationId":"BHPH_WaiveFee","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"feeId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{bhphAccountNumber}/insurance":{"put":{"tags":["BHPH"],"operationId":"BHPH_UpdateInsurance","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"bhphAccountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"dealInsurance","in":"body","required":true,"schema":{"$ref":"#/definitions/DealInsuranceSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/sendEmail":{"post":{"tags":["BHPH"],"operationId":"BHPH_SendEmailLoan","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/emailreceive":{"post":{"tags":["BHPH"],"operationId":"BHPH_ReceiveEmail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/promisetopay":{"get":{"tags":["BHPH"],"summary":"Gets the promise to pay list of an account number","operationId":"BHPH_GetPromisesToPay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["BHPH"],"operationId":"BHPH_CreatePromiseToPay","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"promiseToPay","in":"body","required":true,"schema":{"$ref":"#/definitions/PromiseToPay"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/promisetopay/{promiseToPayId}":{"put":{"tags":["BHPH"],"operationId":"BHPH_UpdatePromiseToPay","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"promiseToPayId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"promiseToPay","in":"body","required":true,"schema":{"$ref":"#/definitions/UpdatePromiseToPaySubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/promisetopay/{id}/cancel":{"put":{"tags":["BHPH"],"operationId":"BHPH_CancelPromiseToPay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/promisetopay/cancel-multiple":{"put":{"tags":["BHPH"],"operationId":"BHPH_CancelMultiplePromisesToPay","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"ptpIds","in":"body","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/promisetopay/cancel":{"put":{"tags":["BHPH"],"operationId":"BHPH_CancelPromisesToPay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/promisetopay/customercode":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetCustomerCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/cpi":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetCpis","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["BHPH"],"operationId":"BHPH_CreateCpi","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"cpiSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/CreateCpiSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/cpi/last":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetLastActiveCpi","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/cpi/{id}/pause":{"put":{"tags":["BHPH"],"operationId":"BHPH_PauseCpi","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"refundPayments","in":"query","required":false,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{bhphAccountNumber}/post":{"put":{"tags":["BHPH"],"operationId":"BHPH_CreateAmortization","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"bhphAccountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"allowUnhandledErrors","in":"query","required":false,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/payments/amount":{"get":{"tags":["BHPH"],"operationId":"BHPH_CalculatePaymentAmount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"settings","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/payments/odd":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetLastPaymentDate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"interestRate","in":"query","required":true,"type":"number","format":"float"},{"name":"loanDate","in":"query","required":true,"type":"string","format":"date-time"},{"name":"frequency","in":"query","required":true,"type":"string"},{"name":"compoundPeriod","in":"query","required":true,"type":"string"},{"name":"financeAmount","in":"query","required":true,"type":"number","format":"double"},{"name":"firstPaymentDate","in":"query","required":true,"type":"string","format":"date-time"},{"name":"paymentAmount","in":"query","required":true,"type":"number","format":"double"},{"name":"discount","in":"query","required":true,"type":"number","format":"double"},{"name":"compoundingDays","in":"query","required":true,"type":"integer","format":"int32"},{"name":"term","in":"query","required":true,"type":"integer","format":"int32"},{"name":"salesTaxDeferred","in":"query","required":true,"type":"boolean"},{"name":"salesTax","in":"query","required":true,"type":"number","format":"double"},{"name":"cashDownPayment","in":"query","required":true,"type":"number","format":"double"},{"name":"downPayment1","in":"query","required":true,"type":"number","format":"double"},{"name":"downPayment2","in":"query","required":true,"type":"number","format":"double"},{"name":"downPayment3","in":"query","required":true,"type":"number","format":"double"},{"name":"countyTaxRate","in":"query","required":true,"type":"number","format":"float"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/payments/apr":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetTimeValueAprZ","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"loanDate","in":"query","required":true,"type":"string","format":"date-time"},{"name":"firstPaymentDue","in":"query","required":true,"type":"string","format":"date-time"},{"name":"financeAmount","in":"query","required":true,"type":"number","format":"double"},{"name":"term","in":"query","required":true,"type":"integer","format":"int32"},{"name":"paymentAmount","in":"query","required":true,"type":"number","format":"double"},{"name":"frequency","in":"query","required":true,"type":"string"},{"name":"oddPaymentDate","in":"query","required":true,"type":"string","format":"date-time"},{"name":"oddPaymentAmount","in":"query","required":true,"type":"number","format":"double"},{"name":"compoundingDays","in":"query","required":true,"type":"integer","format":"int32"},{"name":"compoundPeriod","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/payments/roll":{"get":{"tags":["BHPH"],"operationId":"BHPH_RollPayment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"setting","in":"query","required":true,"type":"string"},{"name":"type","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{id}/salestax/balance":{"get":{"tags":["BHPH"],"operationId":"BHPH_SalesTaxBalance","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/validatetransfer":{"get":{"tags":["BHPH"],"operationId":"BHPH_ValidateLoanTransfer","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"currentStatus","in":"query","required":true,"type":"string"},{"name":"newStatus","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/refinance":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetRefinanceInfo","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"refinanceDate","in":"query","required":true,"type":"string","format":"date-time"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["BHPH"],"operationId":"BHPH_RefinanceLoan","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"refinance","in":"body","required":true,"schema":{"$ref":"#/definitions/RefinanceModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/refinance/preview":{"get":{"tags":["BHPH"],"operationId":"BHPH_RefinancePreview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"refinancePreview","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/refinanceSettings":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetRefinanceInfoSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"settings","in":"query","required":true,"type":"string"},{"name":"type","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/communications/email":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetCommmunicationsEmail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"type","in":"query","required":false,"type":"string"},{"name":"messageDirection","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/communications/{id}/email":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetCommmunicationsEmailDetail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/communications/email/print":{"post":{"tags":["BHPH"],"operationId":"BHPH_GetEmailPDF","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/communications/{id}/email/thread":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetCommmunicationsEmailThread","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/communications/{id}/email/favorite/{isFavorite}":{"put":{"tags":["BHPH"],"operationId":"BHPH_MarkEmailFavorite","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"isFavorite","in":"path","required":true,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/communications/sms":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetCommmunicationsSMS","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/{accountNumber}/communications/activities":{"get":{"tags":["BHPH"],"operationId":"BHPH_GetFilterData","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"type","in":"query","required":false,"type":"string"},{"name":"direction","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bookloads/{id}":{"get":{"tags":["BookLoad"],"operationId":"BookLoad_GetBookLoad","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["BookLoad"],"operationId":"BookLoad_UpdateBookLoads","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"bookLoadSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/BookLoadSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["BookLoad"],"operationId":"BookLoad_DeleteteBookLoads","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bookloads":{"get":{"tags":["BookLoad"],"operationId":"BookLoad_GetBookLoads","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"category","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["BookLoad"],"operationId":"BookLoad_CreateBookLoads","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"bookLoadSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/BookLoadSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bhph/accruedinterest/process":{"post":{"tags":["BulkProcess"],"operationId":"BulkProcess_AccruedInterestProcess","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/cpi/process":{"post":{"tags":["BulkProcess"],"operationId":"BulkProcess_CPIProcess","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bhph/dayoffirstdelinquency/process":{"post":{"tags":["BulkProcess"],"operationId":"BulkProcess_DayOfFirstDelinquencyProcess","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bhph/dayoffirstdelinquency/initialize/process":{"post":{"tags":["BulkProcess"],"operationId":"BulkProcess_DayOfFirstDelinquencyInitializeProcess","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"secretCode","in":"query","required":true,"type":"string"},{"name":"companyId","in":"query","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/latefee/process":{"post":{"tags":["BulkProcess"],"operationId":"BulkProcess_LateFeeProcess","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/loans/promisetopay/process":{"post":{"tags":["BulkProcess"],"operationId":"BulkProcess_PromiseToPayProcess","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bureaus":{"get":{"tags":["BureauCompany"],"operationId":"BureauCompany_GetBureaus","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/carfax":{"post":{"tags":["CarFax"],"operationId":"CarFax_CreateCarFax","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/EnumValueSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/carfax/{id}":{"delete":{"tags":["CarFax"],"operationId":"CarFax_DeleteCarFax","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/colors":{"post":{"tags":["Color"],"operationId":"Color_CreateColors","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/EnumValueColorSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Color"],"operationId":"Color_DeleteColors","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/EnumValueDeleteSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/communication/histories":{"get":{"tags":["CommunicationHistory"],"operationId":"CommunicationHistory_GetCommunicationHistories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"moduleName","in":"query","required":false,"type":"string"},{"name":"referenceId","in":"query","required":false,"type":"integer","format":"int32"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"chanelType","in":"query","required":false,"type":"string"},{"name":"messageType","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/company/{companyCode}":{"put":{"tags":["Company"],"operationId":"Company_UpdateCompany","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"company","in":"body","required":true,"schema":{"$ref":"#/definitions/CompanySubModel"}},{"name":"companyCode","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/company/UpdateCompanySettings":{"put":{"tags":["Company"],"operationId":"Company_UpdateCompanySettings","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"settings","in":"body","required":true,"schema":{"$ref":"#/definitions/CompanySubModelSettings"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/company":{"get":{"tags":["Company"],"operationId":"Company_GetCompany","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/company/settings":{"get":{"tags":["Company"],"operationId":"Company_GetCompanySettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/company/payment/provider":{"get":{"tags":["Company"],"operationId":"Company_GetCompanysPaymentProvider","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreporting/company":{"get":{"tags":["CreditReportingCompany"],"operationId":"CreditReportingCompany_GetCreditReportingCompanies","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["CreditReportingCompany"],"operationId":"CreditReportingCompany_CreateCreditReportingCompany","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditReporting","in":"body","required":true,"schema":{"$ref":"#/definitions/CreditReportingCompanySubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreporting/company/{creditReportingId}":{"get":{"tags":["CreditReportingCompany"],"operationId":"CreditReportingCompany_GetCreditReportingCompany","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditReportingId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["CreditReportingCompany"],"operationId":"CreditReportingCompany_UpdateCreditReportingCompany","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditReportingId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"creditReporting","in":"body","required":true,"schema":{"$ref":"#/definitions/CreditReportingCompanySubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["CreditReportingCompany"],"operationId":"CreditReportingCompany_DeleteCreditReportingCompany","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditReportingId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"force","in":"query","required":false,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreporting/company/{creditReportingId}/deactivate":{"put":{"tags":["CreditReportingCompany"],"operationId":"CreditReportingCompany_DeactivateCreditReportingCompany","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditReportingId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreporting/company/{creditReportingId}/generaterun":{"post":{"tags":["CreditReportingCompany"],"operationId":"CreditReportingCompany_GenerateRunReportingCompany","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditReportingId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreporting/company/{creditReportingId}/generatedraftrun":{"get":{"tags":["CreditReportingCompany"],"operationId":"CreditReportingCompany_GenerateDraftRunReportingCompany","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditReportingId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreportingreview/companies":{"get":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_GetCreditReportingCompanies","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreportingreview/{companyId}":{"get":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_GetCreditReportingCompanyReview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"companyId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"creditReportingId","in":"query","required":true,"type":"integer","format":"int32"},{"name":"reportingDate","in":"query","required":true,"type":"string","format":"date-time"},{"name":"status","in":"query","required":false,"type":"string"},{"name":"orderby","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_UpdateCreditReportingReviewDetail","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"companyId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"creditReportingBaseId","in":"query","required":true,"type":"integer","format":"int32"},{"name":"creditReportingReviewDetail","in":"body","required":true,"schema":{"$ref":"#/definitions/CreditReportingReviewDetailSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreportingreview/{companyId}/base/{creditReportingBaseId}":{"get":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_GetCreditReportingReviewDetail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"companyId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"creditReportingBaseId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreportingreview/validate":{"get":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_ValidateCreditReportingReviewDetail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"reviewDetail","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_ValidateCreditReportingRun","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreportingreview/{companyId}/approve/{creditReportingRunId}":{"put":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_ApproveCreditReportingRun","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"companyId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"creditReportingRunId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreportingreview/unlock/{creditReportingRunId}":{"put":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_UnlockCreditReportingRun","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"creditReportingRunId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreportingreview/{companyId}/download/{creditReportingRunId}":{"get":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_GetCreditReportingFileUrl","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"companyId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"creditReportingRunId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/creditreportingreview/generate":{"post":{"tags":["CreditReportingReview"],"operationId":"CreditReportingReview_GenerateCreditReportingRun","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/crm":{"get":{"tags":["CRM"],"operationId":"CRM_GetCRMList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"search","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"string"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["CRM"],"operationId":"CRM_CreateCRM","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"crm","in":"body","required":true,"schema":{"$ref":"#/definitions/CRMSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/crm/{id}":{"get":{"tags":["CRM"],"operationId":"CRM_GetCRM","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["CRM"],"operationId":"CRM_UpdateCRM","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"crm","in":"body","required":true,"schema":{"$ref":"#/definitions/CRMSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["CRM"],"operationId":"CRM_DeleteCRM","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/crm/leadsources":{"get":{"tags":["CRM"],"operationId":"CRM_GetLeadSourcesCRM","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"search","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/crm/leadsources/{leadsource}/map/{id}":{"put":{"tags":["CRM"],"operationId":"CRM_UpdateLeadSource","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"leadsource","in":"path","required":true,"type":"string"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/customers":{"get":{"tags":["Customer"],"operationId":"Customer_GetCustomers","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Customer"],"operationId":"Customer_CreateCustomer","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/CustomerSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/customers/{id}":{"get":{"tags":["Customer"],"operationId":"Customer_GetCustomer","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Customer"],"operationId":"Customer_UpdateCustomer","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/CustomerSubModel"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Customer"],"operationId":"Customer_DeleteCustomer","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/deals":{"get":{"tags":["Deal"],"operationId":"Deal_GetDealsResponse","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"lots","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Deal"],"operationId":"Deal_CreateDeal","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/DealEntitySubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/deals/{id}":{"get":{"tags":["Deal"],"operationId":"Deal_GetDealResponse","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Deal"],"operationId":"Deal_UpdateDeal","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/DealEntitySubModel"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Deal"],"operationId":"Deal_DeleteDeal","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/deals/{id}/tags/{tagId}":{"put":{"tags":["Deal"],"operationId":"Deal_RemoveTag","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"tagId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/deals/{id}/tags":{"post":{"tags":["Deal"],"operationId":"Deal_AddTag","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"tagSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/TagSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/deals/reporting/settings":{"get":{"tags":["Deal"],"operationId":"Deal_GetAccountSettingOptions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/deals/{accountNumber}/reporting":{"get":{"tags":["Deal"],"operationId":"Deal_GetAccountSetting","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Deal"],"operationId":"Deal_UpdateAccountSetting","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"accountSetting","in":"body","required":true,"schema":{"$ref":"#/definitions/AccountSettingSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/deals/{accountNumber}/reporting/history":{"get":{"tags":["Deal"],"operationId":"Deal_GetAccountCreditReportingHistory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/deals/import":{"post":{"tags":["Deal"],"operationId":"Deal_Import","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"dealImport","in":"body","required":true,"schema":{"$ref":"#/definitions/DealImport"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/dealproducts/{id}":{"get":{"tags":["DealProduct"],"operationId":"DealProduct_GetDealProduct","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["DealProduct"],"operationId":"DealProduct_UpdateDealProduct","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/DealProduct"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/dealproducts":{"get":{"tags":["DealProduct"],"operationId":"DealProduct_GetDealProducts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["DealProduct"],"operationId":"DealProduct_CreateDealProduct","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/DealProduct"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/dealproducts/{id}/delete":{"put":{"tags":["DealProduct"],"operationId":"DealProduct_DisableDealProduct","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/email":{"post":{"tags":["Email"],"operationId":"Email_SendEmail","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/EmailModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/entity/{entityId}/emailfields":{"get":{"tags":["EmailField"],"operationId":"EmailField_GetEmailFields","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"entityId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/emailtemplates":{"get":{"tags":["EmailTemplate"],"operationId":"EmailTemplate_GetEmailTemplates","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"moduleType","in":"query","required":false,"type":"string"},{"name":"templateType","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"string"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["EmailTemplate"],"operationId":"EmailTemplate_CreateEmailTemplate","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"emailTemplate","in":"body","required":true,"schema":{"$ref":"#/definitions/EmailTemplateSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/emailtemplates/{emailTemplateId}":{"get":{"tags":["EmailTemplate"],"operationId":"EmailTemplate_GetEmailTemplate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"emailTemplateId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["EmailTemplate"],"operationId":"EmailTemplate_UpdateEmailTemplate","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"emailTemplateId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"emailTemplate","in":"body","required":true,"schema":{"$ref":"#/definitions/EmailTemplateSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/emailtemplates/{emailTemplateId}/inactivate":{"put":{"tags":["EmailTemplate"],"operationId":"EmailTemplate_DeleteEmailTemplate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"emailTemplateId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/emailTemplates/{emailTemplateId}/preview/{recordId}":{"get":{"tags":["EmailTemplate"],"operationId":"EmailTemplate_GetEmailPreview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"emailTemplateId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"recordId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/smsTemplates/{smsTemplateId}/preview/{recordId}":{"get":{"tags":["EmailTemplate"],"operationId":"EmailTemplate_GetSMSPreview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"smsTemplateId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"recordId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/entityalias":{"get":{"tags":["EntityAlias"],"operationId":"EntityAlias_GetEntityAliases","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/entityalias/{entityAliasId}":{"get":{"tags":["EntityAlias"],"operationId":"EntityAlias_GetEntityAlias","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"entityAliasId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/entityalias/{entityAliasId}/fields":{"get":{"tags":["EntityAlias"],"operationId":"EntityAlias_GetEntityAliasFields","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"entityAliasId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/enumvalues":{"get":{"tags":["EnumValues"],"operationId":"EnumValues_GetEnumValues","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"type","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/enumvalues/{id}":{"get":{"tags":["EnumValues"],"operationId":"EnumValues_GetEnumValue","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/forms/{name}":{"get":{"tags":["Forms"],"operationId":"Forms_GetForm","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"name","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/import/{companyCode}":{"post":{"tags":["Import"],"operationId":"Import_Import","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"companyCode","in":"path","required":true,"type":"integer","format":"int32"},{"name":"type","in":"query","required":true,"type":"string"},{"name":"delimeter","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/import":{"post":{"tags":["Import"],"operationId":"Import_Post","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"type","in":"query","required":true,"type":"string"},{"name":"delimeter","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles":{"get":{"tags":["Inventory"],"summary":"Get all inventories","operationId":"Inventory_GetInventories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"search","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"boolean"},{"name":"lots","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"filters","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Inventory"],"summary":"Create new inventory.","operationId":"Inventory_CreateInventory","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"inventory","in":"body","description":"Inventory to insert in the table.","required":true,"schema":{"$ref":"#/definitions/InventoryModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}":{"get":{"tags":["Inventory"],"summary":"Retireve one inventory.","operationId":"Inventory_GetInventory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Inventory"],"summary":"Update a inventory.","operationId":"Inventory_UpdateInventory","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"inventory","in":"body","description":"New inventory data.","required":true,"schema":{"$ref":"#/definitions/InventoryModel"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}/futurevaluations":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateResideualValuations","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"residualValuationsModel","in":"body","required":true,"schema":{"$ref":"#/definitions/ResidualValuationsModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/lot":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryLot","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"lotName","in":"body","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/description":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryDescription","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"description","in":"body","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/keymachine":{"delete":{"tags":["Inventory"],"operationId":"Inventory_DeleteInventoryKeyMachine","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/keymachine/{fob}":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetKeyMachine","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"fob","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/history":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetInventoryNote","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/advertising":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryAdvertising","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"vehicleAdvertising","in":"body","required":true,"schema":{"$ref":"#/definitions/VehicleAdvertisingSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}/vehicleinfo":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryInfo","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"vehicleinfo","in":"body","required":true,"schema":{"$ref":"#/definitions/VehicleInfoSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/subscription":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetVehicleDepreciation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateVehicleDepreciation","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"vehicleDep","in":"body","required":true,"schema":{"$ref":"#/definitions/VehicleDepreciationSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}/images/{imageId}":{"put":{"tags":["Inventory"],"operationId":"Inventory_UploadImage","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"imageURL","in":"body","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"imageId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Inventory"],"operationId":"Inventory_DeleteImage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"imageId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}/images/arrange":{"put":{"tags":["Inventory"],"operationId":"Inventory_RearrangeImages","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"rearrangeImages","in":"body","required":true,"schema":{"$ref":"#/definitions/RearrangeImagesModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}/features":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetInventoryOptionList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryOptions","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"inventoryOption","in":"body","required":true,"schema":{"$ref":"#/definitions/InventoryOption"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Inventory"],"operationId":"Inventory_CreateInventoryOptions","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"inventoryOption","in":"body","required":true,"schema":{"$ref":"#/definitions/InventoryOption"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Inventory"],"operationId":"Inventory_DeleteInventoryOptions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/features":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetInventoryOptions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}/repairs":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetInventoryRepairs","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Inventory"],"operationId":"Inventory_CreateInventoryRepairs","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"inventoryRepair","in":"body","required":true,"schema":{"$ref":"#/definitions/InventoryRepairSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}/repairs/{repairId}":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetInventoryRepair","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"repairId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryRepairs","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"repairId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"inventoryRepairSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/InventoryRepairSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Inventory"],"operationId":"Inventory_DeleteInventoryRepairs","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"repairId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}/valuations":{"post":{"tags":["Inventory"],"operationId":"Inventory_CreateInventoryValuations","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"valuations","in":"body","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/InventoryValuationSubModel"}}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicle/{id}/valuations":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetInventoryValuations","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/tags":{"put":{"tags":["Inventory"],"operationId":"Inventory_AddTag","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"tag","in":"body","required":true,"schema":{"$ref":"#/definitions/TagSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Inventory"],"operationId":"Inventory_DeleteTag","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"tagId","in":"query","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/makes":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetMakes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/makes/count":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetMakesCount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lots","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"location","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/locate":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetLocation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/gps":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateGps","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"gpsUpdateSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/GpsUpdateSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/pricing":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryPricing","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"vehiclePricing","in":"body","required":true,"schema":{"$ref":"#/definitions/VehiclePricingSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/floorplan":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryFloorplan","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"vehicleFloorplan","in":"body","required":true,"schema":{"$ref":"#/definitions/VehicleFloorplanSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/customfield":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryCustomField","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"vehicleCustomField","in":"body","required":true,"schema":{"$ref":"#/definitions/VehicleCustomFieldSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{stockNumber}/vininfo":{"put":{"tags":["Inventory"],"operationId":"Inventory_UpdateInventoryVinInfo","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stockNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"vehicleVinInfo","in":"body","required":true,"schema":{"$ref":"#/definitions/VehicleVinInfoSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehicles/{id}/tags":{"get":{"tags":["Inventory"],"operationId":"Inventory_GetTagsByStockNumber","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/inventoryField":{"post":{"tags":["Inventory"],"summary":"Create one CustomField.","operationId":"Inventory_CreateCustomField","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"item","in":"body","description":"EnumValueCustomFieldSubModel to create CustomField.","required":true,"schema":{"$ref":"#/definitions/EnumValueCustomFieldSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/inventoryField/{id}":{"put":{"tags":["Inventory"],"summary":"Update one CustomField.","operationId":"Inventory_UpdateCustomField","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"enumValueUpdateSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/EnumValueUpdateSubModel"}},{"name":"id","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Inventory"],"summary":"Delete one CustomField.","operationId":"Inventory_DeleteCustomField","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"CustomField number to delete on EnumValues.","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehiclelocations/{id}":{"get":{"tags":["InventoryLocation"],"operationId":"InventoryLocation_GetInventoryLocation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["InventoryLocation"],"operationId":"InventoryLocation_UpdateInventoryLocation","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/InventoryLocationSubModel"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["InventoryLocation"],"operationId":"InventoryLocation_DeleteInventoryLocation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vehiclelocations":{"get":{"tags":["InventoryLocation"],"operationId":"InventoryLocation_GetInventoryLocations","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["InventoryLocation"],"operationId":"InventoryLocation_CreateInventoryLocation","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/InventoryLocationSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/inventorylocations":{"get":{"tags":["InventoryLocation"],"operationId":"InventoryLocation_GetInventoryLocationList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/latefeetemplates/{id}":{"get":{"tags":["LateFeeTemplate"],"operationId":"LateFeeTemplate_GetLateFeeTemplate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["LateFeeTemplate"],"operationId":"LateFeeTemplate_UpdateLateFeeTemplate","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/LateFeeTemplate"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["LateFeeTemplate"],"operationId":"LateFeeTemplate_DeleteLateFeeTemplate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/latefeetemplates":{"get":{"tags":["LateFeeTemplate"],"operationId":"LateFeeTemplate_GetPorfolios","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["LateFeeTemplate"],"operationId":"LateFeeTemplate_CreateLateFeeTemplate","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/LateFeeTemplate"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/leadsources/{id}":{"get":{"tags":["LeadSource"],"operationId":"LeadSource_GetLeadSource","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["LeadSource"],"operationId":"LeadSource_UpdateLeadSource","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/LeadSourceSubModel"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["LeadSource"],"operationId":"LeadSource_DeleteLeadSource","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/leadsources":{"get":{"tags":["LeadSource"],"operationId":"LeadSource_GetLeadSources","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"search","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"boolean"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["LeadSource"],"operationId":"LeadSource_CreateLeadSource","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/LeadSourceSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/leadsources/{id}/status/{status}":{"put":{"tags":["LeadSource"],"operationId":"LeadSource_ChangeStatus","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"status","in":"path","required":true,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/contracttemplates":{"get":{"tags":["LoanContractTemplate"],"operationId":"LoanContractTemplate_GetLoanContracTemplates","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/contracttemplates/{id}/setDefault":{"put":{"tags":["LoanContractTemplate"],"operationId":"LoanContractTemplate_LoanContractTemplateSetAsDefault","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/contracttemplates/company/updatetemplate":{"put":{"tags":["LoanContractTemplate"],"operationId":"LoanContractTemplate_UpdateCompanyLoanContractTemplate","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"loanTemplateMaturity","in":"body","required":true,"schema":{"$ref":"#/definitions/LoanContractMaturitySubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/lots":{"get":{"tags":["Lot"],"operationId":"Lot_GetLots","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Lot"],"operationId":"Lot_CreateLot","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lot","in":"body","required":true,"schema":{"$ref":"#/definitions/Lot"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/lots/{lotName}":{"get":{"tags":["Lot"],"operationId":"Lot_GetLot","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lotName","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Lot"],"operationId":"Lot_UpdateLot","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lotName","in":"path","required":true,"type":"string"},{"name":"lot","in":"body","required":true,"schema":{"$ref":"#/definitions/LotSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/lots/{lotName}/delete":{"put":{"tags":["Lot"],"operationId":"Lot_UpdateLotStatus","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lotName","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/lots/{lotName}/salestax":{"get":{"tags":["Lot"],"operationId":"Lot_GetSalesTaxes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lotName","in":"path","required":true,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Lot"],"operationId":"Lot_CreateSalesTaxEntity","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/SalesTaxSubModel"}},{"name":"lotName","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/lots/{lotName}/salestax/{id}":{"put":{"tags":["Lot"],"operationId":"Lot_UpdateSalesTaxEntity","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/SalesTaxSubModel"}},{"name":"lotName","in":"path","required":true,"type":"string"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Lot"],"operationId":"Lot_DeleteSalesTaxEntity","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lotName","in":"path","required":true,"type":"string"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/lots/{lotName}/salestax/{id}/default":{"put":{"tags":["Lot"],"operationId":"Lot_SetDefaultSalesTaxEntity","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lotName","in":"path","required":true,"type":"string"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/settings/{category}":{"get":{"tags":["LotDefault"],"operationId":"LotDefault_GetLotDefault","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"category","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/settings":{"put":{"tags":["LotDefault"],"operationId":"LotDefault_UpdateLotDefault","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"values","in":"body","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/SettingSubModel"}}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/settings/roindicators":{"post":{"tags":["LotDefault"],"operationId":"LotDefault_CreateOpenROIndicators","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"statuses","in":"body","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/settings/{category}/{key}":{"get":{"tags":["LotDefault"],"operationId":"LotDefault_GetLotDefaults","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"category","in":"path","required":true,"type":"string"},{"name":"key","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/lotsDefault/lockDate":{"get":{"tags":["LotDefault"],"operationId":"LotDefault_GetLockDate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/message-center/messages/all":{"get":{"tags":["MessageCenter"],"operationId":"MessageCenter_GetCommmunicationsSMS","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"type","in":"query","required":false,"type":"string"},{"name":"channelType","in":"query","required":false,"type":"string"},{"name":"messageDirection","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/nada/vehicles":{"get":{"tags":["NADA"],"operationId":"NADA_Nada","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"vin","in":"query","required":true,"type":"string"},{"name":"mileage","in":"query","required":true,"type":"integer","format":"int32"},{"name":"region","in":"query","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/oauth/login":{"get":{"tags":["OAuth"],"operationId":"OAuth_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/login":{"get":{"tags":["OAuth"],"operationId":"OAuth_GetLogin","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/features":{"get":{"tags":["OptionList"],"operationId":"OptionList_GetFeatures","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"dir","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["OptionList"],"operationId":"OptionList_CreateFeature","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/OptionListSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/features/{id}":{"get":{"tags":["OptionList"],"operationId":"OptionList_GetFeature","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["OptionList"],"operationId":"OptionList_UpdateFeature","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/OptionListSubModel"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["OptionList"],"operationId":"OptionList_DeleteFeature","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/parts":{"get":{"tags":["PartInventory"],"operationId":"PartInventory_GetPartInventoryList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"search","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"boolean"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/{accountNumber}/order":{"get":{"tags":["PayNearMe"],"operationId":"PayNearMe_GetOrder","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["PayNearMe"],"operationId":"PayNearMe_CreateOrder","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/confirm":{"get":{"tags":["PayNearMe"],"operationId":"PayNearMe_GetPaymentConfirm","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"request","in":"query","required":true,"type":"object"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/order/validate":{"get":{"tags":["PayNearMe"],"operationId":"PayNearMe_ValidateOrder","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"request","in":"query","required":true,"type":"object"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/{accountNumber}/schedulepayment/{schedulePaymentId}/cancel":{"post":{"tags":["PayNearMe"],"operationId":"PayNearMe_CancelScheduledPayment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"schedulePaymentId","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/{accountNumber}/schedulepayment":{"post":{"tags":["PayNearMe"],"operationId":"PayNearMe_CreateScheduledPayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/PnmScheduleAutopayRequest"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/cancel/autopay/{accountNumber}":{"post":{"tags":["PayNearMe"],"operationId":"PayNearMe_CancelAutopay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/authorize":{"get":{"tags":["PayNearMe"],"operationId":"PayNearMe_GetPaymentAuthorize","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"request","in":"query","required":true,"type":"object"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/schedule-authorize":{"get":{"tags":["PayNearMe"],"operationId":"PayNearMe_GetScheduleAuthorization","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"request","in":"query","required":true,"type":"object"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/order-change":{"post":{"tags":["PayNearMe"],"operationId":"PayNearMe_GetOrderChangeResponse","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/OrderChangeRequest"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/paynearme/payment-reversal":{"post":{"tags":["PayNearMe"],"summary":"Reverses a payment based on the provided request details.","operationId":"PayNearMe_ReversePayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"request","in":"body","description":"The payment reversal request containing details of the payment to be reversed.","required":true,"schema":{"$ref":"#/definitions/BankReturnPayment"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/portfolios/{id}":{"get":{"tags":["Portfolio"],"operationId":"Portfolio_GetPortfolio","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Portfolio"],"operationId":"Portfolio_UpdatePortfolio","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/Portfolio"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Portfolio"],"operationId":"Portfolio_DeletePortfolio","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/portfolios":{"get":{"tags":["Portfolio"],"operationId":"Portfolio_GetPorfolios","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Portfolio"],"operationId":"Portfolio_CreatePortfolio","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/Portfolio"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/portfolios/{id}/setdefault":{"put":{"tags":["Portfolio"],"operationId":"Portfolio_SetDefault","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/pending-queues/retry":{"post":{"tags":["ProcessPendingQueue"],"operationId":"ProcessPendingQueue_RetryQueues","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/products/{id}":{"get":{"tags":["Product"],"operationId":"Product_GetProduct","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Product"],"operationId":"Product_UpdateProduct","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"product","in":"body","required":true,"schema":{"$ref":"#/definitions/DealProductSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Product"],"operationId":"Product_DeleteProduct","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/products":{"get":{"tags":["Product"],"operationId":"Product_GetProducts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"active","in":"query","required":false,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Product"],"operationId":"Product_CreateProduct","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"product","in":"body","required":true,"schema":{"$ref":"#/definitions/DealProductSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/products/{id}/status":{"put":{"tags":["Product"],"operationId":"Product_ChangeProductActive","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"productStatus","in":"body","required":true,"schema":{"$ref":"#/definitions/DealProductStatusSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/promise/to/pay/{accountNumber}":{"get":{"tags":["PromiseToPay"],"operationId":"PromiseToPay_GetPreview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/promise/total/amount/{accountNumber}":{"get":{"tags":["PromiseToPay"],"operationId":"PromiseToPay_GetAmountDuePreview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"date","in":"query","required":true,"type":"string","format":"date-time"},{"name":"type","in":"query","required":true,"type":"string"},{"name":"ptpId","in":"query","required":false,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/purchasedfrom/{id}":{"get":{"tags":["PurchasedFrom"],"operationId":"PurchasedFrom_GetPurchasedFrom","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["PurchasedFrom"],"operationId":"PurchasedFrom_UpdatePurchasedFrom","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/PurchasedFromEntity"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["PurchasedFrom"],"operationId":"PurchasedFrom_DeletePurchasedFrom","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/purchasedfrom":{"get":{"tags":["PurchasedFrom"],"operationId":"PurchasedFrom_GetPurchasedFroms","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["PurchasedFrom"],"operationId":"PurchasedFrom_CreatePurchasedFrom","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/PurchasedFromSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/purchasingagent":{"get":{"tags":["PurchasingAgent"],"operationId":"PurchasingAgent_GetPurchasingAgents","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["PurchasingAgent"],"operationId":"PurchasingAgent_CreatePurchasingAgent","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/PurchasingAgentSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/purchasingagent/{id}":{"get":{"tags":["PurchasingAgent"],"operationId":"PurchasingAgent_GetPurchasingAgent","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["PurchasingAgent"],"operationId":"PurchasingAgent_UpdatePurchasingAgent","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/PurchasingAgent"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["PurchasingAgent"],"operationId":"PurchasingAgent_DeletePurchasingAgent","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/queue/actives":{"get":{"tags":["Queue"],"operationId":"Queue_GetQueueActives","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/account/{customerId}/store-payment-method":{"post":{"tags":["Repay"],"operationId":"Repay_StorePaymentMethod","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/RepayRequest"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/account/{customerId}/payment":{"post":{"tags":["Repay"],"operationId":"Repay_Payment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/RepayRequest"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/account/{customerId}/token-payment":{"post":{"tags":["Repay"],"operationId":"Repay_PaymentWithToken","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/RepayRequest"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/account/{customerId}/schedule-payment":{"post":{"tags":["Repay"],"operationId":"Repay_ShedulePayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/CreateSchedulePaymentRequest"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/{accountNumber}/schedule-payment":{"get":{"tags":["Repay"],"operationId":"Repay_GetAllAutopayments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/{accountNumber}/schedule-payment/{repayAutopayId}":{"delete":{"tags":["Repay"],"operationId":"Repay_DeleteAutopay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"repayAutopayId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/{accountNumber}/schedule-payment/delete":{"delete":{"tags":["Repay"],"operationId":"Repay_DeleteMultipleAutopays","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"repayAutopayIds","in":"body","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/{accountNumber}/schedule-payment/balances":{"get":{"tags":["Repay"],"operationId":"Repay_GetAutopayAvailableBalances","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/runtimevalues":{"get":{"tags":["Repay"],"operationId":"Repay_GetRuntimeValues","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/account/{customerId}/vault-tokens":{"get":{"tags":["Repay"],"operationId":"Repay_VaultTokens","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerId","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/account/{customerId}/vault-tokens/{vault_token}":{"get":{"tags":["Repay"],"operationId":"Repay_VaultToken","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerId","in":"path","required":true,"type":"string"},{"name":"vault_token","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Repay"],"operationId":"Repay_DeleteVaultToken","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerId","in":"path","required":true,"type":"string"},{"name":"vault_token","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repay/webhook":{"post":{"tags":["Repay"],"operationId":"Repay_WebHook","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"event","in":"body","required":true,"schema":{"$ref":"#/definitions/RepayEvent"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/reports/{name}":{"get":{"tags":["Report"],"operationId":"Report_GetReport","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"name","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession":{"post":{"tags":["Repossession"],"operationId":"Repossession_CreateRepossession","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}":{"put":{"tags":["Repossession"],"operationId":"Repossession_UpdateRepossession","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionSubModel"}},{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/cancel":{"put":{"tags":["Repossession"],"operationId":"Repossession_CancelRepossession","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{accountNumber}":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetRepossession","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"repossessionId","in":"query","required":false,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{accountNumber}/history":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetRepossessionHistory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/proceed":{"post":{"tags":["Repossession"],"operationId":"Repossession_CreateProceedTransaction","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionProceedModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/charge":{"post":{"tags":["Repossession"],"operationId":"Repossession_CreateChargeTransaction","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionChargeModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/proceeds":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetProceedList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/charges":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetChargeList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/proceed/{proceedId}/reverse":{"post":{"tags":["Repossession"],"operationId":"Repossession_ReverseProceedTransaction","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"proceedId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/charge/{chargeId}/reverse":{"post":{"tags":["Repossession"],"operationId":"Repossession_ReverseChargeTransaction","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"chargeId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/recoveryAgents":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetRecoveryAgents","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/reasons":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetRepossessionReasons","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/recovery":{"post":{"tags":["Repossession"],"operationId":"Repossession_CreateRepossessionRecovery","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionRecoverySubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/recovery":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetRepossessionRecovery","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/recovery/markUnrecovered":{"post":{"tags":["Repossession"],"operationId":"Repossession_MarkAsUnrecovered","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/recovery/redeem":{"post":{"tags":["Repossession"],"operationId":"Repossession_Redeem","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/recovery/{recoveryId}":{"put":{"tags":["Repossession"],"operationId":"Repossession_UpdateRepossessionRecovery","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionRecoverySubModel"}},{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"recoveryId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/recovery/{recoveryId}/locations":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetRecoveryLocation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"recoveryId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/disposal/restock":{"post":{"tags":["Repossession"],"operationId":"Repossession_CreateRestockDisposal","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionRestockSubModel"}},{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/disposal/reverserestock":{"post":{"tags":["Repossession"],"operationId":"Repossession_ReverseRestockDisposal","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/disposal/sale":{"post":{"tags":["Repossession"],"operationId":"Repossession_CreateSaleDisposal","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionSaleSubModel"}},{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/disposal/reversesale":{"post":{"tags":["Repossession"],"operationId":"Repossession_ReverseSaleDisposal","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/disposal":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetDisposal","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/chargeoff":{"get":{"tags":["Repossession"],"operationId":"Repossession_GetChargeOff","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Repossession"],"operationId":"Repossession_CreateChargeOff","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionChargeOffSubModel"}},{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession/{repossessionId}/chargeoff/reverse":{"post":{"tags":["Repossession"],"operationId":"Repossession_ReverseChargeOff","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"repossessionId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession-right-to-cure/{accountNumber}":{"get":{"tags":["RepossessionRightToCure"],"operationId":"RepossessionRightToCure_GetRepossessionRightToCure","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession-right-to-cure/{accountNumber}/history":{"get":{"tags":["RepossessionRightToCure"],"operationId":"RepossessionRightToCure_GetRepossessionRightToCureHistory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"accountNumber","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession-right-to-cure":{"post":{"tags":["RepossessionRightToCure"],"operationId":"RepossessionRightToCure_CreateRightToCure","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"rightToCure","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionRightToCure"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/repossession-right-to-cure/cancel":{"post":{"tags":["RepossessionRightToCure"],"operationId":"RepossessionRightToCure_CancelRightToCure","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"rightToCure","in":"body","required":true,"schema":{"$ref":"#/definitions/RepossessionRightToCure"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/search-template":{"get":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_GetSearchTemplates","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"active","in":"query","required":false,"type":"boolean"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_CreateSearchTemplate","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"searchTemplate","in":"body","required":true,"schema":{"$ref":"#/definitions/SearchTemplateSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/search-template/{id}":{"get":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_GetSearchTemplate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_UpdateSearchTemplate","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"searchTemplate","in":"body","required":true,"schema":{"$ref":"#/definitions/SearchTemplateSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/search-template/{id}/delete":{"put":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_DeleteSearchTemplate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/search-template/{id}/execute":{"get":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_ExecuteSearchTemplate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/search-template/execute":{"post":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_PreviewSearchTemplate","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"searchTemplateSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/SearchTemplateSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/search-template/validate":{"post":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_ValidateSearchTemplate","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"expression","in":"body","required":true,"schema":{"$ref":"#/definitions/IExpression"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/search-template/query-preview":{"post":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_GetSearchTemplateQueryPreview","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"searchTemplateQueryPreview","in":"body","required":true,"schema":{"$ref":"#/definitions/SearchTemplateQueryPreviewSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/search-template/query":{"post":{"tags":["SearchTemplate"],"operationId":"SearchTemplate_SearchTemplateQuery","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"searchTemplateSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/SearchTemplateSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/services":{"get":{"tags":["Service"],"operationId":"Service_GetService","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"status","in":"query","required":false,"type":"string"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/services/{id}/status":{"put":{"tags":["Service"],"operationId":"Service_UpdateStatus","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"serviceStatus","in":"body","required":true,"schema":{"$ref":"#/definitions/ServiceStatusSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/services/{id}/jobs/{jobId}/status":{"put":{"tags":["Service"],"operationId":"Service_UpdateJobStatus","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"jobId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"jobstatus","in":"body","required":true,"schema":{"$ref":"#/definitions/ServiceStatusSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/services/{id}/jobs":{"post":{"tags":["Service"],"operationId":"Service_CreateJob","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"job","in":"body","required":true,"schema":{"$ref":"#/definitions/ServiceJob"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/services/{id}/jobs/{jobNumber}":{"put":{"tags":["Service"],"operationId":"Service_UpdateJob","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"jobNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"job","in":"body","required":true,"schema":{"$ref":"#/definitions/ServiceJob"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Service"],"operationId":"Service_DeleteJob","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"jobNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/services/{id}/jobs/{jobNumber}/technician":{"put":{"tags":["Service"],"operationId":"Service_UpdateJobTechnician","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"jobNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"jobTechnician","in":"body","required":true,"schema":{"$ref":"#/definitions/JobTechnicianSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/services/{id}/jobs/{jobNumber}/processStage":{"get":{"tags":["Service"],"operationId":"Service_GetServiceProcessStage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"jobNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/services/{id}/jobs/{jobNumber}/parts":{"post":{"tags":["Service"],"operationId":"Service_CreateJobPart","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"jobNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"part","in":"body","required":true,"schema":{"$ref":"#/definitions/ServiceJobPart"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/services/{id}/jobs/{jobNumber}/parts/{partInventoryId}":{"delete":{"tags":["Service"],"operationId":"Service_DeleteJobPart","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"jobNumber","in":"path","required":true,"type":"integer","format":"int32"},{"name":"partInventoryId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/sessions/validate":{"get":{"tags":["Session"],"operationId":"Session_ValidateJWT","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/sidenotes":{"post":{"tags":["SideNote"],"operationId":"SideNote_CreateSideNote","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"sideNote","in":"body","required":true,"schema":{"$ref":"#/definitions/SideNoteSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/sidenote/preview":{"get":{"tags":["SideNote"],"operationId":"SideNote_GetSideNotePreview","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"sideNotePreview","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/sidenotes/{sideNoteId}":{"get":{"tags":["SideNote"],"operationId":"SideNote_GetSideNote","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"sideNoteId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["SideNote"],"operationId":"SideNote_UpdateSideNote","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"sideNoteId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"sideNote","in":"body","required":true,"schema":{"$ref":"#/definitions/SideNoteDescriptionSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["SideNote"],"operationId":"SideNote_RevertSideNote","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"sideNoteId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/sidenotes/{sideNoteId}/payment":{"post":{"tags":["SideNote"],"operationId":"SideNote_TakePayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"sideNoteId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"sideNotePayment","in":"body","required":true,"schema":{"$ref":"#/definitions/SideNotePaymentSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/sms":{"post":{"tags":["SMS"],"operationId":"SMS_SendSMS","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"sms","in":"body","required":true,"schema":{"$ref":"#/definitions/SMSSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/sms/receive":{"get":{"tags":["SMS"],"operationId":"SMS_Receive","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/tags/{module}":{"get":{"tags":["Tag"],"operationId":"Tag_GetTagsByModule","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"module","in":"path","required":true,"type":"string"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/tags/{module}/all":{"get":{"tags":["Tag"],"operationId":"Tag_GetAllTagsByModule","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"module","in":"path","required":true,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/tag/{tagId}":{"put":{"tags":["Tag"],"operationId":"Tag_UpdateTag","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"tagId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"tag","in":"body","required":true,"schema":{"$ref":"#/definitions/TagSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/tags/create":{"post":{"tags":["Tag"],"operationId":"Tag_CreateTag","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"tagSubModel","in":"body","required":true,"schema":{"$ref":"#/definitions/TagSubModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/tags/{module}/tag/{tagId}":{"delete":{"tags":["Tag"],"operationId":"Tag_DeleteTag","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"tagId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"module","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/tasks/{status}":{"get":{"tags":["Task"],"operationId":"Task_GetTasks","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"status","in":"path","required":true,"type":"string"},{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"assignedTo","in":"query","required":false,"type":"integer","format":"int32"},{"name":"accountNumber","in":"query","required":false,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/tasks":{"post":{"tags":["Task"],"operationId":"Task_CreateTask","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"task","in":"body","required":true,"schema":{"$ref":"#/definitions/TaskModel"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/tasks/{taskId}":{"put":{"tags":["Task"],"operationId":"Task_UpdateTask","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"taskId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"isCompleted","in":"query","required":true,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/tasks/{taskId}/reassign/{reassignTo}":{"put":{"tags":["Task"],"operationId":"Task_ReassignTask","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"taskId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"reassignTo","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bpm/auth":{"get":{"tags":["Ticket"],"operationId":"Ticket_AuthenticateCredentials","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"username","in":"query","required":true,"type":"string"},{"name":"password","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bpm/ticket":{"get":{"tags":["Ticket"],"operationId":"Ticket_GetTickets","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"account","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Ticket"],"operationId":"Ticket_CreateTicket","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/Ticket"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bpm/ticket/{caseID}":{"get":{"tags":["Ticket"],"operationId":"Ticket_GetTicket","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"caseID","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bpm/ticket/{caseID}/comment":{"get":{"tags":["Ticket"],"operationId":"Ticket_GetComment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"caseID","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Ticket"],"operationId":"Ticket_CreateComment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"caseID","in":"path","required":true,"type":"string"},{"name":"comment","in":"body","required":true,"schema":{"$ref":"#/definitions/Comment"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bpm/ticket/{ticketId}/attachment":{"post":{"tags":["Ticket"],"operationId":"Ticket_PostAttachment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ticketId","in":"path","required":true,"type":"string"},{"name":"base64Attachment","in":"body","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bpm/ticket/status":{"put":{"tags":["Ticket"],"operationId":"Ticket_UpdateTicketStatus","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"data","in":"body","required":true,"schema":{"$ref":"#/definitions/Ticket"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bpm/ticket/{commentId}/comments":{"delete":{"tags":["Ticket"],"operationId":"Ticket_DeleteComment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"commentId","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bpm/ticket/{attachmentId}/attachment":{"delete":{"tags":["Ticket"],"operationId":"Ticket_DeleteAttachment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"attachmentId","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/webhook/bpm/tickets":{"put":{"tags":["Ticket"],"operationId":"Ticket_TicketPUTWebhook","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"attachmentId","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Ticket"],"operationId":"Ticket_TicketPOSTWebhook","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"attachmentId","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/webhook/bpm/attachments":{"post":{"tags":["Ticket"],"operationId":"Ticket_AttachmentPOSTWebhook","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"attachmentId","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Ticket"],"operationId":"Ticket_AttachmentDELETEWebhook","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"attachmentId","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/receipt/{module}/{type}/{id}":{"get":{"tags":["TransactionReceipt"],"operationId":"TransactionReceipt_GetReceipt","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"module","in":"path","required":true,"type":"string"},{"name":"type","in":"path","required":true,"type":"string"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/receipt/{module}/{type}/{id}/{lotId}":{"post":{"tags":["TransactionReceipt"],"operationId":"TransactionReceipt_SendEmailReceipt","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"module","in":"path","required":true,"type":"string"},{"name":"type","in":"path","required":true,"type":"string"},{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"email","in":"body","required":true,"schema":{"type":"string"}},{"name":"lotId","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/users/password/forgot":{"post":{"tags":["Users"],"summary":"Request password change, when forgot password.","operationId":"Users_RequestPasswordReset","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"passwordResetRequest","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/UserPasswordResetRequest"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/users/password/reset":{"post":{"tags":["Users"],"summary":"Change pasword when user forgot it.","operationId":"Users_ResetPassword","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"passwordReset","in":"body","description":"User name and new password.","required":true,"schema":{"$ref":"#/definitions/UserPasswordReset"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/users/password/change":{"post":{"tags":["Users"],"operationId":"Users_ChangePassword","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"passwordChange","in":"body","required":true,"schema":{"$ref":"#/definitions/UserPasswordChange"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/users/password/change/admin":{"post":{"tags":["Users"],"operationId":"Users_ChangePasswordByAdmin","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"passwordChange","in":"body","required":true,"schema":{"$ref":"#/definitions/UserPasswordChangeAdminRequest"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/users/password/passwordvalidatedata":{"post":{"tags":["Users"],"operationId":"Users_GetPasswordValidateData","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"token","in":"query","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/users":{"get":{"tags":["Users"],"operationId":"Users_GetUsers","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"search","in":"query","required":false,"type":"string"},{"name":"employeeType","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"boolean"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/users/password-renewal":{"get":{"tags":["Users"],"operationId":"Users_GetPasswordRenewal","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/users/me/full-information":{"get":{"tags":["Users"],"summary":"Returns full profile information for the authenticated user.","operationId":"Users_GetCurrentUserFullInformation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vendors":{"get":{"tags":["Vendor"],"operationId":"Vendor_GetVendors","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"start","in":"query","required":false,"type":"integer","format":"int32"},{"name":"limit","in":"query","required":false,"type":"integer","format":"int32"},{"name":"type","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"search","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"status","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Vendor"],"operationId":"Vendor_CreateVendor","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/Vendor"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vendors/{id}":{"get":{"tags":["Vendor"],"operationId":"Vendor_GetVendor","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Vendor"],"operationId":"Vendor_UpdateVendor","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"record","in":"body","required":true,"schema":{"$ref":"#/definitions/Vendor"}},{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vendors/code/{id}":{"get":{"tags":["Vendor"],"operationId":"Vendor_GetVendorByvendorCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vendors/{id}/status/{status}":{"put":{"tags":["Vendor"],"operationId":"Vendor_ChangeStatusVendor","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int64"},{"name":"status","in":"path","required":true,"type":"boolean"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vendorcategories/{id}":{"get":{"tags":["VendorCategory"],"operationId":"VendorCategory_GetVendorCategory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["VendorCategory"],"operationId":"VendorCategory_UpdateVendorCategory","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/VendorCategory"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["VendorCategory"],"operationId":"VendorCategory_DeleteVendorCategory","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vendorcategories":{"get":{"tags":["VendorCategory"],"operationId":"VendorCategory_GetVendorCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["VendorCategory"],"operationId":"VendorCategory_CreateVendorCategory","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/VendorCategory"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vendorlists/{id}":{"get":{"tags":["VendorList"],"operationId":"VendorList_GetVendorList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["VendorList"],"operationId":"VendorList_UpdateVendorList","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/VendorList"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["VendorList"],"operationId":"VendorList_DeleteVendorList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","required":true,"type":"integer","format":"int32"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vendorlists":{"get":{"tags":["VendorList"],"operationId":"VendorList_GetVendorLists","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"vendorType","in":"query","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"orderBy","in":"query","required":false,"type":"string"},{"name":"dir","in":"query","required":false,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["VendorList"],"operationId":"VendorList_CreateVendorList","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"item","in":"body","required":true,"schema":{"$ref":"#/definitions/VendorList"}},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/vindecoder/{vin}":{"get":{"tags":["VinDecoder"],"operationId":"VinDecoder_GetVehicleInformation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"vin","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/zipdecoder/{code}":{"get":{"tags":["ZIP"],"summary":"Get locaition by zip code","operationId":"ZIP_GetZip","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","required":true,"type":"string"},{"name":"Authorization","in":"header","description":"token","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}}},"definitions":{"AccountingCOA":{"type":"object","properties":{"AccountNumber":{"format":"int32","type":"integer"},"Description":{"type":"string"},"Type":{"type":"string"},"LotName":{"type":"string"},"ControlledBy":{"type":"string"},"IsControlled":{"type":"boolean"},"Category":{"type":"string"},"PrintCheckNumbers":{"type":"boolean"},"SubCategory":{"type":"string"},"ImportedAccountNumber":{"type":"string"},"Category2":{"type":"string"},"Category3":{"type":"string"},"Imported":{"type":"boolean"},"SubCategory2":{"type":"string"},"SubCategory3":{"type":"string"}}},"AccountingMap":{"type":"object","properties":{"MapID":{"format":"int64","type":"integer"},"Debit":{"type":"boolean"},"Credit":{"type":"boolean"},"GLAccount":{"format":"int32","type":"integer"},"ValueFields":{"type":"string"},"MapType":{"type":"string"},"ControlledItem":{"type":"string"},"Type":{"type":"string"},"MemoEntry":{"type":"string"},"Imported":{"type":"boolean"},"PortfolioId":{"format":"int32","type":"integer"}}},"AccountingMapSaveSubModel":{"type":"object","properties":{"Create":{"type":"array","items":{"$ref":"#/definitions/AccountingMapCreateSubModel"}},"Update":{"type":"array","items":{"$ref":"#/definitions/AccountingMapUpdateSubModel"}},"Delete":{"type":"array","items":{"format":"int32","type":"integer"}}}},"AccountingMapCreateSubModel":{"type":"object","properties":{"Debit":{"type":"boolean"},"Credit":{"type":"boolean"},"GLAccount":{"format":"int32","type":"integer"},"MapType":{"type":"string"},"ValueFields":{"type":"string"},"ControlledItem":{"type":"string"},"Type":{"type":"string"},"MemoEntry":{"type":"string"},"Imported":{"type":"boolean"},"PortfolioId":{"format":"int32","type":"integer"}}},"AccountingMapUpdateSubModel":{"type":"object","properties":{"MapID":{"format":"int64","type":"integer"},"Debit":{"type":"boolean"},"Credit":{"type":"boolean"},"GLAccount":{"format":"int32","type":"integer"},"ValueFields":{"type":"string"},"ControlledItem":{"type":"string"},"Type":{"type":"string"},"MemoEntry":{"type":"string"},"Imported":{"type":"boolean"},"MapType":{"type":"string"},"PortfolioId":{"format":"int32","type":"integer"}}},"AccountingMapValueFieldsSubModel":{"type":"object","properties":{"ValueField":{"type":"string"},"MapType":{"type":"string"}}},"EnumValueSubModel":{"type":"object","properties":{"Description":{"type":"string"},"LotName":{"type":"string"}}},"DefermentNoticeEmailSubModel":{"type":"object","properties":{"To":{"type":"string"},"LotId":{"format":"int32","type":"integer"},"SchedulesId":{"type":"array","items":{"format":"int32","type":"integer"}},"DefermentFee":{"format":"double","type":"number"}}},"AccountBankruptcySubModel":{"type":"object","properties":{"ActiveBankruptcy":{"type":"boolean"},"BorrowerIncluded":{"type":"boolean"},"CoBorrowerIncluded":{"type":"boolean"},"BankruptcyChapter":{"type":"string"},"PetitionDate":{"format":"date-time","type":"string"},"IsDischarged":{"type":"boolean"},"DischargeDate":{"format":"date-time","type":"string"},"IsDismissed":{"type":"boolean"},"DismissalDate":{"format":"date-time","type":"string"},"IsReaffirmed":{"type":"boolean"},"ReaffirmationDate":{"format":"date-time","type":"string"},"IsWithdrawn":{"type":"boolean"},"WithdrawalDate":{"format":"date-time","type":"string"},"FilingJurisdictionCourt":{"type":"string"},"UpdateCurrentCreditReporting":{"type":"boolean"},"Note":{"type":"string"}}},"ConsumerInformationIndicatorSubModel":{"type":"object","properties":{"ApplyForBorrower":{"type":"boolean"},"ApplyForCoBorrower":{"type":"boolean"},"Indicator":{"type":"string"}}},"RefundCheckModel":{"type":"object","properties":{"CBID":{"format":"int32","type":"integer"},"RefundType":{"type":"string"},"Amount":{"format":"double","type":"number"}}},"LoanDataSubModel":{"type":"object","properties":{"Loan":{"$ref":"#/definitions/LoanSubModel"},"TabsProgress":{"$ref":"#/definitions/TabsProgressSubModel"},"Vehicle":{"$ref":"#/definitions/PostLoanVehicleSubModel"},"PostAccount":{"type":"boolean"},"Borrower":{"$ref":"#/definitions/BorrowerSubModel"},"CoBorrower":{"$ref":"#/definitions/BorrowerSubModel"}}},"LoanSubModel":{"type":"object","properties":{"DealNumber":{"type":"string"},"ExistingDealId":{"format":"int32","type":"integer"},"AccountType":{"type":"string"},"LotName":{"type":"string"},"DealType":{"type":"string"},"SourceId":{"format":"int32","type":"integer"},"PortfolioId":{"format":"int32","type":"integer"},"ServicingBranchId":{"format":"int32","type":"integer"},"Status":{"type":"string"},"StockNumber":{"format":"int32","type":"integer"},"BuyerCode":{"format":"int64","type":"integer"},"HasCoBuyer":{"type":"boolean"},"CoBuyerCode":{"format":"int64","type":"integer"},"LoanFieldsCompleted":{"format":"int32","type":"integer"},"LoanFieldsPending":{"format":"int32","type":"integer"},"CollectedSalesTax":{"format":"double","type":"number"},"CurrentSalesTax":{"format":"double","type":"number"},"SalesTaxRatio":{"format":"double","type":"number"},"Insurance":{"$ref":"#/definitions/InsuranceSubModel"},"DownPaymentSchedule":{"$ref":"#/definitions/DownPaymentScheduleSubModel"},"ContractSettings":{"$ref":"#/definitions/ContractSettingsSubModel"},"BalanceSetupMethod":{"$ref":"#/definitions/BalanceSetupMethodSubModel"},"PaymentSchedule":{"$ref":"#/definitions/PaymentScheduleConfigSubModel"},"DisclosureResult":{"$ref":"#/definitions/DisclosureResultSubModel"}}},"TabsProgressSubModel":{"type":"object","properties":{"BookingInfo":{"$ref":"#/definitions/BookingInformationSubModel"},"CustomerSelected":{"type":"boolean"},"VehicleSelected":{"type":"boolean"},"DealStructure":{"$ref":"#/definitions/BookingInformationSubModel"},"IsCompleted":{"type":"boolean"}}},"PostLoanVehicleSubModel":{"type":"object","properties":{"Active":{"type":"boolean"},"Engine":{"type":"string"},"Exempt":{"type":"boolean"},"ExteriorColor":{"type":"string"},"GPSCompany":{"type":"string"},"GPSInfo":{"type":"string"},"Image":{"type":"string"},"InteriorColor":{"type":"string"},"Make":{"type":"string"},"MMR":{"format":"double","type":"number"},"Miles":{"format":"int32","type":"integer"},"Model":{"type":"string"},"SpareKey":{"type":"string"},"StockNumber":{"format":"int32","type":"integer"},"Style":{"type":"string"},"TMU":{"type":"boolean"},"Title":{"type":"boolean"},"TitleStatus":{"type":"string"},"Trim":{"type":"string"},"VIN":{"type":"string"},"Valuations":{"type":"array","items":{"$ref":"#/definitions/InventoryValuationSubModel"}},"Year":{"type":"string"},"LotName":{"type":"string"}}},"BorrowerSubModel":{"type":"object","properties":{"Relation":{"type":"string"},"CustomerCode":{"format":"int32","type":"integer"},"FirstName":{"type":"string"},"MiddleName":{"type":"string"},"LastName":{"type":"string"},"DOB":{"format":"date-time","type":"string"},"SSN":{"type":"string"},"ActiveDuty":{"type":"boolean"},"DLN":{"type":"string"},"DLNState":{"type":"string"},"DLNStatus":{"type":"string"},"CreditScore":{"format":"int32","type":"integer"},"CreditBureau":{"type":"string"},"CreditScoreLastUpdated":{"format":"date-time","type":"string"},"CellPhone":{"type":"string"},"AllowCallCellPhone":{"type":"boolean"},"AllowTextCellPhone":{"type":"boolean"},"HomePhone":{"type":"string"},"AllowCallHomePhone":{"type":"boolean"},"AllowTextHomePhone":{"type":"boolean"},"Email":{"type":"string"},"AllowEmail":{"type":"boolean"},"Address":{"type":"string"},"AddressVerification":{"type":"string"},"Zip":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"},"County":{"type":"string"},"HousingStatus":{"type":"string"},"HousingAmount":{"format":"int32","type":"integer"},"MonthsAtAddress":{"format":"int32","type":"integer"},"PreviousAddress":{"$ref":"#/definitions/PreviousAddressSubModel"},"Employment":{"$ref":"#/definitions/EmploymentSubModel"},"OtherIncome":{"$ref":"#/definitions/OtherIncomeSubModel"},"PreviousEmployment":{"$ref":"#/definitions/PreviousEmploymentSubModel"},"Credentials":{"$ref":"#/definitions/CredentialsSubModel"}}},"InsuranceSubModel":{"type":"object","properties":{"Company":{"type":"string"},"Address":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"},"Zip":{"type":"string"},"Phone":{"type":"string"},"Agent":{"type":"string"},"Policy":{"type":"string"},"DateFrom":{"format":"date-time","type":"string"},"DateTo":{"format":"date-time","type":"string"},"Comp":{"format":"int32","type":"integer"},"Coll":{"format":"int32","type":"integer"}}},"DownPaymentScheduleSubModel":{"type":"object","properties":{"CashDown":{"format":"double","type":"number"},"CashDownDate":{"format":"date-time","type":"string"},"DeferredPayments":{"type":"array","items":{"$ref":"#/definitions/DeferredPaymentSubModelV2"}}}},"ContractSettingsSubModel":{"type":"object","properties":{"ContractId":{"format":"int32","type":"integer"},"CompoundingMethod":{"type":"string"},"CompoundPeriod":{"format":"int32","type":"integer"},"AccrualMethod":{"type":"string"},"Amortization":{"type":"string"},"ContractSalesTax":{"type":"boolean"}}},"BalanceSetupMethodSubModel":{"type":"object","properties":{"ContractDate":{"format":"date-time","type":"string"},"OrigFinanceAmount":{"format":"double","type":"number"},"OrigFinanceCharge":{"format":"double","type":"number"},"OrigFinanceSalesTax":{"format":"double","type":"number"},"OrigDiscountAmount":{"format":"double","type":"number"},"CurrentFinanceAmount":{"format":"double","type":"number"},"CurrentFinanceCharge":{"format":"double","type":"number"},"CurrentFinanceSalesTax":{"format":"double","type":"number"},"CurrentDiscountAmount":{"format":"double","type":"number"}}},"PaymentScheduleConfigSubModel":{"type":"object","properties":{"Number":{"format":"int32","type":"integer"},"Amount":{"format":"double","type":"number"},"Frequency":{"type":"string"},"FirstPaymentDue":{"format":"date-time","type":"string"},"FinalPaymentDue":{"format":"date-time","type":"string"}}},"DisclosureResultSubModel":{"type":"object","properties":{"LoanRate":{"format":"double","type":"number"},"APR":{"format":"int32","type":"integer"},"FinanceCharge":{"format":"double","type":"number"},"FinanceAmount":{"format":"double","type":"number"},"TotalPaymentAmount":{"format":"double","type":"number"},"TotalDownPayment":{"format":"double","type":"number"}}},"BookingInformationSubModel":{"type":"object","properties":{"IsCompleted":{"type":"boolean"},"FieldsCompleted":{"format":"int32","type":"integer"},"RequiredFieldsCount":{"format":"int32","type":"integer"}}},"InventoryValuationSubModel":{"type":"object","properties":{"type":{"type":"string"},"category":{"type":"string"},"description":{"type":"string"},"region":{"type":"string"},"value":{"format":"double","type":"number"}}},"PreviousAddressSubModel":{"type":"object","properties":{"Address":{"type":"string"},"Zip":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"}}},"EmploymentSubModel":{"type":"object","properties":{"Name":{"type":"string"},"JobTitle":{"type":"string"},"Type":{"type":"string"},"WorkPhone":{"type":"string"},"AllowCallWorkPhone":{"type":"boolean"},"Address":{"type":"string"},"Zip":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"},"MonthlyIncome":{"format":"int32","type":"integer"},"Months":{"format":"int32","type":"integer"}}},"OtherIncomeSubModel":{"type":"object","properties":{"OtherIncomeAmount":{"format":"double","type":"number"},"OtherIncomeSource":{"type":"string"}}},"PreviousEmploymentSubModel":{"type":"object","properties":{"Name":{"type":"string"},"JobTitle":{"type":"string"},"Status":{"type":"string"},"WorkPhone":{"type":"string"},"Months":{"format":"int32","type":"integer"}}},"CredentialsSubModel":{"type":"object","properties":{"UserName":{"type":"string"},"Password":{"type":"string"},"AllowPaymentReminders":{"type":"boolean"},"AllowInsuranceReminders":{"type":"boolean"},"ActiveCredentials":{"type":"boolean"}}},"DeferredPaymentSubModelV2":{"type":"object","properties":{"DeferredPayment":{"format":"int32","type":"integer"},"DeferredPaymentDate":{"format":"date-time","type":"string"}}},"AccountNoteSubModel":{"type":"object","properties":{"AccountNumber":{"format":"int32","type":"integer"},"AssignedUserId":{"format":"int32","type":"integer"},"ActionType":{"type":"string"},"ContactMade":{"type":"boolean"},"ContactNumber":{"type":"string"},"Result":{"type":"string"},"Date":{"format":"date-time","type":"string"},"Time":{"type":"string"},"Note":{"type":"string"},"ContactEmail":{"type":"string"},"Direction":{"type":"string"},"CreateTask":{"type":"boolean"},"Task":{"$ref":"#/definitions/TaskSubModel"}}},"TaskSubModel":{"type":"object","properties":{"DueDate":{"format":"date-time","type":"string"},"Note":{"type":"string"},"AssignedTo":{"format":"int32","type":"integer"},"AssignedBy":{"format":"int32","type":"integer"},"Completed":{"type":"boolean"}}},"DealSourceSubModel":{"type":"object","properties":{"SourceId":{"format":"int32","type":"integer"},"ServicingBranchId":{"format":"int32","type":"integer"},"PortfolioId":{"format":"int32","type":"integer"}}},"Adjustment":{"type":"object","properties":{"AccountNumber":{"format":"int32","type":"integer"},"AdjustmentType":{"type":"string"},"EffectiveDate":{"format":"date-time","type":"string"},"BeginningPrincipal":{"format":"double","type":"number"},"Amount":{"format":"double","type":"number"},"EndingPrincipal":{"format":"double","type":"number"}}},"TransferStatusSubModel":{"type":"object","properties":{"Status":{"type":"string"},"LiquidValue":{"format":"double","type":"number"},"BadDebtDate":{"format":"date-time","type":"string"},"Miles":{"format":"int32","type":"integer"},"RecoveryDate":{"format":"date-time","type":"string"},"RecoveryType":{"type":"string"}}},"DealReference":{"type":"object","properties":{"DealReferenceId":{"format":"int64","type":"integer"},"AccountNumber":{"format":"int64","type":"integer"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"PhoneNo":{"type":"string"},"Relation":{"type":"string"},"Address":{"type":"string"},"Email":{"type":"string"},"Zip":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"}}},"PaymentBase":{"type":"object","properties":{"AccountNumber":{"format":"int32","type":"integer"},"Amount":{"format":"double","type":"number"},"EffectiveDate":{"format":"date-time","type":"string"},"DeliveryMethod":{"type":"string"},"PaymentMethod":{"type":"string"},"PaymentMethodLabel":{"type":"string"},"Memo":{"type":"string"},"ProcessType":{"type":"string"},"ElectronicTransaction":{"$ref":"#/definitions/ElectronicTransaction"}}},"ElectronicTransaction":{"type":"object","properties":{"ConvenienceFee":{"format":"double","type":"number"},"WaiveConvenienceFee":{"type":"boolean"},"RepayRequest":{"$ref":"#/definitions/RepayRequest"},"TransactionId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"ElectronicPaymentType":{"type":"string"}}},"RepayRequest":{"type":"object","properties":{"Amount":{"format":"double","type":"number"},"Method":{"type":"string"},"TransactionType":{"type":"string"},"BalanceId":{"type":"string"},"BalanceType":{"type":"string"},"PaymentMethodIdentifier":{"type":"string"},"CustomerId":{"type":"string"}}},"PaymentReversalRequestSubModel":{"type":"object","properties":{"PaymentId":{"format":"int32","type":"integer"},"Reason":{"type":"string"},"ChargeAmount":{"format":"double","type":"number"},"AccountNumber":{"format":"int32","type":"integer"},"Type":{"type":"string"},"PaymentType":{"type":"string"},"NewEffectiveDate":{"format":"date-time","type":"string"}}},"PaymentAdjustmentSubModel":{"type":"object","properties":{"EffectiveDate":{"format":"date-time","type":"string"},"AdjustmentType":{"type":"string"},"EntryType":{"type":"string"},"Amount":{"format":"double","type":"number"},"Note":{"type":"string"}}},"PrincipalOnlySubModel":{"type":"object","properties":{"EffectiveDate":{"format":"date-time","type":"string"},"Amount":{"format":"double","type":"number"},"TransactionId":{"type":"string"},"ReferenceNumber":{"type":"string"},"PaymentMethod":{"type":"string"},"DeliveryMethod":{"type":"string"}}},"WriteOffSubModel":{"type":"object","properties":{"Date":{"format":"date-time","type":"string"},"ReferenceNumber":{"type":"string"},"Balances":{"type":"array","items":{"$ref":"#/definitions/PayoffBalancesToPaySubModel"}}}},"PayoffBalancesToPaySubModel":{"type":"object","properties":{"ReferenceId":{"format":"int32","type":"integer"},"BalanceType":{"type":"string"}}},"ExtendPaymentSubModel":{"type":"object","properties":{"Payments":{"type":"array","items":{"$ref":"#/definitions/ScheduleToExtendSubModel"}},"AccountNumber":{"format":"int32","type":"integer"},"Date":{"format":"date-time","type":"string"}}},"ScheduleToExtendSubModel":{"type":"object","properties":{"ScheduleType":{"type":"string"},"ScheduleId":{"format":"int32","type":"integer"},"ReferenceId":{"format":"int32","type":"integer"}}},"ReversalPayment":{"type":"object","properties":{"Note":{"type":"string"},"Date":{"format":"date-time","type":"string"},"PaymentAmount":{"format":"double","type":"number"},"ConvenienceFee":{"format":"double","type":"number"},"PaymentType":{"type":"string"}}},"AlertMessageSubModel":{"type":"object","properties":{"AccountId":{"format":"int32","type":"integer"},"Message":{"type":"string"},"Background":{"type":"string"},"FontColor":{"type":"string"},"CreatedByUserId":{"format":"int32","type":"integer"},"CreatedOn":{"format":"date-time","type":"string"},"ModifiedByUserId":{"format":"int32","type":"integer"},"ModifiedOn":{"format":"date-time","type":"string"}}},"BHPHFeeSubModel":{"type":"object","properties":{"BHPHFeeId":{"format":"int32","type":"integer"},"IsCharge":{"type":"boolean"},"Amount":{"format":"float","type":"number"},"DealId":{"format":"int32","type":"integer"},"TransactionId":{"format":"int32","type":"integer"},"Type":{"type":"string"},"TransactionType":{"type":"string"},"Date":{"format":"date-time","type":"string"}}},"DealInsuranceSubModel":{"type":"object","properties":{"InsuranceCompany":{"type":"string"},"InsuranceAgent":{"type":"string"},"InsuranceAddress":{"type":"string"},"InsuranceCity":{"type":"string"},"InsuranceState":{"type":"string"},"InsuranceZip":{"type":"string"},"InsurancePhone":{"type":"string"},"InsurancePolicy":{"type":"string"},"InsuranceDateFrom":{"format":"date-time","type":"string"},"InsuranceDateTo":{"format":"date-time","type":"string"},"InsuranceComp":{"format":"double","type":"number"},"InsuranceColl":{"format":"double","type":"number"}}},"PromiseToPay":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"AccountNumber":{"format":"int32","type":"integer"},"BHPHAccountNumber":{"format":"int32","type":"integer"},"Type":{"type":"string"},"ReferenceBalanceId":{"format":"int32","type":"integer"},"BalanceType":{"type":"string"},"DeliveryMethod":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"AmountPaid":{"format":"double","type":"number"},"Status":{"type":"string"},"PaymentMethod":{"type":"string"},"Date":{"format":"date-time","type":"string"},"DatePaid":{"format":"date-time","type":"string"},"CreatedBy":{"format":"int32","type":"integer"},"CreatedOn":{"format":"date-time","type":"string"},"ModifiedBy":{"format":"int32","type":"integer"},"ModifiedOn":{"format":"date-time","type":"string"},"ScheduleAmountDue":{"format":"double","type":"number"}}},"UpdatePromiseToPaySubModel":{"type":"object","properties":{"Type":{"type":"string"},"ReferenceBalanceId":{"format":"int32","type":"integer"},"BalanceType":{"type":"string"},"DeliveryMethod":{"type":"string"},"Note":{"type":"string"},"Amount":{"format":"double","type":"number"},"PaymentMethod":{"type":"string"},"Date":{"format":"date-time","type":"string"},"ScheduleAmountDue":{"format":"double","type":"number"}}},"CreateCpiSubModel":{"type":"object","properties":{"Amount":{"format":"double","type":"number"},"Description":{"type":"string"},"Frequency":{"type":"string"},"FirstDueDate":{"format":"date-time","type":"string"},"LastDueDate":{"format":"date-time","type":"string"}}},"RefinanceModel":{"type":"object","properties":{"Reason":{"type":"string"},"InterestRate":{"format":"double","type":"number"},"PaymentFrequency":{"type":"string"},"PaymentAmount":{"format":"double","type":"number"},"Term":{"format":"int32","type":"integer"},"FirstDueDate":{"format":"date-time","type":"string"},"RefinanceDate":{"format":"date-time","type":"string"},"FinanceAmount":{"format":"double","type":"number"}}},"BookLoadSubModel":{"type":"object","properties":{"Description":{"type":"string"},"Category":{"type":"string"}}},"EnumValueColorSubModel":{"type":"object","properties":{"category":{"type":"string"},"description":{"type":"string"},"codeValue":{"type":"string"},"lotName":{"type":"string"}}},"EnumValueDeleteSubModel":{"type":"object","properties":{"Category":{"type":"string"},"Description":{"type":"string"}}},"CompanySubModel":{"type":"object","properties":{"CompanyCode":{"format":"int32","type":"integer"},"CompanyDBName":{"type":"string"},"CompanyName":{"type":"string"},"CompanyAddress":{"type":"string"},"CompanyCity":{"type":"string"},"CompanyState":{"type":"string"},"CompanyZip":{"type":"string"},"CompanyCountry":{"type":"string"},"CompanyPhone":{"type":"string"},"CompanyFax":{"type":"string"},"CompanyWebsite":{"type":"string"},"CompanyContact":{"type":"string"},"CompanyEin":{"type":"string"},"CompanyEmail":{"type":"string"},"CompanyLogo":{"type":"string"},"CompanySecret":{"type":"string"},"CompanyTimezone":{"format":"int32","type":"integer"},"CompanyLicenseNumber":{"type":"string"},"CompanyDBAName":{"type":"string"},"EmployerIdentificationNumber":{"type":"string"},"BillingName":{"type":"string"},"BillingFirstName":{"type":"string"},"BillingLastName":{"type":"string"},"BillingAddress":{"type":"string"},"BillingCity":{"type":"string"},"BillingState":{"type":"string"},"BillingZip":{"type":"string"},"BillingPhone":{"type":"string"},"BillingEmail":{"type":"string"},"ContactName":{"type":"string"},"ContactEmail":{"type":"string"},"ContactWorkPhone":{"type":"string"},"ContactMobilePhone":{"type":"string"},"ITContactName":{"type":"string"},"ITContactAddress":{"type":"string"},"ITContactPhone":{"type":"string"},"ITContactEmail":{"type":"string"},"WebSiteTemplate":{"type":"string"},"Plan":{"type":"string"},"Lots":{"format":"int32","type":"integer"},"AdminUser":{"type":"string"},"CustomerProfileId":{"type":"string"},"SMSBusy":{"format":"int32","type":"integer"},"EmailBusy":{"format":"int32","type":"integer"},"LeadGrabberBusy":{"format":"int32","type":"integer"},"HoldsKey":{"format":"int32","type":"integer"},"HoldingKey":{"type":"string"},"CarfaxId":{"type":"string"},"AutoCreateMonthlyInvoice":{"format":"int32","type":"integer"},"AutoChargeMonthlyInvoice":{"format":"int32","type":"integer"},"EnableAutoPayment":{"format":"int32","type":"integer"},"MonthlyBilling":{"format":"double","type":"number"},"NextBillingDate":{"format":"date-time","type":"string"},"BalanceAmount":{"format":"double","type":"number"},"DealerTrackPartnerIds":{"type":"string"},"Token":{"type":"string"},"Status":{"type":"string"},"CreatedByUserId":{"format":"int32","type":"integer"},"CreatedOn":{"format":"date-time","type":"string"},"ModifiedByUserId":{"format":"int32","type":"integer"},"ModifiedOn":{"format":"date-time","type":"string"},"ScreenTimeout":{"format":"int32","type":"integer"},"LoginFailedAttempts":{"format":"int32","type":"integer"},"LockoutDuration":{"format":"int32","type":"integer"}}},"CompanySubModelSettings":{"type":"object","properties":{"ScreenTimeout":{"format":"int32","type":"integer"},"LoginFailedAttempts":{"format":"int32","type":"integer"},"LockoutDuration":{"format":"int32","type":"integer"},"DaysToRenewPassword":{"format":"int32","type":"integer"}}},"CreditReportingCompanySubModel":{"type":"object","properties":{"CreditReportingId":{"format":"int32","type":"integer"},"CompanyCode":{"format":"int32","type":"integer"},"ReportingDayOfMonth":{"format":"int32","type":"integer"},"NextReportingDate":{"format":"date-time","type":"string"},"FurnisherID":{"type":"string"},"FurnisherName":{"type":"string"},"FurnisherAddress":{"type":"string"},"FurnisherCity":{"type":"string"},"FurnisherState":{"type":"string"},"FurnisherZip":{"type":"string"},"FurnisherPhoneNumber":{"type":"string"},"Active":{"type":"boolean"},"Bureaus":{"type":"array","items":{"$ref":"#/definitions/BureauSubModel"}},"ExistsRuns":{"type":"boolean"},"ExistsNotCompletedRuns":{"type":"boolean"}}},"BureauSubModel":{"type":"object","properties":{"BureauSettingId":{"format":"int32","type":"integer"},"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Key":{"type":"string"},"Report":{"type":"boolean"},"MaxLength":{"format":"int32","type":"integer"}}},"CreditReportingReviewDetailSubModel":{"type":"object","properties":{"AccountInformation":{"$ref":"#/definitions/CreditReportingAccountInformationSubModel"},"BorrowerInformation":{"$ref":"#/definitions/CreditReportingBorrowerInformationSubModel"},"CoBorrowerInformation":{"$ref":"#/definitions/CreditReportingCoBorrowerInformationSubModel"},"Messages":{"type":"array","items":{"$ref":"#/definitions/CreditReportingValidationMessage"}}}},"CreditReportingAccountInformationSubModel":{"type":"object","properties":{"AccountNumber":{"format":"int32","type":"integer"},"RunId":{"format":"int32","type":"integer"},"Duration":{"format":"int32","type":"integer"},"ComplianceCondition":{"type":"string"},"Frequency":{"type":"string"},"PaymentRating":{"type":"string"},"PaymentProfile":{"type":"string"},"SpecialComment":{"type":"string"},"Status":{"type":"string"},"BaseStatus":{"type":"string"},"AmountPaid":{"format":"double","type":"number"},"CurrentBalance":{"format":"double","type":"number"},"OriginalLoan":{"format":"double","type":"number"},"OriginalChargeoff":{"format":"double","type":"number"},"Payment":{"format":"double","type":"number"},"PastDue":{"format":"double","type":"number"},"OpenDate":{"format":"date-time","type":"string"},"CloseDate":{"format":"date-time","type":"string"},"FirstDelinquency":{"format":"date-time","type":"string"},"InformationDate":{"format":"date-time","type":"string"},"LastPayment":{"format":"date-time","type":"string"},"DoNotReport":{"type":"boolean"},"BalanceOverride":{"type":"boolean"},"AccountType":{"type":"string"},"StatusOverride":{"type":"boolean"},"DoFDOverride":{"type":"boolean"},"OriginalChargeoffOverride":{"type":"boolean"},"AmountPaidOverride":{"type":"boolean"},"PaymentRatingOverride":{"type":"boolean"},"AmountPastDueOverride":{"type":"boolean"}}},"CreditReportingBorrowerInformationSubModel":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"format":"int32","type":"integer"},"First":{"type":"string"},"Middle":{"type":"string"},"Last":{"type":"string"},"SSN":{"type":"string"},"DOB":{"format":"date-time","type":"string"},"Phone":{"type":"string"},"Address":{"type":"string"},"ResidenceCode":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"},"Zip":{"type":"string"},"Country":{"type":"string"},"AddressIndicator":{"type":"string"},"TransactionType":{"type":"string"},"ECOACode":{"type":"string"},"CIICode":{"type":"string"},"DoNotReport":{"type":"boolean"}}},"CreditReportingCoBorrowerInformationSubModel":{"type":"object","properties":{"IsBusiness":{"type":"boolean"},"Id":{"format":"int32","type":"integer"},"Code":{"format":"int32","type":"integer"},"First":{"type":"string"},"Middle":{"type":"string"},"Last":{"type":"string"},"SSN":{"type":"string"},"DOB":{"format":"date-time","type":"string"},"Phone":{"type":"string"},"Address":{"type":"string"},"ResidenceCode":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"},"Zip":{"type":"string"},"Country":{"type":"string"},"AddressIndicator":{"type":"string"},"TransactionType":{"type":"string"},"ECOACode":{"type":"string"},"CIICode":{"type":"string"},"DoNotReport":{"type":"boolean"}}},"CreditReportingValidationMessage":{"type":"object","properties":{"Type":{"type":"string"},"Message":{"type":"string"}}},"CRMSubModel":{"type":"object","properties":{"CustomerCode":{"format":"int64","type":"integer"},"Date":{"format":"date-time","type":"string"},"DealType":{"type":"string"},"Credit":{"type":"string"},"ProcessStage":{"type":"string"},"AvailableCash":{"format":"double","type":"number"},"RecordManager":{"type":"string"},"ProspectID":{"type":"string"},"LeadSource":{"type":"string"},"LastResults":{"type":"string"},"NoDeal":{"type":"boolean"},"Reason":{"type":"string"},"Notes":{"type":"string"},"VehicleStock":{"format":"int64","type":"integer"},"VehicleYear":{"type":"string"},"VehicleMake":{"type":"string"},"VehicleModel":{"type":"string"},"VehicleTrim":{"type":"string"},"VehiclePrice":{"format":"double","type":"number"},"TradeYear":{"type":"string"},"TradeMake":{"type":"string"},"TradeModel":{"type":"string"},"TradeTrim":{"type":"string"},"TradeOffer":{"format":"double","type":"number"},"TradeACV":{"format":"double","type":"number"},"AppointmentSalesman":{"type":"string"},"Showed":{"type":"boolean"},"IsEditing":{"type":"boolean"},"EditingBy":{"type":"string"},"LotName":{"type":"string"},"LastUpdated":{"format":"date-time","type":"string"},"TradeMiles":{"format":"int32","type":"integer"},"LeadSourceId":{"format":"int32","type":"integer"},"TradeVIN":{"type":"string"},"CoProspectCode":{"format":"int64","type":"integer"},"TradePayoff":{"format":"double","type":"number"},"TradeLeinHolder":{"type":"string"},"TradePayoffDate":{"type":"string"},"PrescreenCode":{"type":"string"},"PrescreenOn":{"format":"date-time","type":"string"},"Prospect":{"$ref":"#/definitions/ProspectSubModel"},"CoProspect":{"$ref":"#/definitions/ProspectSubModel"}}},"ProspectSubModel":{"type":"object","properties":{"CustomerCode":{"format":"int64","type":"integer"},"FirstName":{"type":"string"},"MiddleName":{"type":"string"},"LastName":{"type":"string"},"Address":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"},"Zip":{"type":"string"},"Country":{"type":"string"},"WorkPhone":{"type":"string"},"HomePhone":{"type":"string"},"CellPhone":{"type":"string"},"Email":{"type":"string"},"JobTitle":{"type":"string"},"EmployerName":{"type":"string"},"EmployerAddress":{"type":"string"},"EmployerCity":{"type":"string"},"EmployerState":{"type":"string"},"EmployerZip":{"type":"string"},"DOB":{"format":"date-time","type":"string"},"SSN":{"type":"string"},"DLN":{"type":"string"},"IsSales":{"type":"boolean"},"IsService":{"type":"boolean"},"IsCRM":{"type":"boolean"},"InHouseServiceCustomer":{"type":"boolean"},"MonthlyIncome":{"format":"int32","type":"integer"},"TotalMonthsEmployed":{"format":"int32","type":"integer"},"MortgageOrRent":{"format":"int32","type":"integer"},"TotalMonthsAtAddress":{"format":"int32","type":"integer"},"EmploymentStatus":{"type":"string"},"HousingStatus":{"type":"string"},"PreviousAddress":{"type":"string"},"PreviousCity":{"type":"string"},"PreviousState":{"type":"string"},"PreviousZip":{"type":"string"},"PreviousEmployerName":{"type":"string"},"PreviousJobTitle":{"type":"string"},"PreviousWorkPhone":{"type":"string"},"PreviousTotalMonthsEmployed":{"format":"int32","type":"integer"},"PreviousEmploymentStatus":{"type":"string"}}},"CustomerSubModel":{"type":"object","properties":{"_id":{"format":"int64","type":"integer"},"firstName":{"type":"string"},"middleName":{"type":"string"},"lastName":{"type":"string"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"country":{"type":"string"},"county":{"type":"string"},"cellPhone":{"type":"string"},"homePhone":{"type":"string"},"email":{"type":"string"},"dob":{"format":"date-time","type":"string"},"ssn":{"type":"string"},"dln":{"type":"string"},"dlnState":{"type":"string"},"dlnStatus":{"type":"string"},"housingStatus":{"type":"string"},"amount":{"format":"int32","type":"integer"},"totalMonthsAddress":{"format":"int32","type":"integer"},"relation":{"type":"string"},"customerEmployer":{"type":"string"},"customerJobTitle":{"type":"string"},"customerEmployerAddress":{"type":"string"},"customerEmployerCity":{"type":"string"},"customerEmployerCountry":{"type":"string"},"customerEmployerState":{"type":"string"},"customerAddressVerification":{"type":"string"},"customerEmployerZip":{"type":"string"},"customerWorkPhone":{"type":"string"},"customerEmploymentStatus":{"type":"string"},"customerMonthlyIncome":{"format":"int32","type":"integer"},"customerHousingAmount":{"format":"double","type":"number"},"customerTotalMonthsEmployed":{"format":"int32","type":"integer"},"previousEmploymentStatus":{"type":"string"},"previousEmployer":{"type":"string"},"previousJobTitle":{"type":"string"},"previousTotalMonthsEmployed":{"format":"int32","type":"integer"},"previousWorkPhone":{"type":"string"},"previousAddress":{"type":"string"},"previousCity":{"type":"string"},"previousState":{"type":"string"},"previousZip":{"type":"string"},"creditScore":{"format":"int32","type":"integer"},"creditBureau":{"type":"string"},"creditScoreLastUpdated":{"format":"date-time","type":"string"},"allowCallCellPhone":{"type":"boolean"},"allowTextCellPhone":{"type":"boolean"},"allowCallHomePhone":{"type":"boolean"},"allowTextHomePhone":{"type":"boolean"},"allowCallWorkPhone":{"type":"boolean"},"allowEmail":{"type":"boolean"},"allowPaymentReminders":{"type":"boolean"},"allowInsuranceReminders":{"type":"boolean"},"activeServiceMember":{"type":"boolean"},"cctiveCredentials":{"type":"boolean"},"customerLoginUserName":{"type":"string"},"customerLoginPassword":{"type":"string"},"otherIncomeAmount":{"format":"double","type":"number"},"otherIncomeSource":{"type":"string"},"isBusiness":{"type":"boolean"},"accountNumber":{"format":"int64","type":"integer"}}},"DealEntitySubModel":{"type":"object","properties":{"deal":{"$ref":"#/definitions/DealSubModel"},"buyer":{"$ref":"#/definitions/CustomerSubModel"},"coBuyer":{"$ref":"#/definitions/CustomerSubModel"},"vehicle":{"$ref":"#/definitions/InventorySubModel"},"tradeIn1":{"$ref":"#/definitions/InventorySubModel"},"tradeIn2":{"$ref":"#/definitions/InventorySubModel"},"references":{"type":"array","items":{"$ref":"#/definitions/DealReferenceSubModel"}}}},"DealSubModel":{"type":"object","properties":{"_id":{"format":"int64","type":"integer"},"stock":{"format":"int32","type":"integer"},"buyerCode":{"format":"int64","type":"integer"},"coBuyerCode":{"format":"int64","type":"integer"},"hasCoBuyer":{"type":"boolean"},"salesPrice":{"format":"double","type":"number"},"hasTrade1":{"type":"boolean"},"hasTrade2":{"type":"boolean"},"tradeInCode1":{"format":"int32","type":"integer"},"tradeInCode2":{"format":"int32","type":"integer"},"tradeAllowance1":{"format":"double","type":"number"},"tradeAllowance2":{"format":"double","type":"number"},"dealType":{"type":"string"},"dealerFee":{"format":"double","type":"number"},"salesTax":{"format":"double","type":"number"},"countyTaxName":{"type":"string"},"countyTaxRate":{"format":"double","type":"number"},"title":{"format":"double","type":"number"},"tags":{"format":"double","type":"number"},"tagAgencyFee":{"format":"double","type":"number"},"registration":{"format":"double","type":"number"},"tiPayoff1":{"format":"double","type":"number"},"tiPayoff2":{"format":"double","type":"number"},"downPayment":{"format":"double","type":"number"},"reserveAmount":{"format":"double","type":"number"},"reservePercent":{"format":"double","type":"number"},"balanceDue":{"format":"double","type":"number"},"buyRate":{"format":"double","type":"number"},"interestRate":{"format":"double","type":"number"},"term":{"format":"int32","type":"integer"},"financeAmount":{"format":"double","type":"number"},"soldDate":{"format":"date-time","type":"string"},"docStamp":{"format":"double","type":"number"},"paymentAmount":{"format":"double","type":"number"},"latePaymentAmount":{"format":"double","type":"number"},"firstPaymentDue":{"format":"date-time","type":"string"},"finalPaymentDue":{"format":"date-time","type":"string"},"discount":{"format":"double","type":"number"},"leadSource":{"type":"string"},"nonEarningPrincipalRate":{"format":"double","type":"number"},"nonEarningPrincipal":{"format":"double","type":"number"},"discountRate":{"format":"double","type":"number"},"compoundPeriod":{"format":"int32","type":"integer"},"compoundingMethod":{"type":"string"},"accrualMethod":{"type":"string"},"contractSalesTax":{"type":"boolean"},"amortization":{"type":"string"},"lateFeeDays":{"format":"int32","type":"integer"},"lateFeeRate":{"format":"double","type":"number"},"maxLateFee":{"format":"double","type":"number"},"status":{"type":"string"},"bhphStatus":{"type":"string"},"bhphLiquidValue":{"format":"double","type":"number"},"bhphBadDebtDate":{"format":"date-time","type":"string"},"sysUser":{"type":"string"},"sysDate":{"format":"date-time","type":"string"},"accountDescription":{"type":"string"},"existingDealId":{"type":"string"},"portfolioId":{"format":"int32","type":"integer"},"sourceId":{"format":"int32","type":"integer"},"contractId":{"format":"int32","type":"integer"},"balanceSetupMethod":{"type":"string"},"servicingBranchId":{"format":"int32","type":"integer"},"insuranceCompany":{"type":"string"},"insuranceAgent":{"type":"string"},"insuranceAddress":{"type":"string"},"insuranceCity":{"type":"string"},"insuranceState":{"type":"string"},"insuranceZip":{"type":"string"},"insurancePhone":{"type":"string"},"insurancePolicy":{"type":"string"},"insuranceDateFrom":{"format":"date-time","type":"string"},"insuranceDateTo":{"format":"date-time","type":"string"},"insuranceComp":{"format":"double","type":"number"},"insuranceColl":{"format":"double","type":"number"},"dealTags":{"type":"string"},"inspectionFee":{"format":"double","type":"number"},"dealerInventoryTax":{"format":"double","type":"number"},"userField1":{"format":"double","type":"number"},"userField2":{"format":"double","type":"number"},"warrantyPrice":{"format":"double","type":"number"},"rebates":{"format":"double","type":"number"},"downPayment1":{"format":"double","type":"number"},"downPayment2":{"format":"double","type":"number"},"downPayment3":{"format":"double","type":"number"},"downPayment1Date":{"format":"date-time","type":"string"},"downPayment2Date":{"format":"date-time","type":"string"},"downPayment3Date":{"format":"date-time","type":"string"},"financeCompany":{"type":"string"},"warrantyID":{"format":"int64","type":"integer"},"productID1":{"format":"int64","type":"integer"},"productID2":{"format":"int64","type":"integer"},"productID3":{"format":"int64","type":"integer"},"productID4":{"format":"int64","type":"integer"},"productID5":{"format":"int64","type":"integer"},"productID6":{"format":"int64","type":"integer"},"product1Amount":{"format":"double","type":"number"},"product2Amount":{"format":"double","type":"number"},"product3Amount":{"format":"double","type":"number"},"product4Amount":{"format":"double","type":"number"},"product5Amount":{"format":"double","type":"number"},"product6Amount":{"format":"double","type":"number"},"gapID":{"format":"int64","type":"integer"},"gapAmount":{"format":"double","type":"number"},"acv1":{"format":"double","type":"number"},"warrantyCost":{"format":"double","type":"number"},"gapCost":{"format":"double","type":"number"},"salespersonID1":{"format":"int64","type":"integer"},"salespersonID2":{"format":"int64","type":"integer"},"salesManagerID":{"format":"int64","type":"integer"},"financeManagerID":{"format":"int64","type":"integer"},"bdcAgentID":{"format":"int64","type":"integer"},"acv2":{"format":"double","type":"number"},"commissions1":{"format":"double","type":"number"},"commissions2":{"format":"double","type":"number"},"commission1Override":{"type":"boolean"},"commission2Override":{"type":"boolean"},"product1Cost":{"format":"double","type":"number"},"product2Cost":{"format":"double","type":"number"},"product3Cost":{"format":"double","type":"number"},"product4Cost":{"format":"double","type":"number"},"product5Cost":{"format":"double","type":"number"},"product6Cost":{"format":"double","type":"number"},"warrantyTerm":{"format":"int32","type":"integer"},"gapTerm":{"format":"int32","type":"integer"},"productTerm1":{"format":"int32","type":"integer"},"productTerm2":{"format":"int32","type":"integer"},"productTerm3":{"format":"int32","type":"integer"},"productTerm4":{"format":"int32","type":"integer"},"productTerm5":{"format":"int32","type":"integer"},"productTerm6":{"format":"int32","type":"integer"},"warrantyPolicy":{"type":"string"},"gapPolicy":{"type":"string"},"product1Policy":{"type":"string"},"product2Policy":{"type":"string"},"product3Policy":{"type":"string"},"product4Policy":{"type":"string"},"product5Policy":{"type":"string"},"product6Policy":{"type":"string"},"totalProfit":{"format":"double","type":"number"},"residualValue":{"format":"double","type":"number"},"residualPercent":{"format":"double","type":"number"},"isResidualPercent":{"type":"boolean"},"msrp":{"format":"double","type":"number"},"contractAnnualMileage":{"format":"double","type":"number"},"plannedAnnualMileage":{"format":"double","type":"number"},"leaseOveragePerMile":{"format":"double","type":"number"},"leinHolder1":{"type":"string"},"leinHolder2":{"type":"string"},"dealSpotted":{"type":"boolean"},"floorPlanCost":{"format":"double","type":"number"},"frontEndProfit":{"format":"double","type":"number"},"backEndProfit":{"format":"double","type":"number"},"salesmanPrice":{"format":"double","type":"number"},"financeCommissions":{"format":"double","type":"number"},"financeCommissionOverride":{"type":"boolean"},"salesManagerCommission":{"format":"double","type":"number"},"salesManagerOverride":{"type":"boolean"},"bdcAgentCommission":{"format":"double","type":"number"},"bdcAgentOverride":{"type":"boolean"},"leadID":{"format":"int64","type":"integer"},"lotName":{"type":"string"},"reserveOverride":{"type":"boolean"},"registerOutState":{"type":"boolean"},"trade1Credit":{"type":"boolean"},"trade2Credit":{"type":"boolean"},"mbi":{"format":"double","type":"number"},"terminationFee":{"format":"double","type":"number"},"assigned":{"type":"string"},"paymentFrequency":{"type":"string"},"salesTaxOverride":{"type":"boolean"},"leaseTaxCredit":{"format":"double","type":"number"},"taxCreditType":{"type":"string"},"isUpFrontLeaseTaxes":{"type":"boolean"},"leaseEndingOverage":{"format":"double","type":"number"},"monthlyDepreciation":{"format":"double","type":"number"},"rentalCharge":{"format":"double","type":"number"},"monthlyLeaseTax":{"format":"double","type":"number"},"refunds":{"format":"double","type":"number"},"capCostReduction":{"format":"double","type":"number"},"leaseTotalDueAtSigning":{"format":"double","type":"number"},"loanFieldsCompleted":{"format":"int32","type":"integer"},"loanFieldsPending":{"format":"int32","type":"integer"},"origFinanceAmount":{"format":"double","type":"number"},"origFinanceCharge":{"format":"double","type":"number"},"origFinanceSalesTax":{"format":"double","type":"number"},"origlDiscountAmount":{"format":"double","type":"number"},"currentFinanceAmount":{"format":"double","type":"number"},"currentFinanceCharge":{"format":"double","type":"number"},"currentFinanceSalesTax":{"format":"double","type":"number"},"currentDiscountAmount":{"format":"double","type":"number"},"saveAsQuote":{"type":"boolean"},"RefinancedTo":{"format":"int64","type":"integer"},"RefinancedBy":{"format":"int64","type":"integer"},"RefinancedOn":{"format":"date-time","type":"string"},"RefinancedFrom":{"format":"int64","type":"integer"}}},"InventorySubModel":{"type":"object","properties":{"Vin":{"type":"string"},"Year":{"type":"string"},"Make":{"type":"string"},"Model":{"type":"string"},"Trim":{"type":"string"},"ExteriorColor":{"type":"string"},"InteriorColor":{"type":"string"},"Miles":{"format":"int32","type":"integer"},"Active":{"type":"boolean"},"IsEditing":{"type":"boolean"},"EditingBy":{"type":"string"},"ShowSlashed":{"type":"boolean"},"EnableReduce":{"type":"boolean"},"ReducePrice":{"type":"string"},"ReduceFrequency":{"type":"string"},"LastReduced":{"format":"date-time","type":"string"},"RemoveAdvertising":{"type":"string"},"LotName":{"type":"string"},"VehicleLocation":{"type":"string"},"PlaceAd":{"type":"boolean"},"Flag":{"format":"int32","type":"integer"},"TitleStatus":{"type":"string"},"NewUsed":{"type":"string"},"KeyStatus":{"type":"string"},"PostAsNewKey":{"type":"boolean"},"Msrp":{"format":"double","type":"number"},"Optimized":{"type":"boolean"},"BorrowedAmount":{"format":"double","type":"number"},"BorrowedAmountOverride":{"type":"boolean"},"FlooredBy":{"type":"string"},"FlooredRate":{"format":"float","type":"number"},"FloorplanCost":{"format":"double","type":"number"},"FloorPlannedDate":{"format":"date-time","type":"string"},"Nada":{"format":"double","type":"number"},"NadaRetail":{"format":"double","type":"number"},"Engine":{"type":"string"},"Cost":{"format":"double","type":"number"},"CityMpg":{"format":"int32","type":"integer"},"HighwayMPG":{"format":"int32","type":"integer"},"InternetPrice":{"format":"double","type":"number"},"IsFloorPlanned":{"type":"boolean"},"MinimumPrice":{"format":"double","type":"number"},"Notes":{"type":"string"},"CurtailmentDate":{"format":"date-time","type":"string"},"PurchasedFrom":{"type":"string"},"PurchasedDate":{"format":"date-time","type":"string"},"PurchasedPrice":{"format":"double","type":"number"},"Title":{"type":"boolean"},"TitleNotes":{"type":"string"},"Tmu":{"type":"boolean"},"Exempt":{"type":"boolean"},"Eml":{"type":"boolean"},"UserTabURL1":{"type":"string"},"UserTabURL2":{"type":"string"},"Transmission":{"type":"string"},"Style":{"type":"string"},"SpareKey":{"type":"string"},"Repairs":{"format":"double","type":"number"},"SlashedPrice":{"format":"double","type":"number"},"StickerPrice":{"format":"double","type":"number"},"PurchasingAgent":{"type":"string"},"Status":{"type":"string"},"BbAverageTradeIn":{"format":"double","type":"number"},"Mmr":{"format":"double","type":"number"},"MonthResidualValue12":{"format":"double","type":"number"},"MonthResidualValue24":{"format":"double","type":"number"},"MonthResidualValue36":{"format":"double","type":"number"},"AlternativeThumbnail":{"type":"string"},"Description":{"type":"string"},"Cabinet":{"type":"string"},"CheckOutUser":{"format":"int32","type":"integer"},"Video1":{"type":"string"},"Video2":{"type":"string"},"Advertised":{"type":"boolean"},"Thumbnail":{"type":"string"},"Frame":{"type":"boolean"},"Cr":{"format":"float","type":"number"},"CarFax":{"type":"string"},"AutoCheck":{"type":"string"},"GpsCompany":{"type":"string"},"GpsInfo":{"type":"string"},"InventoryTags":{"type":"string"}}},"DealReferenceSubModel":{"type":"object","properties":{"FirstName":{"type":"string"},"LastName":{"type":"string"},"PhoneNo":{"type":"string"},"Relation":{"type":"string"},"Address":{"type":"string"}}},"TagSubModel":{"type":"object","properties":{"TagId":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"Module":{"type":"string"},"Priority":{"type":"string"},"Color":{"type":"string"},"Active":{"type":"boolean"},"ModifiedBy":{"format":"int32","type":"integer"},"ModifiedOn":{"format":"date-time","type":"string"}}},"AccountSettingSubModel":{"type":"object","properties":{"AccountType":{"type":"string"},"SpecialCommentCode":{"type":"string"},"ComplianceCode":{"type":"string"},"DoNotReport":{"type":"boolean"},"BuyerECOACode":{"type":"string"},"BuyerInformationIndicator":{"type":"string"},"BuyerAddressIndicator":{"type":"string"},"HasCoBuyer":{"type":"boolean"},"CoBuyerECOACode":{"type":"string"},"CoBuyerInformationIndicator":{"type":"string"},"CoBuyerAddressIndicator":{"type":"string"}}},"DealImport":{"type":"object","properties":{"Buyer":{"$ref":"#/definitions/CustomerImportData"},"CoBuyer":{"$ref":"#/definitions/CustomerImportData"},"Vehicle":{"$ref":"#/definitions/InventoryImportData"},"Deal":{"$ref":"#/definitions/DealImportData"}}},"CustomerImportData":{"type":"object","properties":{"CustomerCode":{"format":"int64","type":"integer"},"FirstName":{"type":"string"},"MiddleName":{"type":"string"},"LastName":{"type":"string"},"Address":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"},"Zip":{"type":"string"},"Country":{"type":"string"},"County":{"type":"string"},"CellPhone":{"type":"string"},"HomePhone":{"type":"string"},"Email":{"type":"string"},"ImportedCustomerCode":{"type":"string"}}},"InventoryImportData":{"type":"object","properties":{"Year":{"type":"string"},"Make":{"type":"string"},"Miles":{"format":"int32","type":"integer"},"Model":{"type":"string"},"Trim":{"type":"string"},"Style":{"type":"string"},"Engine":{"type":"string"},"VIN":{"type":"string"},"Transmission":{"type":"string"},"ExteriorColor":{"type":"string"},"InteriorColor":{"type":"string"},"LotName":{"type":"string"},"Active":{"type":"boolean"},"Tag":{"type":"string"},"TagExpires":{"format":"date-time","type":"string"},"ImportedStockNumber":{"type":"string"}}},"DealImportData":{"type":"object","properties":{"BuyerCode":{"format":"int64","type":"integer"},"CoBuyerCode":{"format":"int64","type":"integer"},"StockNumber":{"format":"int64","type":"integer"},"HasCoBuyer":{"type":"boolean"},"SalesPrice":{"format":"double","type":"number"},"DealType":{"type":"string"},"SalesTax":{"format":"double","type":"number"},"CountyTaxName":{"type":"string"},"CountyTaxRate":{"format":"float","type":"number"},"FirstPaymentDue":{"format":"date-time","type":"string"},"FinalPaymentDue":{"format":"date-time","type":"string"},"InterestRate":{"format":"float","type":"number"},"LotName":{"type":"string"},"PaymentAmount":{"format":"double","type":"number"},"PaymentFrequency":{"type":"string"},"SoldDate":{"format":"date-time","type":"string"},"Status":{"type":"string"},"BHPHStatus":{"type":"string"},"SysDate":{"format":"date-time","type":"string"},"Term":{"format":"int32","type":"integer"},"FinalPaymentAmount":{"format":"double","type":"number"},"FirstPaymentDueDays":{"format":"int32","type":"integer"},"FirstPaymentOverride":{"type":"boolean"},"FinanceAmount":{"format":"double","type":"number"},"LeadSource":{"type":"string"},"ImportedAccountNumber":{"type":"string"}}},"DealProduct":{"type":"object","properties":{"ProductID":{"format":"int32","type":"integer"},"VendorId":{"format":"int32","type":"integer"},"ProductName":{"type":"string"},"ProductPackage":{"type":"string"},"ProductType":{"type":"string"},"ProductActive":{"type":"boolean"}}},"EmailModel":{"type":"object","properties":{"From":{"type":"string"},"To":{"type":"string"},"CC":{"type":"string"},"BCC":{"type":"string"},"Subject":{"type":"string"},"Html":{"type":"string"}}},"EmailTemplateSubModel":{"type":"object","properties":{"Name":{"type":"string"},"Type":{"type":"string"},"Text":{"type":"string"},"Subject":{"type":"string"},"Module":{"type":"string"},"EntityAlias":{"format":"int32","type":"integer"}}},"InventoryModel":{"type":"object","properties":{"Thumbnail":{"type":"string"},"AlternativeThumbnail":{"type":"string"},"Year":{"type":"string"},"Make":{"type":"string"},"Model":{"type":"string"},"Trim":{"type":"string"},"Style":{"type":"string"},"Engine":{"type":"string"},"Vin":{"type":"string"},"Transmission":{"type":"string"},"ExteriorColor":{"type":"string"},"InteriorColor":{"type":"string"},"MpgCity":{"format":"int32","type":"integer"},"MpgHighway":{"format":"int32","type":"integer"},"LotName":{"type":"string"},"Active":{"type":"boolean"},"NewUsed":{"type":"string"},"Miles":{"format":"int32","type":"integer"},"IsTMU":{"type":"boolean"},"IsExempt":{"type":"boolean"},"IsEML":{"type":"boolean"},"TitleStatus":{"type":"string"},"IsSpareKey":{"type":"string"},"PurchasedFrom":{"type":"string"},"PurchasedAgent":{"type":"string"},"PurchasedDate":{"format":"date-time","type":"string"},"CR":{"format":"float","type":"number"},"IsFrame":{"type":"boolean"},"PurchasedPrice":{"format":"double","type":"number"},"Repairs":{"format":"double","type":"number"},"Cost":{"format":"double","type":"number"},"CarFax":{"type":"string"},"AutoCheck":{"type":"string"},"ShowSlashed":{"type":"boolean"},"SlashedPrice":{"format":"double","type":"number"},"StickerPrice":{"format":"double","type":"number"},"InternetPrice":{"format":"double","type":"number"},"MinimumPrice":{"format":"double","type":"number"},"EnableReduce":{"type":"boolean"},"ReducePrice":{"type":"string"},"ReduceFrequency":{"type":"string"},"RemoveAdvertising":{"type":"string"},"PlaceAd":{"type":"boolean"},"Title":{"type":"boolean"},"TitleNumber":{"type":"string"},"Tag":{"type":"string"},"TagExpires":{"format":"date-time","type":"string"},"Pack":{"format":"double","type":"number"},"PackOverride":{"type":"boolean"},"GPSCompany":{"type":"string"},"GPSDevice":{"type":"string"},"NADA":{"format":"double","type":"number"},"NadaRetail":{"format":"double","type":"number"},"BBAverage":{"format":"double","type":"number"},"MMR":{"format":"double","type":"number"},"ResidualValue1":{"format":"double","type":"number"},"ResidualValue2":{"format":"double","type":"number"},"ResidualValue3":{"format":"double","type":"number"},"Drivetrain":{"type":"string"},"GenericExteriorColor":{"type":"string"},"UserTabURL1":{"type":"string"},"UserTabURL2":{"type":"string"},"IsWholesale":{"type":"boolean"},"MaximumReconCost":{"format":"double","type":"number"}}},"ResidualValuationsModel":{"type":"object","properties":{"ResidualValue1":{"format":"double","type":"number"},"ResidualValue2":{"format":"double","type":"number"},"ResidualValue3":{"format":"double","type":"number"}}},"VehicleAdvertisingSubModel":{"type":"object","properties":{"PlaceAd":{"type":"boolean"},"ReducePrice":{"type":"string"},"RemoveAd":{"type":"string"},"EnableReduce":{"type":"boolean"},"ReduceFrequency":{"type":"string"},"WebsitePayment":{"format":"double","type":"number"},"WebsiteDownPayment":{"format":"double","type":"number"},"PaymentFrequency":{"type":"string"}}},"VehicleInfoSubModel":{"type":"object","properties":{"Year":{"type":"string"},"Make":{"type":"string"},"Model":{"type":"string"},"Trim":{"type":"string"},"Style":{"type":"string"},"Engine":{"type":"string"},"VIN":{"type":"string"},"Transmission":{"type":"string"},"ExteriorColor":{"type":"string"},"InteriorColor":{"type":"string"},"MpgCity":{"format":"int32","type":"integer"},"MpgHighway":{"format":"int32","type":"integer"},"LotName":{"type":"string"},"Miles":{"format":"int32","type":"integer"},"IsTMU":{"type":"boolean"},"IsExempt":{"type":"boolean"},"IsEML":{"type":"boolean"},"TitleStatus":{"type":"string"},"IsSpareKey":{"type":"string"},"Title":{"type":"boolean"},"Tag":{"type":"string"},"TagExpires":{"format":"date-time","type":"string"},"TitleNumber":{"type":"string"},"Notes":{"type":"string"}}},"VehicleDepreciationSubModel":{"type":"object","properties":{"BeginningDepreciatedAmount":{"format":"double","type":"number"},"DepreciationPercent":{"format":"double","type":"number"}}},"RearrangeImagesModel":{"type":"object","properties":{"Images":{"type":"array","items":{"type":"string"}},"Thumbnail":{"type":"string"}}},"InventoryOption":{"type":"object","properties":{"InventoryOptionId":{"format":"int32","type":"integer"},"StockNumber":{"format":"int32","type":"integer"},"Options":{"type":"string"},"CreatedBy":{"type":"string"},"CreatedOn":{"format":"date-time","type":"string"},"ModifiedBy":{"type":"string"},"ModifiedOn":{"format":"date-time","type":"string"}}},"InventoryRepairSubModel":{"type":"object","properties":{"CheckNo":{"format":"int64","type":"integer"},"VendorName":{"type":"string"},"DatePaid":{"format":"date-time","type":"string"},"Comment":{"type":"string"},"Amount":{"format":"double","type":"number"},"CategoryName":{"type":"string"},"BillID":{"format":"int64","type":"integer"},"Imported":{"type":"boolean"}}},"GpsUpdateSubModel":{"type":"object","properties":{"GpsCompany":{"type":"string"},"GpsDevice":{"type":"string"},"GPSDeviceType":{"type":"string"}}},"VehiclePricingSubModel":{"type":"object","properties":{"PurchasedFrom":{"type":"string"},"PurchasedAgent":{"type":"string"},"PurchasedDate":{"format":"date-time","type":"string"},"PurchasedPrice":{"format":"double","type":"number"},"FloorplanCost":{"format":"double","type":"number"},"TotalCost":{"format":"double","type":"number"},"StickerPrice":{"format":"double","type":"number"},"InternetPrice":{"format":"double","type":"number"},"MinimumPrice":{"format":"double","type":"number"},"WebsitePayment":{"format":"double","type":"number"},"WebsiteDownPayment":{"format":"double","type":"number"},"WholesalePrice":{"format":"double","type":"number"},"PaymentFrequency":{"type":"string"},"Pack":{"format":"double","type":"number"},"SlashedPrice":{"format":"double","type":"number"},"PackOverride":{"type":"boolean"}}},"VehicleFloorplanSubModel":{"type":"object","properties":{"FloorPlaned":{"type":"boolean"},"FloorDate":{"format":"date-time","type":"string"},"CurtailmentDate":{"format":"date-time","type":"string"},"AmountBorrowed":{"format":"double","type":"number"},"FlooringCompany":{"type":"string"},"Rate":{"format":"float","type":"number"},"FloorPlanCost":{"format":"double","type":"number"},"BorrowedAmountOverride":{"type":"boolean"}}},"VehicleCustomFieldSubModel":{"type":"object","properties":{"CustomField1Id":{"format":"int32","type":"integer"},"CustomField2Id":{"format":"int32","type":"integer"},"CustomField3Id":{"format":"int32","type":"integer"},"CustomField4Id":{"format":"int32","type":"integer"}}},"VehicleVinInfoSubModel":{"type":"object","properties":{"Year":{"format":"int32","type":"integer"},"Make":{"type":"string"},"Model":{"type":"string"},"Trim":{"type":"string"},"Style":{"type":"string"},"Engine":{"type":"string"},"VIN":{"type":"string"},"Transmission":{"type":"string"},"ExteriorColor":{"type":"string"},"InteriorColor":{"type":"string"},"CityMPG":{"format":"int32","type":"integer"},"HighwayMPG":{"format":"int32","type":"integer"}}},"EnumValueCustomFieldSubModel":{"type":"object","properties":{"Category":{"type":"string"},"Description":{"type":"string"},"CodeValue":{"type":"string"},"LotName":{"type":"string"}}},"EnumValueUpdateSubModel":{"type":"object","properties":{"EnumValuesId":{"format":"int32","type":"integer"},"Description":{"type":"string"}}},"InventoryLocationSubModel":{"type":"object","properties":{"InventoryLocationId":{"format":"int32","type":"integer"},"Description":{"type":"string"}}},"LateFeeTemplate":{"type":"object","properties":{"LateFeeTemplateId":{"format":"int32","type":"integer"},"TemplateName":{"type":"string"},"Type":{"type":"string"},"Value":{"format":"double","type":"number"},"DaysAfterDue":{"format":"int32","type":"integer"},"LotName":{"type":"string"}}},"LeadSourceSubModel":{"type":"object","properties":{"LeadSourcesId":{"format":"int32","type":"integer"},"LeadSource":{"type":"string"},"MonthlyAdvertisingCost":{"format":"double","type":"number"},"Domain":{"type":"string"},"Lots":{"type":"string"}}},"LoanContractMaturitySubModel":{"type":"object","properties":{"LoanContractTemplateId":{"format":"int32","type":"integer"},"MaturityRateActive":{"type":"boolean"},"MaturityRate":{"format":"double","type":"number"}}},"Lot":{"type":"object","properties":{"LotName":{"type":"string"},"LotAddress":{"type":"string"},"LotCity":{"type":"string"},"LotState":{"type":"string"},"LotZip":{"type":"string"},"LotPhone":{"type":"string"},"LotFax":{"type":"string"},"LotType":{"type":"string"},"LotContactPerson":{"type":"string"},"LotDLN":{"type":"string"},"BHPHInHouse":{"type":"boolean"},"OverridePassword":{"type":"string"},"LotTaxReg":{"type":"string"},"TagAgencyFee":{"format":"double","type":"number"},"DealerFee":{"format":"double","type":"number"},"TagFee":{"format":"double","type":"number"},"RegistrationFee":{"format":"double","type":"number"},"TitleFee":{"format":"double","type":"number"},"PackCost":{"format":"double","type":"number"},"DealerFeeEditable":{"type":"boolean"},"LotMVR":{"type":"string"},"InspectionFee":{"format":"double","type":"number"},"InventoryTax":{"format":"float","type":"number"},"DealerFeeTaxable":{"type":"boolean"},"TagFeeTaxable":{"type":"boolean"},"RegistrationFeeTaxable":{"type":"boolean"},"TitleFeeTaxable":{"type":"boolean"},"InspectionFeeTaxable":{"type":"boolean"},"TagAgencyFeeTaxable":{"type":"boolean"},"ProductsTaxable":{"type":"boolean"},"ActiveSince":{"format":"date-time","type":"string"},"PictureUrl":{"type":"string"},"DbaName":{"type":"string"},"UserField1":{"format":"double","type":"number"},"UserField2":{"format":"double","type":"number"},"UserField1Name":{"type":"string"},"UserField2Name":{"type":"string"},"LotId":{"format":"int32","type":"integer"},"LotTimezone":{"format":"int32","type":"integer"},"LotTimeZoneId":{"type":"string"},"MBI":{"format":"double","type":"number"},"MBITaxable":{"type":"boolean"},"UserField1Taxable":{"type":"boolean"},"UserField2Taxable":{"type":"boolean"},"LotMVNumber":{"type":"string"},"LotStateRegistration":{"type":"string"},"IsOEMDealer":{"type":"boolean"},"LenderDealerID":{"type":"string"},"DealerFeeCapitalized":{"type":"boolean"},"MBICapitalized":{"type":"boolean"},"TagAgencyFeeCapitalized":{"type":"boolean"},"TagFeeCapitalized":{"type":"boolean"},"RegistrationFeeCapitalized":{"type":"boolean"},"TitleFeeCapitalized":{"type":"boolean"},"InspectionFeeCapitalized":{"type":"boolean"},"UserField1Capitalized":{"type":"boolean"},"UserField2Capitalized":{"type":"boolean"},"ServiceContractCapitalized":{"type":"boolean"},"GAPCapitalized":{"type":"boolean"},"DispositionFee":{"format":"double","type":"number"},"EarlyTerminationFee":{"format":"float","type":"number"},"PurchaseOptionFee":{"format":"double","type":"number"},"UserField3":{"format":"double","type":"number"},"UserField3Capitalized":{"type":"boolean"},"UserField3Taxable":{"type":"boolean"},"UserField3Name":{"type":"string"},"UserField4":{"format":"double","type":"number"},"UserField4Capitalized":{"type":"boolean"},"UserField4Taxable":{"type":"boolean"},"UserField4Name":{"type":"string"},"UserField5":{"format":"double","type":"number"},"UserField5Capitalized":{"type":"boolean"},"UserField5Taxable":{"type":"boolean"},"UserField5Name":{"type":"string"},"DisplayInspectionFee":{"type":"boolean"},"DisplayDealerFee":{"type":"boolean"},"DisplayUserField1":{"type":"boolean"},"DisplayUserField2":{"type":"boolean"},"DisplayUserField3":{"type":"boolean"},"DisplayUserField4":{"type":"boolean"},"DisplayUserField5":{"type":"boolean"},"DisplayAcquisitionFee":{"type":"boolean"},"DisplayTagAgencyFee":{"type":"boolean"},"DisplayTagFee":{"type":"boolean"},"DisplayRegistrationFee":{"type":"boolean"},"DisplayTitleFee":{"type":"boolean"},"ConvenienceFee":{"format":"double","type":"number"},"Active":{"type":"boolean"}}},"LotSubModel":{"type":"object","properties":{"LotName":{"type":"string"},"LotAddress":{"type":"string"},"LotCity":{"type":"string"},"LotState":{"type":"string"},"LotZip":{"type":"string"},"LotPhone":{"type":"string"},"LotFax":{"type":"string"},"LotContactPerson":{"type":"string"},"LotTaxReg":{"type":"string"},"LotMVR":{"type":"string"},"LotMVNumber":{"type":"string"},"LotStateRegistration":{"type":"string"},"DealerFee":{"format":"double","type":"number"},"TagAgencyFee":{"format":"double","type":"number"},"TagFee":{"format":"double","type":"number"},"RegistrationFee":{"format":"double","type":"number"},"TitleFee":{"format":"double","type":"number"},"BHPHInHouse":{"type":"boolean"},"PackCost":{"format":"double","type":"number"},"LotTimezone":{"format":"int32","type":"integer"},"LotDLN":{"type":"string"}}},"SalesTaxSubModel":{"type":"object","properties":{"CountyName":{"type":"string"},"SalesTax":{"format":"double","type":"number"},"SurplusTax":{"format":"double","type":"number"},"SurplusAmount":{"format":"double","type":"number"}}},"SettingSubModel":{"type":"object","properties":{"Category":{"type":"string"},"Value":{"type":"string"},"Key":{"type":"string"},"LotName":{"type":"string"}}},"OptionListSubModel":{"type":"object","properties":{"OptionName":{"type":"string"},"Icon":{"type":"string"}}},"PnmScheduleAutopayRequest":{"type":"object","properties":{"Amount":{"format":"double","type":"number"},"Frequency":{"type":"string"},"DurationType":{"type":"string"},"PaymentMethodIdentifier":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"NumberOfPaymentsPlanned":{"format":"int32","type":"integer"},"FirstDayOfMonth":{"format":"int32","type":"integer"},"SecondDayOfMonth":{"format":"int32","type":"integer"},"OverwriteExistingAutopay":{"type":"boolean"},"TransactionType":{"type":"string"}}},"OrderChangeRequest":{"type":"object","properties":{"timestamp":{"type":"string"},"agent":{"type":"string"},"origin":{"type":"string"},"site_customer_identifier":{"type":"string"},"site_order_identifier":{"type":"string"},"payee_identifier":{"type":"string"},"pnm_order_identifier":{"type":"string"},"version":{"type":"string"},"site_identifier":{"type":"string"},"signature":{"type":"string"},"change_event":{"$ref":"#/definitions/ChangeEvent"},"auto_pay_json":{"$ref":"#/definitions/AutoPayJson"},"one_time_pay_json":{"type":"array","items":{"$ref":"#/definitions/AutoPayJson"}}}},"ChangeEvent":{"type":"object","properties":{"name":{"type":"string"},"context":{"type":"string"},"change_by_agent_id":{"type":"string"},"change_by_agent_email":{"type":"string"},"consumer_email":{"type":"string"}}},"AutoPayJson":{"type":"object","properties":{"date":{"type":"string"},"end_date":{"type":"string"},"means":{"type":"string"},"amount":{"type":"string"},"status":{"type":"string"},"created":{"type":"string"},"canceled":{"type":"string"},"frequency":{"type":"string"},"agent_name":{"type":"string"},"identifier":{"type":"string"},"payment_type":{"type":"string"},"duration_type":{"type":"string"},"number_of_payments_skipped":{"format":"int32","type":"integer"},"number_of_payments_completed":{"format":"int32","type":"integer"}}},"BankReturnPayment":{"type":"object","properties":{"payment_bank_last4":{"type":"string"},"payment_bank_name":{"type":"string"},"reverse_code":{"type":"string"},"reverse_reason":{"type":"string"},"standin":{"type":"string"},"order_payee_identifier":{"type":"string"},"payment_amount":{"type":"string"},"payment_currency":{"type":"string"},"payment_timestamp":{"type":"string"},"pnm_order_identifier":{"type":"string"},"pnm_payment_identifier":{"type":"string"},"site_order_identifier":{"type":"string"},"reverse_amount":{"type":"string"},"reverse_currency":{"type":"string"},"reverse_date":{"type":"string"},"reverse_type":{"type":"string"},"signature":{"type":"string"},"site_customer_identifier":{"type":"string"},"site_identifier":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"},"version":{"type":"string"}}},"Portfolio":{"type":"object","properties":{"PortfolioId":{"format":"int32","type":"integer"},"OwnerCompany":{"type":"string"},"CreditReportingCompanyId":{"format":"int32","type":"integer"},"AccountingClass":{"type":"string"},"Type":{"type":"string"},"Description":{"type":"string"},"Name":{"type":"string"},"OriginationDate":{"format":"date-time","type":"string"},"ActivelyUsed":{"type":"boolean"},"InHouse":{"type":"boolean"},"StockIsLoanNumber":{"type":"boolean"},"LoanNumberPrefix":{"format":"int32","type":"integer"},"NextLoanNumber":{"format":"int32","type":"integer"},"AddressName":{"type":"string"},"TextName":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"Zip":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"},"Phone":{"type":"string"},"Fax":{"type":"string"},"Website":{"type":"string"},"ReceiptMessage":{"type":"string"},"ConvenienceFee":{"format":"double","type":"number"},"Imported":{"type":"boolean"},"IsDefault":{"type":"boolean"},"ACHConvenienceFee":{"format":"double","type":"number"}}},"DealProductSubModel":{"type":"object","properties":{"VendorId":{"format":"int32","type":"integer"},"ProductName":{"type":"string"},"ProductPackage":{"type":"string"},"ProductType":{"type":"string"},"ProductActive":{"type":"boolean"}}},"DealProductStatusSubModel":{"type":"object","properties":{"Status":{"type":"boolean"}}},"PurchasedFromEntity":{"type":"object","properties":{"PurchasedFrom":{"type":"string"},"PurchasedFromId":{"format":"int32","type":"integer"}}},"PurchasedFromSubModel":{"type":"object","properties":{"PurchasedFrom":{"type":"string"}}},"PurchasingAgentSubModel":{"type":"object","properties":{"Agent":{"type":"string"}}},"PurchasingAgent":{"type":"object","properties":{"Agent":{"type":"string"},"PurchasingAgentsId":{"format":"int32","type":"integer"}}},"CreateSchedulePaymentRequest":{"type":"object","properties":{"RepayRequest":{"$ref":"#/definitions/RepayRequest"},"PromiseToPay":{"$ref":"#/definitions/PromiseToPay"}}},"RepayEvent":{"type":"object","properties":{"event_meta_data":{"$ref":"#/definitions/EventMetaData"},"event_data":{"$ref":"#/definitions/EventData"}}},"EventMetaData":{"type":"object","properties":{"event_type":{"type":"string"},"version":{"type":"string"}}},"EventData":{"type":"object","properties":{"request":{"$ref":"#/definitions/EventDataRepayRequest"},"timestamp":{"format":"date-time","type":"string"},"result":{"$ref":"#/definitions/Result"}}},"EventDataRepayRequest":{"type":"object","properties":{"gateway_mid":{"type":"string"},"payment_channel":{"type":"string"},"amount":{"type":"string"},"amount_cents":{"type":"string"},"card_brand":{"type":"string"},"card_type":{"type":"string"},"card_expiration":{"type":"string"},"card_last_four":{"type":"string"},"card_name":{"type":"string"},"address":{"type":"string"},"invoice_number":{"type":"string"},"customer_id":{"type":"string"},"custom_fields":{"$ref":"#/definitions/CustomFields"}}},"Result":{"type":"object","properties":{"result_code":{"type":"string"},"pn_ref":{"type":"string"},"auth_code":{"type":"string"},"host_code":{"type":"string"},"host_url":{"type":"string"},"message":{"type":"string"},"message1":{"type":"string"},"message2":{"type":"string"},"resp_msg":{"type":"string"},"avs_result":{"$ref":"#/definitions/AvsResult"},"commercial_card":{"type":"string"},"cv_result":{"type":"string"},"original_transaction_id":{"type":"string"}}},"CustomFields":{"type":"object","properties":{"PaymentChannel":{"type":"string"},"MultiPay":{"type":"string"},"ConvenienceFee":{"type":"string"},"SavePaymentMethod":{"type":"string"},"AccountNumber":{"type":"string"},"BalanceId":{"type":"string"},"BalanceType":{"type":"string"},"DealerId":{"type":"string"},"PortfolioId":{"type":"string"},"ManualEntry":{"type":"string"},"TransactionId":{"type":"string"},"WaiveConvFee":{"type":"string"},"environment":{"type":"string"},"ExternalPayment":{"type":"boolean"},"Source":{"type":"string"}}},"AvsResult":{"type":"object","properties":{"AVSResponse":{"type":"string"},"AVSResponseMsg":{"type":"string"},"StreetMatch":{"type":"string"},"ZipMatch":{"type":"string"}}},"RepossessionSubModel":{"type":"object","properties":{"RepossessionID":{"format":"int32","type":"integer"},"AssignmentDate":{"format":"date-time","type":"string"},"RepossessionReason1ID":{"format":"int32","type":"integer"},"RepossessionReason2ID":{"format":"int32","type":"integer"},"AccountNumber":{"format":"int64","type":"integer"},"RecoveryAgents":{"type":"array","items":{"format":"int32","type":"integer"}}}},"RepossessionProceedModel":{"type":"object","properties":{"RepossessionProceedId":{"format":"int32","type":"integer"},"ReceiptLotID":{"format":"int32","type":"integer"},"ReceiptLot":{"type":"string"},"ReceiptDate":{"format":"date-time","type":"string"},"ReceiptAmount":{"format":"double","type":"number"},"PaymentType":{"type":"string"},"Category":{"type":"string"},"From":{"type":"string"},"DeliveryMethod":{"type":"string"},"Memo":{"type":"string"}}},"RepossessionChargeModel":{"type":"object","properties":{"RepossessionChargeId":{"format":"int64","type":"integer"},"VendorID":{"format":"int64","type":"integer"},"Vendor":{"type":"string"},"Category":{"type":"string"},"ChargeDate":{"format":"date-time","type":"string"},"ChargeAmount":{"format":"double","type":"number"},"Description":{"type":"string"}}},"RepossessionRecoverySubModel":{"type":"object","properties":{"RepossessionRecoveryID":{"format":"int32","type":"integer"},"RepossessionID":{"format":"int32","type":"integer"},"RecoveryDate":{"format":"date-time","type":"string"},"ReceivedDate":{"format":"date-time","type":"string"},"AvailableForSoldDate":{"format":"date-time","type":"string"},"RepossessionType":{"type":"string"},"RecoveryAgentID":{"format":"int32","type":"integer"},"RecoveryAgent":{"type":"string"},"RecoveryLocation":{"type":"string"},"ReceivedLotID":{"format":"int32","type":"integer"},"ReceivedLot":{"type":"string"},"ReceivedLocation":{"type":"string"},"MileageAtRecovery":{"format":"int32","type":"integer"},"RecoveryCondition":{"type":"string"},"LoanAcceleration":{"type":"boolean"},"LoanAccelerationDate":{"format":"date-time","type":"string"},"PersonalPropertyFound":{"type":"boolean"},"JournalId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"PersonalProperty":{"$ref":"#/definitions/RepossessionPersonalPropertyModel"},"RecoveryLocationDetails":{"$ref":"#/definitions/RepossessionRecoveryLocationSubModel"}}},"RepossessionPersonalPropertyModel":{"type":"object","properties":{"RepossessionPersonalPropertyId":{"format":"int32","type":"integer"},"RepossessionRecoveryID":{"format":"int32","type":"integer"},"FoundOn":{"format":"date-time","type":"string"},"NotifiedOn":{"format":"date-time","type":"string"},"ClaimDeadline":{"format":"date-time","type":"string"},"PropertyDescription":{"type":"string"},"Witness1":{"type":"string"},"Witness2":{"type":"string"},"ClaimedBy":{"type":"string"},"ClaimedOn":{"format":"date-time","type":"string"},"CreatedBy":{"format":"int32","type":"integer"},"CreatedOn":{"format":"date-time","type":"string"},"ModifiedBy":{"format":"int32","type":"integer"},"ModifiedOn":{"format":"date-time","type":"string"}}},"RepossessionRecoveryLocationSubModel":{"type":"object","properties":{"RepossessionRecoveryLocationID":{"format":"int32","type":"integer"},"Description":{"type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"City":{"type":"string"},"State":{"type":"string"},"Zip":{"type":"string"}}},"RepossessionRestockSubModel":{"type":"object","properties":{"RepossessionID":{"format":"int32","type":"integer"},"PostDate":{"format":"date-time","type":"string"},"Cost":{"format":"double","type":"number"},"Miles":{"format":"int32","type":"integer"},"LotId":{"format":"int32","type":"integer"},"TMU":{"type":"boolean"},"Exempt":{"type":"boolean"},"EML":{"type":"boolean"},"Location":{"type":"string"},"RestockStockNumber":{"format":"int64","type":"integer"}}},"RepossessionSaleSubModel":{"type":"object","properties":{"RepossessionID":{"format":"int32","type":"integer"},"ReceiptDate":{"format":"date-time","type":"string"},"ReceiptAmount":{"format":"double","type":"number"},"ReceiptType":{"type":"string"},"LotID":{"format":"int32","type":"integer"},"PurchaserID":{"format":"int64","type":"integer"},"PaymentMadeBy":{"type":"string"}}},"RepossessionChargeOffSubModel":{"type":"object","properties":{"RepossessionID":{"format":"int32","type":"integer"},"ChargeOffDate":{"format":"date-time","type":"string"},"StrictForeclosure":{"type":"boolean"},"ChargeOffInterestRate":{"format":"double","type":"number"},"AccrueFrom":{"format":"date-time","type":"string"},"Active":{"type":"boolean"}}},"RepossessionRightToCure":{"type":"object","properties":{"RepossessionRightToCureId":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"RTCLetterDate":{"type":"string"},"RTCExpiredDate":{"type":"string"},"RTCWaivedDate":{"type":"string"},"AccountNumber":{"format":"int64","type":"integer"},"Active":{"type":"boolean"},"CreatedByUserId":{"format":"int32","type":"integer"},"CreatedOn":{"format":"date-time","type":"string"},"ModifiedByUserId":{"format":"int32","type":"integer"},"ModifiedOn":{"format":"date-time","type":"string"}}},"SearchTemplateSubModel":{"type":"object","properties":{"Name":{"type":"string"},"Entity":{"type":"string"},"Fields":{"type":"array","items":{"type":"string"}},"Users":{"type":"array","items":{"format":"int32","type":"integer"}},"Search":{"type":"array","items":{"type":"string"}},"Expression":{"$ref":"#/definitions/IExpression"}}},"IExpression":{"type":"object","properties":{"Type":{"type":"string","readOnly":true}}},"SearchTemplateQueryPreviewSubModel":{"type":"object","properties":{"Expression":{"$ref":"#/definitions/IExpression"},"Fields":{"type":"array","items":{"type":"string"}},"Top":{"format":"int32","type":"integer"}}},"ServiceStatusSubModel":{"type":"object","properties":{"Status":{"type":"string"}}},"ServiceJob":{"type":"object","properties":{"InvoiceNumber":{"format":"int32","type":"integer"},"JobNumber":{"format":"int32","type":"integer"},"CustomerStates":{"type":"string"},"Cause":{"type":"string"},"Correction":{"type":"string"},"Notes":{"type":"string"},"Technician":{"type":"string"},"Hours":{"format":"double","type":"number"},"LaborCost":{"format":"double","type":"number"},"LaborTotal":{"format":"double","type":"number"},"PartsTotal":{"format":"double","type":"number"},"SubletPrice":{"format":"double","type":"number"},"SubletCost":{"format":"double","type":"number"},"TechnicianFunded":{"type":"boolean"},"PayType":{"type":"string"},"HourlyRate":{"format":"double","type":"number"},"IsFlatRate":{"type":"boolean"},"ProblemWhat":{"type":"string"},"ProblemWhen":{"type":"string"},"ProblemCause":{"type":"string"},"LaborOperationCode":{"type":"string"},"Recommend1":{"type":"string"},"Recommend2":{"type":"string"},"Recommend3":{"type":"string"},"Recommend4":{"type":"string"},"Recommend5":{"type":"string"},"Recommend1IsDeclined":{"type":"boolean"},"Recommend2IsDeclined":{"type":"boolean"},"Recommend3IsDeclined":{"type":"boolean"},"Recommend4IsDeclined":{"type":"boolean"},"Recommend5IsDeclined":{"type":"boolean"},"IsSendToOEM":{"type":"boolean"},"Discount":{"format":"double","type":"number"},"FactoryWarranty":{"type":"boolean"},"Approved":{"type":"boolean"},"Status":{"type":"string"},"EstimatedHours":{"format":"double","type":"number"},"ActualHours":{"format":"double","type":"number"},"RequestedParts":{"type":"string"},"IsHRSChecked":{"type":"boolean"},"SubletVendorID":{"format":"int32","type":"integer"},"ImportedLaborOperationCode":{"type":"string"}}},"JobTechnicianSubModel":{"type":"object","properties":{"Technician":{"type":"string"}}},"ServiceJobPart":{"type":"object","properties":{"ServiceJobPartsId":{"format":"int32","type":"integer"},"InvoiceNumber":{"format":"int32","type":"integer"},"JobNumber":{"format":"int32","type":"integer"},"PartStockNumber":{"type":"string"},"Quantity":{"format":"int32","type":"integer"},"Description":{"type":"string"},"ListPrice":{"format":"double","type":"number"},"NetPrice":{"format":"double","type":"number"},"Total":{"format":"double","type":"number"},"PartCost":{"format":"double","type":"number"},"PartInventoryId":{"format":"int32","type":"integer"}}},"SideNoteSubModel":{"type":"object","properties":{"AccountNumber":{"format":"int32","type":"integer"},"DealId":{"format":"int32","type":"integer"},"Description":{"type":"string"},"LoanAmount":{"format":"double","type":"number"},"LoanRate":{"format":"float","type":"number"},"LoanDate":{"format":"date-time","type":"string"},"AccountType":{"type":"string"},"Schedule":{"type":"array","items":{"$ref":"#/definitions/SideNoteScheduleSubModel"}},"ImportedSideNoteID":{"type":"string"}}},"SideNoteScheduleSubModel":{"type":"object","properties":{"NumberPayments":{"format":"int32","type":"integer"},"Payment":{"format":"double","type":"number"},"Frequency":{"type":"string"},"FirstPaymentDate":{"format":"date-time","type":"string"}}},"SideNoteDescriptionSubModel":{"type":"object","properties":{"Description":{"type":"string"}}},"SideNotePaymentSubModel":{"type":"object","properties":{"AccountNumber":{"format":"int32","type":"integer"},"DealId":{"format":"int32","type":"integer"},"DealPaymentId":{"format":"int32","type":"integer"},"SideNoteScheduleId":{"format":"int32","type":"integer"},"Amount":{"format":"double","type":"number"},"DatePaid":{"format":"date-time","type":"string"},"PaymentType":{"type":"string"}}},"SMSSubModel":{"type":"object","properties":{"To":{"type":"string"},"LotName":{"type":"string"},"Text":{"type":"string"},"AccountNumber":{"format":"int32","type":"integer"}}},"TaskModel":{"type":"object","properties":{"TaskId":{"format":"int32","type":"integer"},"AccountNumber":{"format":"int32","type":"integer"},"DueDate":{"format":"date-time","type":"string"},"Note":{"type":"string"},"AssignedTo":{"format":"int32","type":"integer"},"AssignedBy":{"format":"int32","type":"integer"},"Completed":{"type":"boolean"},"CreatedBy":{"format":"int32","type":"integer"},"CreatedOn":{"format":"date-time","type":"string"},"ModifiedBy":{"format":"int32","type":"integer"},"ModifiedOn":{"format":"date-time","type":"string"},"BorrowerCode":{"format":"int32","type":"integer"},"BorrowerFullName":{"type":"string"},"AssigneeFullName":{"type":"string"}}},"Ticket":{"type":"object","properties":{"Id":{"type":"string"},"Subject":{"type":"string"},"RegisteredOn":{"format":"date-time","type":"string"},"Symptoms":{"type":"string"},"Origin":{"type":"string"},"AccountId":{"type":"string"},"Status":{"type":"string"},"Priority":{"type":"string"},"Base64Attachment":{"type":"string"}}},"Comment":{"type":"object","properties":{"commentId":{"type":"string"},"commentText":{"type":"string"}}},"UserPasswordResetRequest":{"type":"object","properties":{"UserName":{"type":"string"}}},"UserPasswordReset":{"type":"object","properties":{"Token":{"type":"string"},"Password":{"type":"string"}}},"UserPasswordChange":{"type":"object","properties":{"OldPassword":{"type":"string"},"NewPassword":{"type":"string"},"UserName":{"type":"string"}}},"UserPasswordChangeAdminRequest":{"type":"object","properties":{"UserName":{"type":"string"},"NewPassword":{"type":"string"}}},"Vendor":{"type":"object","properties":{"VendorName":{"type":"string"},"VendorAddress":{"type":"string"},"VendorCity":{"type":"string"},"VendorState":{"type":"string"},"VendorZip":{"type":"string"},"VendorEmail":{"type":"string"},"VendorPhone":{"type":"string"},"VendorFax":{"type":"string"},"VendorType":{"type":"string"},"VendorContact":{"type":"string"},"ReservePercentage":{"format":"double","type":"number"},"BuyRate":{"format":"double","type":"number"},"BHPHLot":{"type":"string"},"VendorFEDNID":{"type":"string"},"VendorFormula":{"type":"string"},"VendorCRNumber":{"type":"string"},"VendorID":{"format":"int64","type":"integer"},"VendorNotes":{"type":"string"},"VendorFee":{"format":"double","type":"number"},"CurtailmentFee":{"format":"double","type":"number"},"FloorRate":{"format":"double","type":"number"},"InterestRate":{"format":"double","type":"number"},"Active":{"type":"boolean"},"VendorNAICCode":{"type":"string"},"CurtailmentDays":{"format":"int32","type":"integer"},"CurtailmentPercentage":{"format":"double","type":"number"},"CurtailmentDueDays":{"format":"int32","type":"integer"},"VendorCode":{"type":"string"}}},"VendorCategory":{"type":"object","properties":{"Category":{"type":"string"},"VendorCategoriesId":{"format":"int32","type":"integer"}}},"VendorList":{"type":"object","properties":{"VendorName":{"type":"string"},"VendorAddress":{"type":"string"},"VendorCity":{"type":"string"},"VendorState":{"type":"string"},"VendorZip":{"type":"string"},"VendorEmail":{"type":"string"},"VendorPhone":{"type":"string"},"VendorFax":{"type":"string"},"VendorType":{"type":"string"},"VendorContact":{"type":"string"},"ReservePercentage":{"format":"float","type":"number"},"BuyRate":{"format":"float","type":"number"},"BHPHLot":{"type":"string"},"VendorFEDNID":{"type":"string"},"VendorFormula":{"type":"string"},"VendorCRNumber":{"type":"string"},"VendorID":{"format":"int64","type":"integer"},"VendorNotes":{"type":"string"},"VendorFee":{"format":"double","type":"number"},"CurtailmentFee":{"format":"double","type":"number"},"FloorRate":{"format":"float","type":"number"},"InterestRate":{"format":"float","type":"number"},"Active":{"type":"boolean"},"VendorNAICCode":{"type":"string"},"CurtailmentDays":{"format":"int32","type":"integer"},"CurtailmentPercentage":{"format":"float","type":"number"},"CurtailmentDueDays":{"format":"int32","type":"integer"},"VendorCode":{"type":"string"}}}}}