POST Api/General/InsertUpdateAgentQAStats
Request Information
URI Parameters
None.
Body Parameters
ParamAgentQAStats| Name | Description | Type | Additional information |
|---|---|---|---|
| Year | integer |
Required |
|
| Month | integer |
Required |
|
| AgentID | integer |
Required |
|
| AgentQAStatsID | integer |
None. |
|
| Total | integer |
None. |
|
| Pass | integer |
None. |
|
| Fail | integer |
None. |
|
| PassRate | decimal number |
None. |
|
| Clip | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Year": 1,
"Month": 2,
"AgentID": 3,
"AgentQAStatsID": 1,
"Total": 1,
"Pass": 1,
"Fail": 1,
"PassRate": 1.0,
"Clip": 1
}
application/xml, text/xml
Sample:
<ParamAgentQAStats xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.General.Parameters"> <AgentID>3</AgentID> <AgentQAStatsID>1</AgentQAStatsID> <Clip>1</Clip> <Fail>1</Fail> <Month>2</Month> <Pass>1</Pass> <PassRate>1</PassRate> <Total>1</Total> <Year>1</Year> </ParamAgentQAStats>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| ErrorMessage | Collection of string |
None. |
|
| Value | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"ErrorMessage": [
"sample string 1",
"sample string 2"
],
"Value": true
}
application/xml, text/xml
Sample:
<ResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.Common.Returns">
<ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorMessage>
<Message>sample string 2</Message>
<Success>true</Success>
<Value>true</Value>
</ResultOfboolean>