GET /api/egendefinerte/sak/{id}

Fetches custom defined properties on a given case

Parameters

Name In Description Required Type
id path Case identifier true integer

Responses

Code Returns Type
200 OK Acos.WebSak.Pluss.Services.Integration.Models.EgendefinertVerdi[]
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",
        "feltNavn":"string",
        "verdi":"string"
}]

POST /api/egendefinerte/sak/{id}

Add or update a custom defined property on a given case. If `Overskriv` is true and a property with the same name exists, the value will be updated. Otherwise a new property will be added.

Parameters

Name In Description Required Type
id path Case identifier true integer

Request body

{ 
        
        "feltNavn":"string",
        "verdi":"string",
        "overskriv":"boolean"
}

Responses

Code Returns Type
200 OK Acos.WebSak.Pluss.Services.Integration.Models.EgendefinertVerdi
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",
        "feltNavn":"string",
        "verdi":"string"
}