Code
Based on the model for service types.
Fields
| Name | Type | Description | Notes |
|---|---|---|---|
| id | Int | Id (internal to Location Registry) | Code id assigned internally |
| codeId | String | finnkode.no code id | The finnkode.no code id |
| codeGroupId | Int | finnkode.no code group id | |
| name | String | The code name | |
| value | String | The code value | |
| description | String | Code description | |
| validFrom | String | Valid from date | |
| validTo | String | Valid to date | |
| active | Bool | Flag indicating if the code is active | |
| codeGroup | Object | Code group object |
JSON structure:
{
"id": <int>,
"codeId": "<string>",
"codeGroupId": <int>,
"name": "<string>",
"value": "<string>>",
"description": "<string>",
"validFrom": "<string>",
"validTo": "<string>",
"active": <bool>,
"codeGroup": <object>
}