| SavePortalUser | Scroll | 
REST URL (POST) https://tenant.thereforeonline.com/theservice/v0001/restun/SavePortalUser
SOAP Action (POST) http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/SavePortalUser
Saves or updates given portal user.
Input Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/SavePortalUser
| Element Name | Element Type | Restrictions | Description | 
| â– parameters | 
 | 
 | |
| â–¡ PortalUser | 
 | mandatory nillable | Sets portal user. | 
| â–¡ Email | xs:string | mandatory nillable | Sets Email of the user. | 
| â– QueryNo | xs:int | 
 | Sets query number of the user. One of QueryNo or CtgryNo MUST be specified (value > 0). Default value is 0. | 
| â– CtgryNo | xs:int | 
 | Sets category number of the user. One of CtgryNo or QueryNo MUST be specified (value > 0). Default value is 0. | 
| â–¡ UserName | xs:string | nillable | Sets name of the user. | 
| â–¡ UserPwd | xs:string | nillable | Sets password of the user. | 
| â–¡ Conditions | 
 | nillable | Sets conditions. | 
| ≡ WSCondition | 
 | list nillable | |
| â–¡ Condition | xs:string | mandatory nillable | Sets or gets condition. | 
| â–¡ FieldNoOrName | xs:string | mandatory nillable | Sets or gets number or name of the field. When returned from the server it contains field number. When returned from the server it contains field number. | 
| â– TimeZone | 
 | 
 restriction enum (xs:string) - UTC (0) - ServerLocal (1) | Sets or gets the time zone used in the condition for date/time values. The 'ServerLocal' option means that timezone from HTTP header 'The-Timezone-IANA' or 'The-Timezone-Microsoft' will be used if defined, otherwise the server local time zone will be used. If not set the UTC time zone will be used. | 
| â–¡ IndexDataItems | 
 | nillable | Sets the index data values. | 
| ≡ WSIndexDataItem | 
 | list nillable | |
| â–¡ DateIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:dateTime | nillable | Gets or sets date value of the field. Date value should be specified without time zone information (in .net DateTimeKind.Uspecified, xml value like 2002-09-24T00:00:00) or as UTC date time (in .net DateTimeKind.Utc, xml value like 2002-09-24T00:00:00Z). This is mandatory, especially when client and server are located in different time zones. See also the *DataISO8601Value* property. The DataValue property is ignored if the DataISO8601Value property has a value. | 
| â–¡ DataISO8601Value | xs:string | nillable | Gets or sets date value of the field in ISO 8601 format (YYYY-MM-DD, example 2017-07-23). See also the *DataValue* property. The DataValue property is ignored if the DataISO8601Value property has a value. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ IntIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:int | mandatory nillable | Gets or sets the integer value of the field. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ LogicalIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:boolean | mandatory nillable | Gets or sets Boolean value of the field. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ MoneyIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:double | nillable | Gets or sets the DOUBLE value of the field. Value for the field sould be set either by DataValue or by DecimalDataValue proiperty. DEPRECATED: Use the DecimalDataValue property instead for Thereforeâ„¢ version 2018 and newer. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ DecimalDataValue | xs:decimal | nillable | Gets or sets the DECIMAL value of the field. Value for the field sould be set either by DataValue or by DecimalDataValue proiperty. | 
| â–¡ MultipleKeywordData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | 
 | mandatory nillable | Gets or sets multiple keyword values of the field. | 
| ≡ Keyword | xs:string | list nillable | |
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ KeywordNos | 
 | nillable | Gets or sets multiple keyword numbers of the field. | 
