POST api/Profil/acceptChange
Zatwierdzenie lub odrzucenie zmiany profilu..
Request Information
URI Parameters
None.
Body Parameters
Model danych akceptacji zmiany
ChangeModelsToAccept| Nazwa | Opis | Typ | Informacje dodatkowe |
|---|---|---|---|
| id |
Identyfikator zmiany |
integer |
Required |
| Accept |
Status akceptacji zmiany true - zakceptowana false - odrzucona |
boolean |
None. |
| LastName |
Nazwisko |
string |
None. |
| FirstName |
Imię |
string |
None. |
| MiddleName |
Drugie imię |
string |
None. |
| Address |
Adres |
string |
None. |
| ZipCode |
Kod pocztowy |
string |
None. |
| City |
Miasto |
string |
None. |
| Country |
2 literowy kod państwa |
string |
None. |
| PinInfoLinia |
Pin do Infolinii |
string |
None. |
|
|
string |
None. |
|
| Tel1 |
Telefon 1 |
string |
None. |
| Tel2 |
Telefon 2 |
string |
None. |
| Mobile |
Telefon komórkowy |
string |
None. |
| StateId |
Identyfikator województwa |
integer |
None. |
| Reason |
Powód odrzucenia zmiany |
string |
Max length: 500 |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"Accept": true,
"LastName": "sample string 3",
"FirstName": "sample string 4",
"MiddleName": "sample string 5",
"Address": "sample string 6",
"ZipCode": "sample string 7",
"City": "sample string 8",
"Country": "sample string 9",
"PinInfoLinia": "sample string 10",
"Email": "sample string 11",
"Tel1": "sample string 12",
"Tel2": "sample string 13",
"Mobile": "sample string 14",
"StateId": 15,
"Reason": "sample string 16"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.