POST api/Consent/acceptConsent

akceptacja zgody

Request Information

URI Parameters

None.

Body Parameters

ConsentModelsToAccept
NazwaOpisTypInformacje dodatkowe
ConsentId

Identyfikator zgody

integer

Required

IdPodopieczny

Identyfikator podopiecznego

integer

Required

Result

Wynik zgody

boolean

Required

Comments

Uawgi

string

Max length: 4000

Request Formats

application/json, text/json

Sample:
{
  "ConsentId": 1,
  "IdPodopieczny": 2,
  "Result": true,
  "Comments": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ConsentModelsToAccept'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.