POST /api/integration/journalpost/{jpid}/avsmottakere

Adds a recipient or sender to the given document

Parameters

Name In Description Required Type
jpId path true integer

Request body

{ 
        
        "id":"integer",
        "kontaktInformasjon": 
            { 
               "navn": "string",
                "epost": "string",
                "telefon": "string",
                "adresse1": "string",
                "adresse2": "string",
                "adresse3": "string",
                "adresse4": "string",
                "postnr": "string",
                "offentligNummer": "string",
                "erPerson": "boolean",
                "landId": "string",
                "attention": "string",
                "referanse": "string"
            },
        "erKopiMottaker":"boolean"
}

Responses

Code Returns Type
200 Success Acos.WebSak.Pluss.Services.Integration.Models.Kontakt
401 Unauthorized - Missing or invalid access token
403 Forbidden - Provided access token does not permit usage of this API or data
Response Example
{ 
        
        "id":"integer",
        "navn":"string",
        "gidKode":"string",
        "kode":"string",
        "telefon":"string",
        "epost":"string",
        "adresse1":"string",
        "adresse2":"string",
        "adresse3":"string",
        "adresse4":"string",
        "postnr":"string",
        "poststed":"string",
        "land":"string",
        "offentligNummer":"string",
        "attention":"string",
        "referanse":"string",
        "erPerson":"boolean",
        "erKopiMottaker":"boolean"
}