This function will create the encryption keys for the lock. INPUTS==> LOCK ID, OWNER ENTITY. RETURN==> lock owner key
None.
CreateLockOwnerKeysRequest
CreateLockOwnerKeysRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OwnerEntity |
Entity value for the owner (database value) |
integer |
Required Matching regular expression pattern: ([0-9]+) |
| LockId |
Lock ID |
string |
Required Matching regular expression pattern: ([0-9]+) Max length: 12 |
{
"OwnerEntity": 1,
"LockId": "sample string 2"
}
<CreateLockOwnerKeysRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Requests.Lock"> <LockId>sample string 2</LockId> <OwnerEntity>1</OwnerEntity> </CreateLockOwnerKeysRequest>
Sample not available.
LockOwnerKeyResponse
LockOwnerKeyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | ResponseHeader |
None. |
|
| Body | LockOwnerKeyResponseBody |
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 |
|---|---|---|---|
| LockOwnerKey |
Lock owner keys |
string |
None. |
{
"Header": {
"Message": "sample string 1",
"StatusCode": 0,
"Status": "sample string 2",
"ErrorId": "sample string 3"
},
"Body": {
"LockOwnerKey": "sample string 1"
}
}
<LockOwnerKeyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses.Lock">
<Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses.Lock" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses">
<d2p1:LockOwnerKey>sample string 1</d2p1:LockOwnerKey>
</Body>
<Header xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses">
<ErrorId>sample string 3</ErrorId>
<Message>sample string 1</Message>
<Status>sample string 2</Status>
<StatusCode>Ok</StatusCode>
</Header>
</LockOwnerKeyResponse>