POST api/users/userinfo?email={email}&isDebug={isDebug}
Get UserInfo by email address
Request Information
URI Parameters
| Name | Description | Type |
|---|---|---|
|
The email address must be in use in Navision [required] |
string |
Body Parameters
None.
Response Information
Resource Description
UserInfo if successfull. Exception (Status 500) Otherwise
UserInfo| Name | Description | Type |
|---|---|---|
|
Email address. Primary user key in Navision This need to be unique |
string | |
| Fax |
Fax |
string |
| IsAuthor |
Whether the user is an Author |
boolean |
| IsB2C |
Whether the user is a b2c customer |
boolean |
| SubscriptionTidsLinjeStartDate |
Tidslinje subscription start date |
string |
| SubscriptionTidsLinjeEndDate |
Tidslinje subscription expiration date |
string |
| SubscriptionTidsLinjeStatus |
Tidslinje subscription status |
string |
| Blocked |
Whether the user is blocked from payments with invoice |
boolean |
| IsNewCustomer |
[Read only] Whether the user is newly created. Relevant for checking that it is a fully registered user in Navision |
boolean |
| HasCompanyContact |
[Read only] Whether the user has an associated company contact. Relevant for checking that it is a fully registered user in Navision |
string |
| IsValid |
[Read only] Whether the customer has a valid email address |
boolean |
| IsValidUserDetails |
[Read only] Whether the user details has the required values |
boolean |
| IsValidShippingAddress |
Whether the shipping address has the required values |
boolean |
| ContactType |
Contact type. Possible values are: 'Bokhandel' (book store), 'Menighet' (congregation), 'Organisasjon' (organization), 'Person' (person), empty |
string |
| ShippingAddress1 |
Shipping address line 1 |
string |
| ShippingAddress2 |
Shipping address line 2 |
string |
| ShippingCountry |
Shipping country code |
string |
| ShippingName1 |
Shipping name 1 |
string |
| ShippingName2 |
Shipping name 2 |
string |
| ShippingZip |
Shipping zip |
string |
| ShippingCity |
Shipping city |
string |
| Address |
Main Address 1 |
string |
| Address2 |
Main Address 2 |
string |
| Country |
Main Country code |
string |
| Mobile |
Mobile phone |
string |
| Name |
Main Name |
string |
| Name2 |
Main Name 2 |
string |
| OrganizationId |
Organization Id |
string |
| Zip |
Zip |
string |
| CompanyId |
Company id |
string |
| City |
City |
string |
| Telephone |
Telephone |
string |
| WebContactId |
Web contact number |
string |
{
"Email": "str 1",
"Fax": "str 3",
"IsAuthor": true,
"IsB2C": false,
"SubscriptionTidsLinjeStartDate": "str 7",
"SubscriptionTidsLinjeEndDate": "str 9",
"SubscriptionTidsLinjeStatus": "str 11",
"Blocked": true,
"IsNewCustomer": false,
"HasCompanyContact": "str 13",
"IsValid": false,
"IsValidUserDetails": false,
"IsValidShippingAddress": true,
"ContactType": "str 15",
"ShippingAddress1": "str 17",
"ShippingAddress2": "str 19",
"ShippingCountry": "str 21",
"ShippingName1": "str 23",
"ShippingName2": "str 25",
"ShippingZip": "str 27",
"ShippingCity": "str 29",
"Address": "str 31",
"Address2": "str 33",
"Country": "str 35",
"Mobile": "str 37",
"Name": "str 39",
"Name2": "str 41",
"OrganizationId": "str 43",
"Zip": "str 45",
"CompanyId": "str 47",
"City": "str 49",
"Telephone": "str 51",
"WebContactId": "str 53"
}