Skip to content

OVV - Add HttpClient with a method for adding an address #315

@SandGrainOne

Description

@SandGrainOne

Description

We need an implementation of an operation that can save a new entry to the registry and return the result with the regsitry id.

url

YT01="https://kof-reception.ppe.brreg.no/define"
TT02="https://kof-reception.ppe.brreg.no/define"
Prod="https://kof-reception.brreg.no/define"

Request
{
  "Kontaktinformasjon": 
  {
    "bekreftetDato": "",
    "identifikator": "",
    "kanMottaMeldingstype": [ { "dokuemnttype": "", "tjenesteområde":"" }],
    "digitalVarslingsinformasjon": 
    {
      "epostadresse": 
      {
        "brukernavn": "",
        "domenenavn": "",
        "navn": "",
      },
      "mobiltelefon":
      {
        "internasjonaltPrefiks": "",
        "nasjonaltNummer": "",
        "navn": "",
      }
    },
    "kontaktinformasjonForEnhet":
    {
      "enhetsidentifikator": 
      {
        "verdi": "",
        "type": ""
      }
    }
  }
}
Response
{
  "addressId": null,
  "status": null,
  "traceId": null,
  "boolResult": false,
  "details": null  // not sure what this is. Used to create exceptions in a2
}

Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions