Login technician.
None.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Username |
Operator Username |
string |
Required |
| Password |
Operator Password |
string |
Required |
| MACAddress |
MACAddress |
string |
None. |
{
"Username": "sample string 1",
"Password": "sample string 2",
"MACAddress": "sample string 3"
}
<LoginTechnicianRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.OTC.API.Models.Requests"> <MACAddress>sample string 3</MACAddress> <Password>sample string 2</Password> <Username>sample string 1</Username> </LoginTechnicianRequest>
Sample not available.
LoginTechnicianResponse
LoginTechnicianResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | ResponseHeader |
None. |
|
| Body | LoginTechnicianResponseBody |
None. |
| Name | Description | Type | Additional information |
|---|---|---|---|
| Message |
Message |
string |
None. |
| StatusCode |
Status code |
ResponseStatus |
None. |
| Status |
Status |
string |
None. |
| ErrorId |
Error id |
string |
None. |
| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken |
Access Token |
string |
None. |
| TechnicianId | integer |
None. |
|
| TechnicianFirstName | string |
None. |
|
| TechnicianLastName | string |
None. |
|
| GenerateOpCodeOpenLock | boolean |
None. |
|
| GenerateOpCodeResetUserTouchKey | boolean |
None. |
|
| GenerateOpCodeResetTamper | boolean |
None. |
|
| CloseCodeViaLockId | boolean |
None. |
|
| CloseCodeViaASeal | boolean |
None. |
|
| TechEmployeeId | string |
None. |
{
"Header": {
"Message": "sample string 1",
"StatusCode": 0,
"Status": "sample string 2",
"ErrorId": "sample string 3"
},
"Body": {
"AccessToken": "sample string 1",
"TechnicianId": 2,
"TechnicianFirstName": "sample string 3",
"TechnicianLastName": "sample string 4",
"GenerateOpCodeOpenLock": true,
"GenerateOpCodeResetUserTouchKey": true,
"GenerateOpCodeResetTamper": true,
"CloseCodeViaLockId": true,
"CloseCodeViaASeal": true,
"TechEmployeeId": "sample string 10"
}
}
<LoginTechnicianResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.OTC.API.Models.Responses">
<Body>
<AccessToken>sample string 1</AccessToken>
<CloseCodeViaASeal>true</CloseCodeViaASeal>
<CloseCodeViaLockId>true</CloseCodeViaLockId>
<GenerateOpCodeOpenLock>true</GenerateOpCodeOpenLock>
<GenerateOpCodeResetTamper>true</GenerateOpCodeResetTamper>
<GenerateOpCodeResetUserTouchKey>true</GenerateOpCodeResetUserTouchKey>
<TechEmployeeId>sample string 10</TechEmployeeId>
<TechnicianFirstName>sample string 3</TechnicianFirstName>
<TechnicianId>2</TechnicianId>
<TechnicianLastName>sample string 4</TechnicianLastName>
</Body>
<Header>
<ErrorId>sample string 3</ErrorId>
<Message>sample string 1</Message>
<Status>sample string 2</Status>
<StatusCode>Ok</StatusCode>
</Header>
</LoginTechnicianResponse>