-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MHR - API validation for the location data #15933
Comments
Front end restricts this scenario from happening. To look at similar corresponding validation on the UI. |
@mstanton1 to attach rules on what different combinations of data are allowed. |
@doug-lovett I couldn't find the document I was thinking of so created the summary below. Please let me know if additional info is needed. Thanks! https://app.zenhub.com/files/157936592/0392b963-5781-41f9-a99b-9c369466cf41/download |
@mstanton1 Thank you. |
Verified in DEV using Postman!
https://app.zenhub.com/files/157936592/9a0ff351-10d6-4589-bc41-085abb6b8463/download
https://app.zenhub.com/files/157936592/3ff78039-9873-4527-890a-6a2e493b0e3c/download |
Developer Note - validation rules by API location type from attached document
MANUFACTURER
Required: dealerName
Allowed: additionalDescription
MH_PARK
Required: parkName, pad
Allowed: additionalDescription
RESERVE
Required: bandName, reserveNumber
Allowed: additionalDescription, pidNumber, legalDescription, all LTSA detail fields {lot, parcel, block,...}
STRATA
Required: pidNumber or manual legal description: {lot, landDistrict, plan}
Allowed: additionalDescription, legalDescription, other LTSA detail fields
OTHER
Required: pidNumber or manual legal description: either {lot, landDistrict, plan} or {landDistrict, districtLot}
Allowed: additionalDescription, legalDescription, other LTSA detail fields
Eg of MHR number: 150102 in TEST
https://app.zenhub.com/files/157936592/11e4e87b-1ea9-42eb-bb5c-f6129d529858/download
Payload:
Note: Only one location type is accepted through the UI for the filing
The text was updated successfully, but these errors were encountered: