{"openapi":"3.0.0","info":{"title":"AHRA - CurRent API","description":"AHRA <=> CurRent API","contact":{"email":"gudalam@dss.nyc.gov"},"version":"4"},"servers":[{"url":"https://lmsstg.hra.nycnet","description":"Staging Server"},{"url":"https://lms.hra.nycnet","description":"Production Server"}],"paths":{"/ahra/client/stepup":{"post":{"tags":["client"],"summary":"step up client","description":"Step up client by Passing following (ordered respective to their __Priority__) for  `Case Head Only` only \n  1. LMSCaseNumber\n  2. CIN + DOB\n  3. SSN + DOB \n\nif none found matching above criteria (for No. 2 and 3 Only), LMS will try to match SSN + DOB of __oldest child__ and return __Case Head__.\n","operationId":"stepupClient","requestBody":{"description":"step up or get client parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StepupRequest"}}}},"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResultWithClientDetails"}}}},"400":{"description":"bad input parameter"},"401":{"description":"unauthorized request"},"500":{"description":"unexpected error"}}}},"/ahra/client/application":{"post":{"tags":["client"],"summary":"submit new application","description":"By passing in the appropriate application data, you can submit new or renew application in the fair fares system\n","operationId":"submitapplication","requestBody":{"description":"client application","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientApplicationRequest"}}}},"responses":{"200":{"description":"application reference number","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResult"}}}},"400":{"description":"bad input parameter"},"401":{"description":"unauthorized request"},"500":{"description":"unexpected error"}}}},"/ahra/client/submitdocument":{"post":{"tags":["client"],"summary":"submit new document for client","description":"By passing in the appropriate document data, you can submit new document\n","operationId":"submitdocument","requestBody":{"description":"document details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitDocumentRequest"}}}},"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResult"}}}},"400":{"description":"bad input parameter"},"401":{"description":"unauthorized request"},"500":{"description":"unexpected error"}}}}},"components":{"schemas":{"SubmitDocumentRequest":{"required":["auth","jsonRequestObject"],"type":"object","properties":{"auth":{"$ref":"#/components/schemas/WrapperObject"},"jsonRequestObject":{"$ref":"#/components/schemas/application_submitdocument_body"}},"additionalProperties":false},"StepupRequest":{"required":["auth","jsonRequestObject"],"type":"object","properties":{"auth":{"$ref":"#/components/schemas/WrapperObject"},"jsonRequestObject":{"$ref":"#/components/schemas/GetClients"}},"additionalProperties":false},"ClientApplicationRequest":{"required":["auth","jsonRequestObject"],"type":"object","properties":{"auth":{"$ref":"#/components/schemas/WrapperObject"},"jsonRequestObject":{"$ref":"#/components/schemas/ClientApplication"}},"additionalProperties":false},"GetClients":{"required":["birthDate"],"type":"object","properties":{"ssn":{"pattern":"^\\d{3}-\\d{2}-\\d{4}$","type":"string","example":"123-45-6789"},"cin":{"maxLength":8,"minLength":8,"type":"string","example":"ZY11111Y"},"birthDate":{"pattern":"^([0-9]{4})-(?:[0-9]{2})-([0-9]{2})$","type":"string","example":"2016-08-29"},"lmscasenumber":{"minLength":6,"type":"string","example":"ABZY11111Y"}},"additionalProperties":false},"WrapperObject":{"required":["password","transactionId","username"],"type":"object","properties":{"username":{"maxLength":20,"minLength":1,"type":"string","example":"ahralms"},"password":{"maxLength":20,"minLength":1,"type":"string","example":"pwd"},"transactionId":{"maxLength":40,"minLength":1,"type":"string","example":"txnid"}},"additionalProperties":false},"SuccessResult":{"type":"object","properties":{"success":{"type":"boolean"},"transactionId":{"maxLength":40,"minLength":1,"type":"string","example":"txnid"},"errorcode":{"type":"string"},"errormessage":{"type":"string"}},"additionalProperties":false},"SuccessResultWithClientDetails":{"required":["success"],"type":"object","properties":{"success":{"type":"boolean"},"transactionId":{"maxLength":40,"minLength":1,"type":"string","example":"txnid"},"client":{"$ref":"#/components/schemas/ClientDetails"}},"additionalProperties":false},"ClientStatus":{"type":"string","description":"2\tActive 3\tInactive ","nullable":true},"DocType":{"type":"string","description":"3=Award certificate/letter\t4=Benefit Check\t5=Birth/Hospital Certificate\t9=Court Judgement or Stipulation\t13=Employment Letter\t15=Eviction Notice\t16=Foreclosure Proceeding\t17=Form W-9\t22=Lease or Rental Agreement\t23=Legal Aid/Advocate request for arrears payment\t25=Mortgage Statement\t27=Official correspondence from agency administering grand/award\t28=Order to Show Cause\t29=Other Rental Assistance Document\t31=Paystubs\t32=Photo ID or Driver's License\t35=Property Deed\t37=Rent Breakdown\t42=Stipulation of settlement with lease provisions\t44=US Passport\t45=Unemployment Insurance Benefits (UIB)\t46=Vacate Order\t47=Veterans I.D\t48=Water/Sewer Bill\t49=Change of Payment Instruction\t52=Provider Letter or Email\t64=Court Judgement or Stipulation\t65=Landlord Breakdown\t76=Proof of leaving for health/safety reasons\t77=Written Agreement from Primary Tenant\t97=Shelter Residence Letter\t110=CityFHEPS Renewal Request\t113=School letter (if added member is under 18 years of age)\t114=Proof of Address\t144=Change in Property Ownership"},"VerificationType":{"type":"string","description":"1=Identity\t2=Earned Income\t3=Unearned Income\t4=Veteran Status\t5=Eviction\t6=Lease\t11=Arrears Document\t13=Owner W9\t14=Property Ownership\t15=Referral\t20=HPD Registration/Authorization\t22=Optional\t23=Proof of Ownership or Tenancy\t25=Primary Occupant Statement\t26=Payee/Payment Change\t28=Other\t29=Good Cause\t31=Reasonable Accommodation\t32=Unpaid Rent\t36=Residency Rights\t41=Shelter Residence Letter\t43=Eviction\t1051=Host W9\t45=CityFHEPS Renewal"},"ClientDetails":{"required":["cansubmitrenewal","isdv","lmscasenumber","members","subsidycasestatus","subsidycounter"],"type":"object","properties":{"wmscasenumber":{"maxLength":10,"minLength":10,"type":"string","example":"ABZY11111Y"},"lmscasenumber":{"minLength":6,"type":"string","example":"ABZY11111Y"},"isdv":{"type":"boolean","example":false},"members":{"type":"array","items":{"$ref":"#/components/schemas/MembersResponse"}},"cansubmitrenewal":{"type":"boolean","description":"this flag states if client can submit renewal application"},"subsidycounter":{"type":"integer"},"application":{"$ref":"#/components/schemas/Application"},"subsidycasestatus":{"$ref":"#/components/schemas/ClientStatus"},"lease":{"$ref":"#/components/schemas/Lease"},"contactDetails":{"$ref":"#/components/schemas/ContactDetails"},"address":{"$ref":"#/components/schemas/ResidentialAddress"},"renewalstatus":{"$ref":"#/components/schemas/RenewalStatusData"},"pendingworkflow":{"type":"boolean","example":false}},"additionalProperties":false},"MembersResponse":{"type":"object","properties":{"memberdetails":{"$ref":"#/components/schemas/Members"},"earnedincome":{"type":"array","items":{"$ref":"#/components/schemas/EarnedIncomeDetails"}},"unearnedincome":{"type":"array","items":{"$ref":"#/components/schemas/UnEarnedIncomeDetails"}}},"additionalProperties":false},"Members":{"required":["birthDate","firstname","headofhousehold","lastname","relationshiptohoh"],"type":"object","properties":{"memberid":{"type":"integer"},"headofhousehold":{"type":"boolean"},"firstname":{"maxLength":50,"minLength":1,"type":"string","example":"John"},"lastname":{"maxLength":50,"minLength":1,"type":"string","example":"Carter"},"middlename":{"maxLength":50,"minLength":1,"type":"string","example":"Y"},"birthDate":{"pattern":"^([0-9]{4})-(?:[0-9]{2})-([0-9]{2})$","type":"string","example":"2018-03-20"},"gender":{"$ref":"#/components/schemas/Gender"},"ssn":{"pattern":"^\\d{3}-\\d{2}-\\d{4}$","type":"string","example":"123-45-6789"},"cin":{"maxLength":8,"minLength":8,"type":"string","example":"ZY11111Y"},"individualcastatus":{"$ref":"#/components/schemas/CAStatus"},"relationshiptohoh":{"$ref":"#/components/schemas/Relationship"}},"additionalProperties":false},"RenewalStatus":{"type":"string","description":"1\tPENDING 2\tRequested 3\tInitiated 4\tCompleted 6\tInactive"},"RenewalWorkFlowStatus":{"type":"string","description":"1\tPending Decision 2\tPending Follow-up 3\tApproved 4\tDenied 5\tPending Submission"},"Relationship":{"type":"string","description":"1\tSelf 2\tParent 3\tSpouse 4\tChild 5\tGrandchild 6\tGrandparent 7\tSibling 8\tCousin 9\tAunt/Uncle 10\tNiece/Nephew 11\tNot Related 12\tOther 13\tUnknown"},"CAStatus":{"type":"string","description":"1\tAC\tActive 2\tSN\tSanction 3\tSI\tSingle Issue 4\tRJ\tRejected 5\tWD\tWithdrawn 6\tDD\tDeceased 7\tCL\tClosed 8\tAP\tApplied 1001\tNA\tNOT APPLYING 1002\tRM\tREMOVED"},"RenewalStatusData":{"required":["status","workflowstatus"],"type":"object","properties":{"status":{"$ref":"#/components/schemas/RenewalStatus"},"workflowstatus":{"$ref":"#/components/schemas/RenewalWorkFlowStatus"}},"additionalProperties":false},"Lease":{"required":["EndDate","RenewalStartDate","Rent","StartDate"],"type":"object","properties":{"StartDate":{"pattern":"^([0-9]{4})-(?:[0-9]{2})-([0-9]{2})$","type":"string","example":"2018-03-20"},"EndDate":{"pattern":"^([0-9]{4})-(?:[0-9]{2})-([0-9]{2})$","type":"string","example":"2018-03-20"},"RenewalStartDate":{"pattern":"^([0-9]{4})-(?:[0-9]{2})-([0-9]{2})$","type":"string","example":"2018-03-20"},"Rent":{"type":"string"}},"additionalProperties":false},"Gender":{"type":"string","description":"1\tFemale 2\tMale 3\tNon-Binary 4\tAnother Gender 5\tUnknown 6\tPrefer Not to Say"},"TextMessageToCode":{"type":"string","description":"1 Primary 2 Alternate 3 NoText"},"ResidentialAddress":{"required":["city","stateCode","streetName","zipCode"],"type":"object","properties":{"streetName":{"maxLength":100,"minLength":1,"type":"string"},"apartment":{"maxLength":50,"type":"string"},"city":{"maxLength":20,"minLength":1,"type":"string","example":"BRONX"},"stateCode":{"$ref":"#/components/schemas/State"},"zipCode":{"maxLength":10,"minLength":5,"type":"string","example":"11030"}},"additionalProperties":false},"State":{"type":"string","description":"1\tAL\tAlabama 2\tAK\tAlaska 3\tAZ\tArizona 4\tAR\tArkansas 5\tCA\tCalifornia 6\tCO\tColorado 7\tCT\tConnecticut 8\tDE\tDelaware 9\tDC\tDistrict of Columbia 10\tFL\tFlorida 11\tGA\tGeorgia 12\tHI\tHawaii 13\tID\tIdaho 14\tIL\tIllinois 15\tIN\tIndiana 16\tIA\tIowa 17\tKS\tKansas 18\tKY\tKentucky 19\tLA\tLouisiana 20\tME\tMaine 21\tMD\tMaryland 22\tMA\tMassachusetts 23\tMI\tMichigan 24\tMN\tMinnesota 25\tMS\tMississippi 26\tMO\tMissouri 27\tMT\tMontana 28\tNE\tNebraska 29\tNV\tNevada 30\tNH\tNew Hampshire 31\tNJ\tNew Jersey 32\tNM\tNew Mexico 33\tNY\tNew York 34\tNC\tNorth Carolina 35\tND\tNorth Dakota 36\tOH\tOhio 37\tOK\tOklahoma 38\tOR\tOregon 39\tPA\tPennsylvania 40\tPR\tPuerto Rico 41\tRI\tRhode Island 42\tSC\tSouth Carolina 43\tSD\tSouth Dakota 44\tTN\tTennessee 45\tTX\tTexas 46\tUT\tUtah 47\tVT\tVermont 48\tVA\tVirginia 49\tWA\tWashington 50\tWV\tWest Virginia 51\tWI\tWisconsin 52\tWY\tWyoming"},"ContactDetails":{"type":"object","properties":{"primaryPhone":{"maxLength":10,"minLength":10,"type":"string","example":"1234567890"},"emergencyPhone":{"maxLength":10,"minLength":10,"type":"string","example":"1234567890"},"emailAddress":{"maxLength":50,"type":"string","format":"email"},"sendTextMessagesTo":{"$ref":"#/components/schemas/TextMessageToCode"}},"additionalProperties":false},"EarnedIncomeDetails":{"required":["employer","paymentamount","paymentschedule","typeofincome"],"type":"object","properties":{"earnedincomeid":{"type":"integer"},"hours":{"maximum":2000,"minimum":1,"type":"integer"},"employer":{"maxLength":50,"minLength":1,"type":"string"},"paymentschedule":{"$ref":"#/components/schemas/PaymentSchedule"},"paymentamount":{"type":"string"},"typeofincome":{"$ref":"#/components/schemas/EarnedTypeOfIncome"}},"additionalProperties":false},"UnEarnedIncomeDetails":{"required":["paymentamount","paymentschedule","typeofincome"],"type":"object","properties":{"unearnedincomeid":{"type":"integer"},"paymentschedule":{"$ref":"#/components/schemas/PaymentSchedule"},"paymentamount":{"type":"string"},"typeofincome":{"$ref":"#/components/schemas/UnEarnedTypeOfIncome"}},"additionalProperties":false},"PaymentSchedule":{"type":"string","description":"1\tWeekly 2\tBi-weekly 3\tMonthly 4\tSemi-monthly 5\tAnnually  6\tSemi-annually"},"EarnedTypeOfIncome":{"type":"string","description":"1\tSalary, Wages 9\tOther Earned Income"},"UnEarnedTypeOfIncome":{"type":"string","description":"2\tSSI Benefit 3\tCourt Ordered Child Support Payment 4\tSocial Security Disability Benefit 5\tSocial Security Retirement Benefit 6\tSocial Security Depentent Benefit 7\tUnemployment Insurance Benefits 8\tChild Support Bonus Payment 10\tOther Unearned Income"},"ClientApplication":{"required":["lmscasenumber","members","referencenumber"],"type":"object","properties":{"referencenumber":{"maxLength":20,"minLength":1,"type":"string","description":"Confirmation number generated by AHRA on application submission"},"lmscasenumber":{"minLength":6,"type":"string","example":"ABZY11111Y"},"members":{"type":"array","items":{"$ref":"#/components/schemas/MembersResponse"}},"goodcausereason":{"type":"array","description":"1=Health challenges for you or someone in your household that make it difficult for you to find suitable housing\t 2=Mental health issues for you or someone in your household that make it difficult for you to find suitable housing\t3=Loss of employment\t4=Changes in household composition that has led to loss of income\t5=Your income is not high enough to be able to pay the entire rent\t6=You have a fixed income that cannot cover the rent\t7=No other housing options are available to you if you lose your current housing\t8=Household includes a member who is 60+ years old\t9=Household includes a member who is disabled or on the SSI track","items":{"type":"string"}},"lease":{"$ref":"#/components/schemas/LeaseResponse"},"contactDetails":{"$ref":"#/components/schemas/ContactDetails"},"address":{"$ref":"#/components/schemas/ResidentialAddress"},"SiteId":{"maxLength":4,"minLength":4,"type":"string","example":"00AB"},"SiteIp":{"maxLength":39,"minLength":7,"type":"string","example":"255.255.255.255"}},"additionalProperties":false},"LeaseResponse":{"type":"object","properties":{"arrears":{"type":"boolean"},"Rent":{"type":"string"}},"additionalProperties":false},"application_submitdocument_body":{"required":["docname","doctype","docuploaddatetime","lmscasenumber"],"type":"object","properties":{"pdfDocument":{"type":"string"},"referencenumber":{"maxLength":20,"minLength":1,"type":"string","description":"Confirmation number generated by AHRA on application submission"},"lmscasenumber":{"minLength":6,"type":"string","example":"ABZY11111Y"},"doctype":{"$ref":"#/components/schemas/DocType"},"verificationtype":{"$ref":"#/components/schemas/VerificationType"},"docuploaddatetime":{"type":"string","example":"2012-03-19T07:22:00Z"},"docname":{"maxLength":100,"minLength":1,"type":"string","description":"CityFHEPS_lmscasenumber_doctype_txnid_datetime.pdf","example":"UniqueName.pdf"}},"additionalProperties":false},"Application":{"title":"application","required":["applicationStatus","applicationWorkflowStatus","applicationid","lastUpdatedDate"],"type":"object","properties":{"applicationStatus":{"$ref":"#/components/schemas/ApplicationStatus"},"applicationid":{"type":"integer","format":"int64"},"lastUpdatedDate":{"pattern":"^([0-9]{4})-(?:[0-9]{2})-([0-9]{2})$","type":"string","example":"2026-05-11","x-stoplight":{"id":"b4rdx04now87o"}},"applicationWorkflowStatus":{"$ref":"#/components/schemas/ApplicationWorkFlowStatus"}},"description":"Current active/initiated application status"},"ApplicationWorkFlowStatus":{"type":"string","description":"1\tPending Decision 2\tPending Follow-up 3\tApproved 4\tDenied 5\tPending Submission"},"ApplicationStatus":{"type":"string","description":"2\tRecommended Approval  3\tRecommended Denial  4\tPending Follow-up  5\tPending Follow-up (Provider)  6\tPending Review 7\tPending Submission 8\tPending Decision 9\tFinal Approved 10\tFinal Denied 11\tWithdrawn 12\tPending Assessment 13\tPending QA "}}}}