POST api/Podopieczny/addupdPodopieczny
Dodanie/Aktualizacja Podopiecznego
Request Information
URI Parameters
None.
Body Parameters
PodopiecznyModelsToAdd| Nazwa | Opis | Typ | Informacje dodatkowe |
|---|---|---|---|
| CardCode | string |
Required Max length: 50 |
|
| CardName | string |
Required Max length: 100 |
|
| LastName | string |
Required Max length: 50 |
|
| FirstName | string |
Required Max length: 50 |
|
| MiddleName | string |
Max length: 50 |
|
| Pesel | string |
Required Max length: 32 |
|
| SaldoKonta | decimal number |
Required |
|
| OpisChoroby | string |
Max length: 4000 |
|
| Lekarz | string |
Max length: 4000 |
|
| Cel | string |
Max length: 4000 |
|
| BirthDate | date |
Required |
|
| CommentKRS | string |
Max length: 4000 |
|
| SocialMedia | string |
Max length: 4000 |
|
| History | string |
Max length: 4000 |
|
| Gallery | string |
Max length: 4000 |
|
| AboutMe | string |
Max length: 4000 |
|
| Tags | string |
Max length: 4000 |
|
| GuardianAccountId |
Konto głównego opiekuna (UserName) |
string |
Max length: 128 |
| SecondAccountId |
Konto drugiego opiekuna (UserName) |
string |
Max length: 128 |
| MenteeType |
Typ podopiecznego N - nadrzędny P - podrzędny |
string |
Required Max length: 1 |
| Pin | string |
None. |
|
| StateId | integer |
None. |
|
| Active |
Y/N |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardCode": "sample string 1",
"CardName": "sample string 2",
"LastName": "sample string 3",
"FirstName": "sample string 4",
"MiddleName": "sample string 5",
"Pesel": "sample string 6",
"SaldoKonta": 7.0,
"OpisChoroby": "sample string 8",
"Lekarz": "sample string 9",
"Cel": "sample string 10",
"BirthDate": "2026-10-05T10:59:58.8667846+02:00",
"CommentKRS": "sample string 12",
"SocialMedia": "sample string 13",
"History": "sample string 14",
"Gallery": "sample string 15",
"AboutMe": "sample string 16",
"Tags": "sample string 17",
"GuardianAccountId": "sample string 18",
"SecondAccountId": "sample string 19",
"MenteeType": "sample string 20",
"Pin": "sample string 21",
"StateId": 22,
"Active": "sample string 23"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.