bcgov / ppr-deprecated

deprecated-Personal Property Registry
Apache License 2.0
2 stars 10 forks source link

Task for #647: BaseParty JSON for API #783

Closed bryan-gilbert closed 4 years ago

bryan-gilbert commented 4 years ago

Rework the to/from json to construct the json as the API needs it. Sample:


    "securedParties": [
        {
            "personName": {
                "first": "Charles",
                "last": "Burns",
                "middle": "Montgomery"
            },
            "businessName": null,
            "address": {
                "street": "1000 Mammon Lane",
                "city": "Springfield",
                "country": "CA",
                "postalCode": "V3V 3V3",
                "streetAdditional": null,
                "region": "BC"
            }
        }
    ],