POST api/Profil/addupdProfil
Dodanie profilu dla konta
Request Information
URI Parameters
None.
Body Parameters
Model danych wejściowych profilu
ProfilModelsToAdd| Nazwa | Opis | Typ | Informacje dodatkowe |
|---|---|---|---|
| AccountId |
Identyfikator konta |
string |
Max length: 150 |
| UserName |
UserName - nazwa użytkownika (Email) |
string |
Required Max length: 128 |
| RoleName |
Nazwa Roli |
string |
Required Max length: 128 |
| CardCode |
CardCode z SAP |
string |
Required Max length: 50 |
| CardName |
CardName z SAP |
string |
Max length: 100 |
| LastName |
Nazwisko |
string |
Max length: 50 |
| FirstName |
Imię |
string |
Max length: 50 |
| MiddleName |
Drugie imię |
string |
Max length: 50 |
| Address |
Adres |
string |
Max length: 100 |
| ZipCode |
Kod pocztowy |
string |
Max length: 20 |
| City |
Miasto |
string |
Max length: 100 |
| Country |
dwuliterowy kod Państwa |
string |
Max length: 100 |
| PinInfoLinia |
Pin do infolinii |
string |
Max length: 100 |
|
Adres email |
string |
Max length: 100 |
|
| Tel1 |
Numer telefonu 1 |
string |
Max length: 20 |
| Tel2 |
Numer telefonu 2 |
string |
Max length: 20 |
| Mobile |
Numer telefonu komórkowego |
string |
Max length: 50 |
| StateCode |
Code województwa z @Wojewodztwa |
string |
Required |
| isShared | boolean |
Required |
|
| BankAccountList | Collection of BankAccounts |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": "sample string 1",
"UserName": "sample string 2",
"RoleName": "sample string 3",
"CardCode": "sample string 4",
"CardName": "sample string 5",
"LastName": "sample string 6",
"FirstName": "sample string 7",
"MiddleName": "sample string 8",
"Address": "sample string 9",
"ZipCode": "sample string 10",
"City": "sample string 11",
"Country": "sample string 12",
"PinInfoLinia": "sample string 13",
"Email": "sample string 14",
"Tel1": "sample string 15",
"Tel2": "sample string 16",
"Mobile": "sample string 17",
"StateCode": "sample string 18",
"isShared": true,
"BankAccountList": [
{
"Id": 1,
"AccountId": "sample string 2",
"BankAccountNumber": "sample string 3",
"Default": 4,
"AbsEntry": 5
},
{
"Id": 1,
"AccountId": "sample string 2",
"BankAccountNumber": "sample string 3",
"Default": 4,
"AbsEntry": 5
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.