POST Api/General/InsertUpdateAgentQAStatsInternet

Request Information

URI Parameters

None.

Body Parameters

ParamAgentQAStatsInternet
NameDescriptionTypeAdditional 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.

Request Formats

application/json, text/json

Sample:
{
  "Year": 1,
  "Month": 2,
  "AgentID": 3,
  "AgentQAStatsID": 1,
  "Total": 1,
  "Pass": 1,
  "Fail": 1,
  "PassRate": 1.0
}

application/xml, text/xml

Sample:
<ParamAgentQAStatsInternet 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>
  <Fail>1</Fail>
  <Month>2</Month>
  <Pass>1</Pass>
  <PassRate>1</PassRate>
  <Total>1</Total>
  <Year>1</Year>
</ParamAgentQAStatsInternet>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultOfBoolean
NameDescriptionTypeAdditional 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>