This function will edit an existing touch key record in the database with the updated information. INPUTS==> route information (TOUCH KEY ID, LOCATION ID). RETURN==> (result)
None.
EditTouchKeyRequest
EditTouchKeyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TouchKeyId |
Touch Key ID |
string |
Required |
| LocationId |
Location ID |
string |
None. |
{
"TouchKeyId": "sample string 1",
"LocationId": "sample string 2"
}
<EditTouchKeyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Requests.TouchKey"> <LocationId>sample string 2</LocationId> <TouchKeyId>sample string 1</TouchKeyId> </EditTouchKeyRequest>
Sample not available.
EditTouchKeyResponse
EditTouchKeyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | ResponseHeader |
None. |
|
| Body | EditTouchKeyResponseBody |
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 |
|---|---|---|---|
| TouchKeyModified |
Flag to show if touch key successfully modified |
boolean |
None. |
{
"Header": {
"Message": "sample string 1",
"StatusCode": 0,
"Status": "sample string 2",
"ErrorId": "sample string 3"
},
"Body": {
"TouchKeyModified": true
}
}
<EditTouchKeyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses.TouchKey">
<Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses.TouchKey" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses">
<d2p1:TouchKeyModified>true</d2p1:TouchKeyModified>
</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>
</EditTouchKeyResponse>