Save a record to the operator audit trail. INPUTS==> OPERATOR NAME, TYPE, SUBJECT, FUNCTION ID, FUNCTION KEY. RETURN==> (result)
None.
| Name | Description | Type | Additional information |
|---|---|---|---|
| OperatorName |
Operator Name |
string |
Required |
| ChangeType |
Type of change |
string |
Required |
| SubjectID |
Subject ID |
string |
Required |
| FunctionKey |
Function Key |
string |
None. |
| FunctionID |
Function ID |
string |
None. |
| LocationID |
Location ID |
string |
None. |
{
"OperatorName": "sample string 1",
"ChangeType": "sample string 2",
"SubjectID": "sample string 3",
"FunctionKey": "sample string 4",
"FunctionID": "sample string 5",
"LocationID": "sample string 6"
}
<SaveOperatorAuditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Requests"> <ChangeType>sample string 2</ChangeType> <FunctionID>sample string 5</FunctionID> <FunctionKey>sample string 4</FunctionKey> <LocationID>sample string 6</LocationID> <OperatorName>sample string 1</OperatorName> <SubjectID>sample string 3</SubjectID> </SaveOperatorAuditRequest>
Sample not available.
SaveOperatorAuditResponse
SaveOperatorAuditResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | ResponseHeader |
None. |
|
| Body | SaveOperatorAuditResponseBody |
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 |
|---|---|---|---|
| OperAuditID |
Audit ID for the operator |
integer |
None. |
| OperatorSaved |
Flag to show if the operator was successfully added |
boolean |
None. |
{
"Header": {
"Message": "sample string 1",
"StatusCode": 0,
"Status": "sample string 2",
"ErrorId": "sample string 3"
},
"Body": {
"OperAuditID": 1,
"OperatorSaved": true
}
}
<SaveOperatorAuditResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses">
<Body>
<OperAuditID>1</OperAuditID>
<OperatorSaved>true</OperatorSaved>
</Body>
<Header>
<ErrorId>sample string 3</ErrorId>
<Message>sample string 1</Message>
<Status>sample string 2</Status>
<StatusCode>Ok</StatusCode>
</Header>
</SaveOperatorAuditResponse>