Skip to content
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

API - Add location type to API response for MHR registration table #18127

Closed
mstanton1 opened this issue Oct 10, 2023 · 1 comment
Closed

API - Add location type to API response for MHR registration table #18127

mstanton1 opened this issue Oct 10, 2023 · 1 comment
Assignees
Labels

Comments

@mstanton1
Copy link
Collaborator

mstanton1 commented Oct 10, 2023

In the MHR registration table there are restrictions on residential exemption availability based upon location type. In order to be able to apply these restrictions add location type to the API response.

Add locationType to GET /mhr/api/v1/registrations and GET /mhr/api/v1/other-registrations/{mhr_number} responses.

For example:
{
"changes": [
{
"clientReferenceId": "",
"createDateTime": "2009-03-27T15:35:26-07:00",
"documentId": "10046589",
"documentRegistrationNumber": "00317434",
"inUserList": false,
"locationType": "MH_PARK",
"mhrNumber": "088766",
"ownerNames": "JUSTINE ASHLEY DAYE,\nJOHN HENRY MELNYCHUK,\nGAIL MARIE MELNYCHUK",
"path": "",
"registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
"registrationType": "TRANS",
"statusType": "ACTIVE",
"submittingParty": "NORTHERN REGISTRY SERVICES (2002)",
"username": "KELLY CROSS"
},
{
"clientReferenceId": "",
"createDateTime": "2003-08-18T11:51:19-07:00",
"documentId": "50265014",
"documentRegistrationNumber": "00225024",
"inUserList": false,
"locationType": "MH_PARK",
"mhrNumber": "088766",
"ownerNames": "JUSTINE ASHLEY DAYE,\nJOHN HENRY MELNYCHUK,\nGAIL MARIE MELNYCHUK",
"path": "",
"registrationDescription": "TRANSPORT PERMIT",
"registrationType": "PERMIT",
"statusType": "ACTIVE",
"submittingParty": "DAVID DISHER",
"username": ""
},
{
"clientReferenceId": "",
"createDateTime": "2011-08-19T11:54:44-07:00",
"documentId": "50763912",
"documentRegistrationNumber": "00344828",
"inUserList": false,
"locationType": "MH_PARK",
"mhrNumber": "088766",
"ownerNames": "JUSTINE ASHLEY DAYE,\nJOHN HENRY MELNYCHUK,\nGAIL MARIE MELNYCHUK",
"path": "",
"registrationDescription": "REPOSSESSION INVOLUNTARY",
"registrationType": "REG_STAFF_ADMIN",
"statusType": "ACTIVE",
"submittingParty": "DYE & DURHAM COMPANY INC.",
"username": ""
},
{
"clientReferenceId": "",
"createDateTime": "2007-05-18T13:29:02-07:00",
"documentId": "90008986",
"documentRegistrationNumber": "00288907",
"inUserList": false,
"locationType": "MH_PARK",
"mhrNumber": "088766",
"ownerNames": "JUSTINE ASHLEY DAYE,\nJOHN HENRY MELNYCHUK,\nGAIL MARIE MELNYCHUK",
"path": "",
"registrationDescription": "TRANSPORT PERMIT",
"registrationType": "PERMIT",
"statusType": "ACTIVE",
"submittingParty": "COREA HILLTON",
"username": ""
},
{
"clientReferenceId": "",
"createDateTime": "2018-06-21T09:51:19-07:00",
"documentId": "10107613",
"documentRegistrationNumber": "00421963",
"inUserList": false,
"locationType": "MH_PARK",
"mhrNumber": "088766",
"ownerNames": "JUSTINE ASHLEY DAYE,\nJOHN HENRY MELNYCHUK,\nGAIL MARIE MELNYCHUK",
"path": "",
"registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
"registrationType": "TRANS",
"statusType": "ACTIVE",
"submittingParty": "ALLEN & ASSOCIATES",
"username": "TAMMY YOUNG"
}
],
"clientReferenceId": "",
"createDateTime": "2003-08-18T11:50:09-07:00",
"documentId": "50265005",
"documentRegistrationNumber": "00225023",
"hasCaution": false,
"inUserList": false,
"lienRegistrationType": "",
"locationType": "MH_PARK",
"mhrNumber": "088766",
"ownerNames": "JUSTINE ASHLEY DAYE,\nJOHN HENRY MELNYCHUK,\nGAIL MARIE MELNYCHUK",
"path": "",
"registrationDescription": "MANUFACTURED HOME REGISTRATION",
"registrationType": "MHREG",
"statusType": "ACTIVE",
"submittingParty": "DAVID LARRY ROY DISHER",
"username": ""
}

@chdivyareddy
Copy link
Collaborator

Verified in DEV!

{
    "changes": [
        {
            "clientReferenceId": "",
            "createDateTime": "2023-09-25T17:05:55-07:00",
            "documentId": "11211199",
            "documentRegistrationNumber": "00501833",
            "inUserList": true,
            "locationType": "MH_PARK",
            "mhrNumber": "107819",
            "ownerNames": "OWER ONE,\nNEW OWNER",
            "path": "/mhr/api/v1/documents/11211199",
            "registrationDescription": "TRANSFER TO EXECUTOR – ESTATE UNDER $25,000 WITH WILL",
            "registrationType": "TRANS_AFFIDAVIT",
            "statusType": "ACTIVE",
            "submittingParty": "EATON'S CREDIT OFFICE",
            "username": "BUSINESS REGISTRY TEST 1"
        },
        {
            "clientReferenceId": "",
            "createDateTime": "2023-10-12T13:58:28-07:00",
            "documentId": "11122111",
            "documentRegistrationNumber": "00501910",
            "inUserList": true,
            "locationType": "MH_PARK",
            "mhrNumber": "107819",
            "ownerNames": "OWER ONE,\nNEW OWNER",
            "path": "/mhr/api/v1/documents/11122111",
            "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
            "registrationType": "TRANS",
            "statusType": "ACTIVE",
            "submittingParty": "EATON'S CREDIT OFFICE",
            "username": "BUSINESS REGISTRY TEST 1"
        }
    ],
    "clientReferenceId": "",
    "createDateTime": "2023-09-21T10:40:43-07:00",
    "documentId": "22123131",
    "documentRegistrationNumber": "00501811",
    "hasCaution": false,
    "inUserList": true,
    "lienRegistrationType": "",
    "locationType": "MH_PARK",
    "mhrNumber": "107819",
    "ownerNames": "OWER ONE,\nNEW OWNER",
    "path": "/mhr/api/v1/registrations/107819",
    "registrationDescription": "MANUFACTURED HOME REGISTRATION",
    "registrationType": "MHREG",
    "statusType": "ACTIVE",
    "submittingParty": "EASTWOOD & COMPANY",
    "username": "BUSINESS REGISTRY TEST 1"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants