bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

MHR API - Modifications to allow history views #21461

Closed arlentees closed 4 months ago

arlentees commented 5 months ago

Create new staff only API endpoint to get the complete history of a manufactured home.

Developer Note: Add new endpoint /mhr/api/v1/registrations/history/{mhrNumber} with optional boolean request parameter registrationView to get the home history as registrations in ascending order by timestamp (most recent last): /mhr/api/v1/registrations/history/{mhrNumber}?registrationView=true

Moving to done: track QA with 21864 updates from UX design.

LizGovier commented 4 months ago

Hey team! Please add your planning poker estimate with Zenhub @cameron-eyds @chdivyareddy @dimak1 @doug-lovett

doug-lovett commented 4 months ago

Default view request GET https://bcregistry-dev.apigee.net/mhr/api/v1/registrations/history/108343 Response example:

{
  "descriptions": [
    {
      "baseInformation": {
        "circa": false,
        "make": "Watson",
        "model": "Duchess",
        "year": 2014
      },
      "createDateTime": "2024-05-27T20:02:38+00:00",
      "documentId": "12382738",
      "documentRegistrationNumber": "00550878",
      "manufacturer": "Starline",
      "registrationDescription": "MANUFACTURED HOME REGISTRATION",
      "sectionCount": 1,
      "sections": [
        {
          "lengthFeet": 52,
          "lengthInches": 9,
          "serialNumber": "BC893489234",
          "widthFeet": 27,
          "widthInches": 6
        }
      ],
      "status": "ACTIVE"
    }
  ],
  "locations": [
    {
      "address": {
        "city": "PITT MEADOWS",
        "country": "CA",
        "postalCode": "V3Y 1T2",
        "region": "BC",
        "street": "32-19032 ADVENT RD"
      },
      "createDateTime": "2024-05-27T20:02:38+00:00",
      "dealerName": "Dealer abc",
      "documentId": "12382738",
      "documentRegistrationNumber": "00550878",
      "leaveProvince": false,
      "locationId": 200946,
      "locationType": "MANUFACTURER",
      "registrationDescription": "MANUFACTURED HOME REGISTRATION",
      "status": "ACTIVE",
      "taxCertificate": false
    }
  ],
  "mhrNumber": "108343",
  "ownerGroups": [
    {
      "createDateTime": "2024-05-27T20:02:38+00:00",
      "documentId": "12382738",
      "documentRegistrationNumber": "00550878",
      "groupId": 1,
      "owners": [
        {
          "address": {
            "city": "EDMONTON",
            "country": "CA",
            "postalCode": "T6C 1Z9",
            "region": "AB",
            "street": "326-8411 91 ST NW"
          },
          "individualName": {
            "first": "DERICK",
            "last": "OLIVER"
          },
          "ownerId": 994313,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2347932849",
          "status": "PREVIOUS",
          "type": "SOLE"
        }
      ],
      "registrationDescription": "MANUFACTURED HOME REGISTRATION",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "SOLE"
    },
    {
      "changeType": "DELETED",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "groupId": 1,
      "owners": [
        {
          "address": {
            "city": "EDMONTON",
            "country": "CA",
            "postalCode": "T6C 1Z9",
            "region": "AB",
            "street": "326-8411 91 ST NW"
          },
          "individualName": {
            "first": "DERICK",
            "last": "OLIVER"
          },
          "ownerId": 994313,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2347932849",
          "status": "PREVIOUS",
          "type": "SOLE"
        }
      ],
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "SOLE"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "groupId": 2,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "EDMONTON",
            "country": "CA",
            "postalCode": "T6C 1Z9",
            "region": "AB",
            "street": "326-8411 91 ST NW"
          },
          "individualName": {
            "first": "DERICK",
            "last": "OLIVER"
          },
          "ownerId": 994315,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2347932849",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "groupId": 3,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "PITT MEADOWS",
            "country": "CA",
            "postalCode": "V3Y 1T2",
            "region": "BC",
            "street": "25-19032 ADVENT RD"
          },
          "individualName": {
            "first": "RICKY",
            "last": "BENTLEY"
          },
          "ownerId": 994316,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2985928592",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "groupId": 4,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "TORONTO",
            "country": "CA",
            "postalCode": "M5N 2P3",
            "region": "ON",
            "street": "423-2121 BATHURST ST"
          },
          "individualName": {
            "first": "JENNA",
            "last": "FARLEY"
          },
          "ownerId": 994317,
          "partyType": "OWNER_IND",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "groupId": 5,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "SCARBOROUGH",
            "country": "CA",
            "postalCode": "M1W 2R9",
            "region": "ON",
            "street": "325-3333 FINCH AVE E"
          },
          "organizationName": "ABC VENTURES LTD.",
          "ownerId": 994318,
          "partyType": "OWNER_BUS",
          "phoneExtension": "1",
          "phoneNumber": "3758239489",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "groupId": 6,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "TORONTO",
            "country": "CA",
            "postalCode": "M5N 2P3",
            "region": "ON",
            "street": "423-2121 BATHURST ST"
          },
          "description": "EXECUTOR OF THE WILL OF DERICK OLIVER, DECEASED",
          "individualName": {
            "first": "ADRIAN",
            "last": "WILSON"
          },
          "ownerId": 994320,
          "partyType": "EXECUTOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "groupId": 7,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "CALGARY",
            "country": "CA",
            "postalCode": "T2N 4N7",
            "region": "AB",
            "street": "423-1505 8 AVE NW"
          },
          "description": "ADMINISTRATOR OF THE ESTATE OF JENNA FARLEY, DECEASED",
          "individualName": {
            "first": "AMALIA",
            "last": "BLANCHARD"
          },
          "ownerId": 994322,
          "partyType": "ADMINISTRATOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "groupId": 8,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "HAMILTON",
            "country": "CA",
            "postalCode": "L9C 1V8",
            "region": "ON",
            "street": "327-30 MOHAWK RD W"
          },
          "description": "EXECUTOR OF THE WILL OF RICKY BENTLEY, DECEASED",
          "individualName": {
            "first": "SAVANNAH",
            "last": "MAXWELL"
          },
          "ownerId": 994324,
          "partyType": "EXECUTOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "DELETED",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "groupId": 2,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "EDMONTON",
            "country": "CA",
            "postalCode": "T6C 1Z9",
            "region": "AB",
            "street": "326-8411 91 ST NW"
          },
          "individualName": {
            "first": "DERICK",
            "last": "OLIVER"
          },
          "ownerId": 994315,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2347932849",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "groupId": 2,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "EDMONTON",
            "country": "CA",
            "postalCode": "T6C 1Z9",
            "region": "AB",
            "street": "326-8411 91 ST NW"
          },
          "individualName": {
            "first": "DERICK",
            "last": "OLIVER"
          },
          "ownerId": 994315,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2347932849",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "groupId": 3,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "PITT MEADOWS",
            "country": "CA",
            "postalCode": "V3Y 1T2",
            "region": "BC",
            "street": "25-19032 ADVENT RD"
          },
          "individualName": {
            "first": "RICKY",
            "last": "BENTLEY"
          },
          "ownerId": 994316,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2985928592",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "groupId": 4,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "TORONTO",
            "country": "CA",
            "postalCode": "M5N 2P3",
            "region": "ON",
            "street": "423-2121 BATHURST ST"
          },
          "individualName": {
            "first": "JENNA",
            "last": "FARLEY"
          },
          "ownerId": 994317,
          "partyType": "OWNER_IND",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "groupId": 5,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "SCARBOROUGH",
            "country": "CA",
            "postalCode": "M1W 2R9",
            "region": "ON",
            "street": "325-3333 FINCH AVE E"
          },
          "organizationName": "ABC VENTURES LTD.",
          "ownerId": 994318,
          "partyType": "OWNER_BUS",
          "phoneExtension": "1",
          "phoneNumber": "3758239489",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "groupId": 6,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "TORONTO",
            "country": "CA",
            "postalCode": "M5N 2P3",
            "region": "ON",
            "street": "423-2121 BATHURST ST"
          },
          "description": "EXECUTOR OF THE WILL OF DERICK OLIVER, DECEASED",
          "individualName": {
            "first": "ADRIAN",
            "last": "WILSON"
          },
          "ownerId": 994320,
          "partyType": "EXECUTOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "groupId": 7,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "CALGARY",
            "country": "CA",
            "postalCode": "T2N 4N7",
            "region": "AB",
            "street": "423-1505 8 AVE NW"
          },
          "description": "ADMINISTRATOR OF THE ESTATE OF JENNA FARLEY, DECEASED",
          "individualName": {
            "first": "AMALIA",
            "last": "BLANCHARD"
          },
          "ownerId": 994322,
          "partyType": "ADMINISTRATOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "groupId": 8,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "HAMILTON",
            "country": "CA",
            "postalCode": "L9C 1V8",
            "region": "ON",
            "street": "327-30 MOHAWK RD W"
          },
          "description": "EXECUTOR OF THE WILL OF RICKY BENTLEY, DECEASED",
          "individualName": {
            "first": "SAVANNAH",
            "last": "MAXWELL"
          },
          "ownerId": 994324,
          "partyType": "EXECUTOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "DELETED",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "groupId": 4,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "TORONTO",
            "country": "CA",
            "postalCode": "M5N 2P3",
            "region": "ON",
            "street": "423-2121 BATHURST ST"
          },
          "individualName": {
            "first": "JENNA",
            "last": "FARLEY"
          },
          "ownerId": 994317,
          "partyType": "OWNER_IND",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "groupId": 2,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "EDMONTON",
            "country": "CA",
            "postalCode": "T6C 1Z9",
            "region": "AB",
            "street": "326-8411 91 ST NW"
          },
          "individualName": {
            "first": "DERICK",
            "last": "OLIVER"
          },
          "ownerId": 994315,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2347932849",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "groupId": 3,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "PITT MEADOWS",
            "country": "CA",
            "postalCode": "V3Y 1T2",
            "region": "BC",
            "street": "25-19032 ADVENT RD"
          },
          "individualName": {
            "first": "RICKY",
            "last": "BENTLEY"
          },
          "ownerId": 994316,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2985928592",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "groupId": 4,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "TORONTO",
            "country": "CA",
            "postalCode": "M5N 2P3",
            "region": "ON",
            "street": "423-2121 BATHURST ST"
          },
          "individualName": {
            "first": "JENNA",
            "last": "FARLEY"
          },
          "ownerId": 994317,
          "partyType": "OWNER_IND",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "groupId": 5,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "SCARBOROUGH",
            "country": "CA",
            "postalCode": "M1W 2R9",
            "region": "ON",
            "street": "325-3333 FINCH AVE E"
          },
          "organizationName": "ABC VENTURES LTD.",
          "ownerId": 994318,
          "partyType": "OWNER_BUS",
          "phoneExtension": "1",
          "phoneNumber": "3758239489",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "groupId": 6,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "TORONTO",
            "country": "CA",
            "postalCode": "M5N 2P3",
            "region": "ON",
            "street": "423-2121 BATHURST ST"
          },
          "description": "EXECUTOR OF THE WILL OF DERICK OLIVER, DECEASED",
          "individualName": {
            "first": "ADRIAN",
            "last": "WILSON"
          },
          "ownerId": 994320,
          "partyType": "EXECUTOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "groupId": 7,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "CALGARY",
            "country": "CA",
            "postalCode": "T2N 4N7",
            "region": "AB",
            "street": "423-1505 8 AVE NW"
          },
          "description": "ADMINISTRATOR OF THE ESTATE OF JENNA FARLEY, DECEASED",
          "individualName": {
            "first": "AMALIA",
            "last": "BLANCHARD"
          },
          "ownerId": 994322,
          "partyType": "ADMINISTRATOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "groupId": 8,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "HAMILTON",
            "country": "CA",
            "postalCode": "L9C 1V8",
            "region": "ON",
            "street": "327-30 MOHAWK RD W"
          },
          "description": "EXECUTOR OF THE WILL OF RICKY BENTLEY, DECEASED",
          "individualName": {
            "first": "SAVANNAH",
            "last": "MAXWELL"
          },
          "ownerId": 994324,
          "partyType": "EXECUTOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "DELETED",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "groupId": 3,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "PITT MEADOWS",
            "country": "CA",
            "postalCode": "V3Y 1T2",
            "region": "BC",
            "street": "25-19032 ADVENT RD"
          },
          "individualName": {
            "first": "RICKY",
            "last": "BENTLEY"
          },
          "ownerId": 994316,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2985928592",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "groupId": 2,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "EDMONTON",
            "country": "CA",
            "postalCode": "T6C 1Z9",
            "region": "AB",
            "street": "326-8411 91 ST NW"
          },
          "individualName": {
            "first": "DERICK",
            "last": "OLIVER"
          },
          "ownerId": 994315,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2347932849",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "groupId": 3,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "PITT MEADOWS",
            "country": "CA",
            "postalCode": "V3Y 1T2",
            "region": "BC",
            "street": "25-19032 ADVENT RD"
          },
          "individualName": {
            "first": "RICKY",
            "last": "BENTLEY"
          },
          "ownerId": 994316,
          "partyType": "OWNER_IND",
          "phoneExtension": "1",
          "phoneNumber": "2985928592",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "groupId": 4,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "TORONTO",
            "country": "CA",
            "postalCode": "M5N 2P3",
            "region": "ON",
            "street": "423-2121 BATHURST ST"
          },
          "individualName": {
            "first": "JENNA",
            "last": "FARLEY"
          },
          "ownerId": 994317,
          "partyType": "OWNER_IND",
          "status": "PREVIOUS",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL",
      "status": "PREVIOUS",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "groupId": 5,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "SCARBOROUGH",
            "country": "CA",
            "postalCode": "M1W 2R9",
            "region": "ON",
            "street": "325-3333 FINCH AVE E"
          },
          "organizationName": "ABC VENTURES LTD.",
          "ownerId": 994318,
          "partyType": "OWNER_BUS",
          "phoneExtension": "1",
          "phoneNumber": "3758239489",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "groupId": 6,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "TORONTO",
            "country": "CA",
            "postalCode": "M5N 2P3",
            "region": "ON",
            "street": "423-2121 BATHURST ST"
          },
          "description": "EXECUTOR OF THE WILL OF DERICK OLIVER, DECEASED",
          "individualName": {
            "first": "ADRIAN",
            "last": "WILSON"
          },
          "ownerId": 994320,
          "partyType": "EXECUTOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "groupId": 7,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "CALGARY",
            "country": "CA",
            "postalCode": "T2N 4N7",
            "region": "AB",
            "street": "423-1505 8 AVE NW"
          },
          "description": "ADMINISTRATOR OF THE ESTATE OF JENNA FARLEY, DECEASED",
          "individualName": {
            "first": "AMALIA",
            "last": "BLANCHARD"
          },
          "ownerId": 994322,
          "partyType": "ADMINISTRATOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    },
    {
      "changeType": "ADDED",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "groupId": 8,
      "interest": "Undivided",
      "interestDenominator": 4,
      "interestNumerator": 1,
      "owners": [
        {
          "address": {
            "city": "HAMILTON",
            "country": "CA",
            "postalCode": "L9C 1V8",
            "region": "ON",
            "street": "327-30 MOHAWK RD W"
          },
          "description": "EXECUTOR OF THE WILL OF RICKY BENTLEY, DECEASED",
          "individualName": {
            "first": "SAVANNAH",
            "last": "MAXWELL"
          },
          "ownerId": 994324,
          "partyType": "EXECUTOR",
          "status": "ACTIVE",
          "type": "NA"
        }
      ],
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL",
      "status": "ACTIVE",
      "tenancySpecified": true,
      "type": "NA"
    }
  ],
  "registrations": [
    {
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "attentionReference": "AT-823748",
      "createDateTime": "2024-05-27T20:02:38+00:00",
      "documentId": "12382738",
      "documentRegistrationNumber": "00550878",
      "registrationDescription": "MANUFACTURED HOME REGISTRATION"
    },
    {
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "attentionReference": "AT-923849234",
      "consideration": "$6453.00",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "declaredValue": 6453,
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "ownLand": false,
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "transferDate": "2024-05-10T06:59:59+00:00"
    },
    {
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "declaredValue": 5242,
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "ownLand": false,
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL"
    },
    {
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "attentionReference": "AT-93248934",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "declaredValue": 6345,
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "ownLand": false,
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION"
    },
    {
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "attentionReference": "AT-2394894",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "declaredValue": 6345,
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "ownLand": false,
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL"
    }
  ],
  "statusType": "ACTIVE"
}
doug-lovett commented 4 months ago

Registration view example: GET https://bcregistry-dev.apigee.net/mhr/api/v1/registrations/history/108343?registrationView=true

{
  "mhrNumber": "108343",
  "registrations": [
    {
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "attentionReference": "AT-823748",
      "createDateTime": "2024-05-27T20:02:38+00:00",
      "description": {
        "baseInformation": {
          "circa": false,
          "make": "Watson",
          "model": "Duchess",
          "year": 2014
        },
        "manufacturer": "Starline",
        "sectionCount": 1,
        "sections": [
          {
            "lengthFeet": 52,
            "lengthInches": 9,
            "serialNumber": "BC893489234",
            "widthFeet": 27,
            "widthInches": 6
          }
        ],
        "status": "ACTIVE"
      },
      "documentId": "12382738",
      "documentRegistrationNumber": "00550878",
      "location": {
        "address": {
          "city": "PITT MEADOWS",
          "country": "CA",
          "postalCode": "V3Y 1T2",
          "region": "BC",
          "street": "32-19032 ADVENT RD"
        },
        "dealerName": "Dealer abc",
        "leaveProvince": false,
        "locationId": 200946,
        "locationType": "MANUFACTURER",
        "status": "ACTIVE",
        "taxCertificate": false
      },
      "ownerGroups": [
        {
          "groupId": 1,
          "owners": [
            {
              "address": {
                "city": "EDMONTON",
                "country": "CA",
                "postalCode": "T6C 1Z9",
                "region": "AB",
                "street": "326-8411 91 ST NW"
              },
              "individualName": {
                "first": "DERICK",
                "last": "OLIVER"
              },
              "ownerId": 994313,
              "partyType": "OWNER_IND",
              "phoneExtension": "1",
              "phoneNumber": "2347932849",
              "status": "PREVIOUS",
              "type": "SOLE"
            }
          ],
          "status": "PREVIOUS",
          "tenancySpecified": true,
          "type": "SOLE"
        }
      ],
      "registrationDescription": "MANUFACTURED HOME REGISTRATION",
      "registrationType": "MHREG"
    },
    {
      "addOwnerGroups": [
        {
          "groupId": 2,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "EDMONTON",
                "country": "CA",
                "postalCode": "T6C 1Z9",
                "region": "AB",
                "street": "326-8411 91 ST NW"
              },
              "individualName": {
                "first": "DERICK",
                "last": "OLIVER"
              },
              "ownerId": 994315,
              "partyType": "OWNER_IND",
              "phoneExtension": "1",
              "phoneNumber": "2347932849",
              "status": "PREVIOUS",
              "type": "NA"
            }
          ],
          "status": "PREVIOUS",
          "tenancySpecified": true,
          "type": "NA"
        },
        {
          "groupId": 3,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "PITT MEADOWS",
                "country": "CA",
                "postalCode": "V3Y 1T2",
                "region": "BC",
                "street": "25-19032 ADVENT RD"
              },
              "individualName": {
                "first": "RICKY",
                "last": "BENTLEY"
              },
              "ownerId": 994316,
              "partyType": "OWNER_IND",
              "phoneExtension": "1",
              "phoneNumber": "2985928592",
              "status": "PREVIOUS",
              "type": "NA"
            }
          ],
          "status": "PREVIOUS",
          "tenancySpecified": true,
          "type": "NA"
        },
        {
          "groupId": 4,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "TORONTO",
                "country": "CA",
                "postalCode": "M5N 2P3",
                "region": "ON",
                "street": "423-2121 BATHURST ST"
              },
              "individualName": {
                "first": "JENNA",
                "last": "FARLEY"
              },
              "ownerId": 994317,
              "partyType": "OWNER_IND",
              "status": "PREVIOUS",
              "type": "NA"
            }
          ],
          "status": "PREVIOUS",
          "tenancySpecified": true,
          "type": "NA"
        },
        {
          "groupId": 5,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "SCARBOROUGH",
                "country": "CA",
                "postalCode": "M1W 2R9",
                "region": "ON",
                "street": "325-3333 FINCH AVE E"
              },
              "organizationName": "ABC VENTURES LTD.",
              "ownerId": 994318,
              "partyType": "OWNER_BUS",
              "phoneExtension": "1",
              "phoneNumber": "3758239489",
              "status": "ACTIVE",
              "type": "NA"
            }
          ],
          "status": "ACTIVE",
          "tenancySpecified": true,
          "type": "NA"
        }
      ],
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "attentionReference": "AT-923849234",
      "consideration": "$6453.00",
      "createDateTime": "2024-05-27T20:05:43+00:00",
      "declaredValue": 6453,
      "deleteOwnerGroups": [],
      "documentId": "12372783",
      "documentRegistrationNumber": "00550879",
      "ownLand": false,
      "registrationDescription": "TRANSFER DUE TO SALE OR GIFT",
      "registrationType": "TRANS",
      "transferDate": "2024-05-10T06:59:59+00:00"
    },
    {
      "addOwnerGroups": [
        {
          "groupId": 6,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "TORONTO",
                "country": "CA",
                "postalCode": "M5N 2P3",
                "region": "ON",
                "street": "423-2121 BATHURST ST"
              },
              "description": "EXECUTOR OF THE WILL OF DERICK OLIVER, DECEASED",
              "individualName": {
                "first": "ADRIAN",
                "last": "WILSON"
              },
              "ownerId": 994320,
              "partyType": "EXECUTOR",
              "status": "ACTIVE",
              "type": "NA"
            }
          ],
          "status": "ACTIVE",
          "tenancySpecified": true,
          "type": "NA"
        }
      ],
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "createDateTime": "2024-05-27T20:07:20+00:00",
      "declaredValue": 5242,
      "deleteOwnerGroups": [
        {
          "groupId": 2,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "EDMONTON",
                "country": "CA",
                "postalCode": "T6C 1Z9",
                "region": "AB",
                "street": "326-8411 91 ST NW"
              },
              "individualName": {
                "first": "DERICK",
                "last": "OLIVER"
              },
              "ownerId": 994315,
              "partyType": "OWNER_IND",
              "phoneExtension": "1",
              "phoneNumber": "2347932849",
              "status": "PREVIOUS",
              "type": "NA"
            }
          ],
          "status": "PREVIOUS",
          "tenancySpecified": true,
          "type": "NA"
        }
      ],
      "documentId": "12736283",
      "documentRegistrationNumber": "00550880",
      "ownLand": false,
      "registrationDescription": "TRANSFER TO EXECUTOR - GRANT OF PROBATE WITH WILL",
      "registrationType": "TRANS_WILL"
    },
    {
      "addOwnerGroups": [
        {
          "groupId": 7,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "CALGARY",
                "country": "CA",
                "postalCode": "T2N 4N7",
                "region": "AB",
                "street": "423-1505 8 AVE NW"
              },
              "description": "ADMINISTRATOR OF THE ESTATE OF JENNA FARLEY, DECEASED",
              "individualName": {
                "first": "AMALIA",
                "last": "BLANCHARD"
              },
              "ownerId": 994322,
              "partyType": "ADMINISTRATOR",
              "status": "ACTIVE",
              "type": "NA"
            }
          ],
          "status": "ACTIVE",
          "tenancySpecified": true,
          "type": "NA"
        }
      ],
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "attentionReference": "AT-93248934",
      "createDateTime": "2024-05-27T20:08:48+00:00",
      "declaredValue": 6345,
      "deleteOwnerGroups": [
        {
          "groupId": 4,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "TORONTO",
                "country": "CA",
                "postalCode": "M5N 2P3",
                "region": "ON",
                "street": "423-2121 BATHURST ST"
              },
              "individualName": {
                "first": "JENNA",
                "last": "FARLEY"
              },
              "ownerId": 994317,
              "partyType": "OWNER_IND",
              "status": "PREVIOUS",
              "type": "NA"
            }
          ],
          "status": "PREVIOUS",
          "tenancySpecified": true,
          "type": "NA"
        }
      ],
      "documentId": "12723872",
      "documentRegistrationNumber": "00550881",
      "ownLand": false,
      "registrationDescription": "TRANSFER TO ADMINISTRATOR - GRANT OF ADMINISTRATION",
      "registrationType": "TRANS_ADMIN"
    },
    {
      "addOwnerGroups": [
        {
          "groupId": 8,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "HAMILTON",
                "country": "CA",
                "postalCode": "L9C 1V8",
                "region": "ON",
                "street": "327-30 MOHAWK RD W"
              },
              "description": "EXECUTOR OF THE WILL OF RICKY BENTLEY, DECEASED",
              "individualName": {
                "first": "SAVANNAH",
                "last": "MAXWELL"
              },
              "ownerId": 994324,
              "partyType": "EXECUTOR",
              "status": "ACTIVE",
              "type": "NA"
            }
          ],
          "status": "ACTIVE",
          "tenancySpecified": true,
          "type": "NA"
        }
      ],
      "affirmByName": "BUSINESS REGISTRY TEST 1",
      "attentionReference": "AT-2394894",
      "createDateTime": "2024-05-27T20:11:29+00:00",
      "declaredValue": 6345,
      "deleteOwnerGroups": [
        {
          "groupId": 3,
          "interest": "Undivided",
          "interestDenominator": 4,
          "interestNumerator": 1,
          "owners": [
            {
              "address": {
                "city": "PITT MEADOWS",
                "country": "CA",
                "postalCode": "V3Y 1T2",
                "region": "BC",
                "street": "25-19032 ADVENT RD"
              },
              "individualName": {
                "first": "RICKY",
                "last": "BENTLEY"
              },
              "ownerId": 994316,
              "partyType": "OWNER_IND",
              "phoneExtension": "1",
              "phoneNumber": "2985928592",
              "status": "PREVIOUS",
              "type": "NA"
            }
          ],
          "status": "PREVIOUS",
          "tenancySpecified": true,
          "type": "NA"
        }
      ],
      "documentId": "12387287",
      "documentRegistrationNumber": "00550882",
      "ownLand": false,
      "registrationDescription": "TRANSFER TO EXECUTOR \u2013 ESTATE UNDER $25,000 WITH WILL",
      "registrationType": "TRANS_AFFIDAVIT"
    }
  ],
  "statusType": "ACTIVE"
}