POST api/Authentication?authorization={authorization}&lang={lang}&fromProject={fromProject}&shareCode={shareCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
authorization | string |
Required |
|
lang | string |
Required |
|
fromProject | string |
Required |
|
shareCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AuthorizationModelName | Description | Type | Additional information |
---|---|---|---|
userID | integer |
None. |
|
profileID | integer |
None. |
|
companyID | integer |
None. |
|
positionID | integer |
None. |
|
userName | string |
None. |
|
password | string |
None. |
|
shareCodeList | string |
None. |
|
fromProject | string |
None. |
|
signal | string |
None. |
|
createDate | decimal number |
None. |
|
expireDate | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "userID": 1, "profileID": 2, "companyID": 3, "positionID": 4, "userName": "sample string 5", "password": "sample string 6", "shareCodeList": "sample string 7", "fromProject": "sample string 8", "signal": "sample string 9", "createDate": 10.1, "expireDate": 11.1 }
application/xml, text/xml
Sample:
<AuthorizationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TUFTManagement.Models"> <companyID>3</companyID> <createDate>10.1</createDate> <expireDate>11.1</expireDate> <fromProject>sample string 8</fromProject> <password>sample string 6</password> <positionID>4</positionID> <profileID>2</profileID> <shareCodeList>sample string 7</shareCodeList> <signal>sample string 9</signal> <userID>1</userID> <userName>sample string 5</userName> </AuthorizationModel>