These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Swagger Definitions Up To Date?

Are the swagger definitions up to date for iMIS Cloud? I'm finding quite a few places where I think they're different.

Example:
https://testapi.imis.com/swagger/Enterprise/party.json

      "description": "A collection of address lines.",
      "items": {
        "default": "",
        "type": "string"
      },
      "type": "array"
    },```

But the actual json from the server looks like this:

```"AddressLines": {
                        "$type": "Asi.Soa.Membership.DataContracts.AddressLineDataCollection, Asi.Contracts",
                        "$values": [
                            "Address Info In Here"
                        ]
                    },```

The definition looks like I should expect an array of strings under AddressLines but it's actually under $values. Looks like maybe this is an old version before you added the $type and $values fields?