POST api/Line/SaveUseridLine

Request Information

URI Parameters

None.

Body Parameters

CustomEmployee
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

EmployeeCode

string

None.

Username

string

None.

NameTh

string

None.

NameEn

string

None.

Email

string

None.

IsActive

boolean

None.

PositionId

integer

None.

PositionNameTh

string

None.

PositionNameEn

string

None.

DepartmentId

integer

None.

DepartmentNameTh

string

None.

DepartmentNameEn

string

None.

ReportToEmpCode

string

None.

SignPicPath

string

None.

Lang

string

None.

CreatedDate

string

None.

CreatedBy

string

None.

ModifiedDate

string

None.

ModifiedBy

string

None.

UserPermissionList

Collection of CustomUserPermission

None.

password

string

None.

ADTitle

string

None.

DivisionId

integer

None.

Userid_Line

string

None.

userPrincipalName

string

None.

connectionString

string

None.

SecretId

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'MSTEmployee' with type 'WolfApprove.Model.MSTEmployee'. Path 'UserPermissionList[0].MSTEmployee.mstUserPermissionList[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'MSTEmployee' with type 'WolfApprove.Model.MSTEmployee'. Path 'UserPermissionList[0].MSTEmployee.mstUserPermissionList[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomEmployee'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.