| ≡ KeywordNo | xs:int | list | |
| â–¡ SingleKeywordData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:string | mandatory nillable | Gets or sets a single keyword value of the field. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the field name (when you set it use column name + "_Text" suffix. example: for SK field "Department" use "Department_Text" for it's TEXT value) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ StringIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:string | mandatory nillable | Gets or sets the string value of the field. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ TableIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | 
 | mandatory nillable | Gets or sets the table value of the field. | 
| ≡ WSTableFieldDataRow | 
 | list nillable | |
| â–¡ DataRowItems | 
 | nillable | Gets or sets the items of the row. If it is set to null for update operation - record with given row number (see RowNo parameter) will be deleted. | 
| ≡ WSTableFieldDataRowItem | 
 | list nillable | |
| â–¡ DateIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:dateTime | nillable | Gets or sets date value of the field. Date value should be specified without time zone information (in .net DateTimeKind.Uspecified, xml value like 2002-09-24T00:00:00) or as UTC date time (in .net DateTimeKind.Utc, xml value like 2002-09-24T00:00:00Z). This is mandatory, especially when client and server are located in different time zones. See also the *DataISO8601Value* property. The DataValue property is ignored if the DataISO8601Value property has a value. | 
| â–¡ DataISO8601Value | xs:string | nillable | Gets or sets date value of the field in ISO 8601 format (YYYY-MM-DD, example 2017-07-23). See also the *DataValue* property. The DataValue property is ignored if the DataISO8601Value property has a value. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ IntIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:int | mandatory nillable | Gets or sets the integer value of the field. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ LogicalIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:boolean | mandatory nillable | Gets or sets Boolean value of the field. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ MoneyIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:double | nillable | Gets or sets the DOUBLE value of the field. Value for the field sould be set either by DataValue or by DecimalDataValue proiperty. DEPRECATED: Use the DecimalDataValue property instead for Thereforeâ„¢ version 2018 and newer. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ DecimalDataValue | xs:decimal | nillable | Gets or sets the DECIMAL value of the field. Value for the field sould be set either by DataValue or by DecimalDataValue proiperty. | 
| â–¡ SingleKeywordData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:string | mandatory nillable | Gets or sets a single keyword value of the field. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the field name (when you set it use column name + "_Text" suffix. example: for SK field "Department" use "Department_Text" for it's TEXT value) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ StringIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:string | mandatory nillable | Gets or sets the string value of the field. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ AccessMask | 
 | nillable | Gets access mask for index data field (column) for connected user. | 
| â– Value | xs:unsignedLong | 
 | Represents the access mask of the permissions. See also: operation GetPermissionConstants. | 
| â–¡ DateTimeIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:dateTime | nillable | Gets or sets UTC date time value of the field. Date value should be specified as UTC date time. The *DataValue* property is ignored if the *DataISO8601Value* property has a value. | 
| â–¡ DataISO8601Value | xs:string | nillable | Gets or sets UTC date time value of the field in ISO 8601 format (example 2018-05-03T14:45:00Z). Date value should be specified as UTC date time. See also the *DataValue* property. The DataValue property is ignored if the DataISO8601Value property has a value. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ RoleAccessMask | 
 | nillable | Gets the role access mask for index data field(column) for connected user. | 
| â– Value | xs:unsignedLong | 
 | Represents the access mask of the permissions. See also: operation GetRolePermissionConstants. | 
| â–¡ RowNo | xs:int | nillable | Gets or sets the number of the row. While updating the data - null value means creating new row. Starts at 0 (zero). | 
| â–¡ AccessIsEditableRow | xs:boolean | nillable | Gets access status for the row for connected user. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ AccessMask | 
 | nillable | Gets access mask for index data field for connected user. | 
| â– Value | xs:unsignedLong | 
 | Represents the access mask of the permissions. See also: operation GetPermissionConstants. | 
| â–¡ DateTimeIndexData | 
 | nillable | |
| â– FieldNo | xs:int | mandatory | Gets or sets the number of the field. Doing request set it to proper field number or to 0 (zero) in order to use the FieldName property instead. | 
| â–¡ DataValue | xs:dateTime | nillable | Gets or sets UTC date time value of the field. Date value should be specified as UTC date time. The *DataValue* property is ignored if the *DataISO8601Value* property has a value. | 
| â–¡ DataISO8601Value | xs:string | nillable | Gets or sets UTC date time value of the field in ISO 8601 format (example 2018-05-03T14:45:00Z). Date value should be specified as UTC date time. See also the *DataValue* property. The DataValue property is ignored if the DataISO8601Value property has a value. | 
| â–¡ FieldName | xs:string | nillable | Gets or sets the name (actualy column name) of the field. Doing request set the FieldNo property to 0 (zero) in order to use specified FieldName. | 
| â–¡ RoleAccessMask | 
 | nillable | Gets the role access mask for index data field for connected user. | 
| â– Value | xs:unsignedLong | 
 | Represents the access mask of the permissions. See also: operation GetRolePermissionConstants. | 
| â–¡ IsOneTimePwd | xs:boolean | nillable | Sets if the password of the user is a one time password and needs to be changed on first login. | 
Output Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/SavePortalUserResponse
<Empty message>
Legend:
| â– | Not nillable element. | 
| â–¡ | Nillable element. | 
| ≡ | List of elements. | 
| Bold | Mandatory element. |