POST api/phonesystem/addlogentry

Request Information

URI Parameters

None.

Body Parameters

DetailLog
NameDescriptionTypeAdditional information
CallId

string

None.

MasterId

string

None.

CallerId

string

None.

NumCalledInto

string

None.

Direction

string

None.

CallerInput

string

None.

Department

integer

None.

Identifier

string

None.

Id

integer

None.

CustomerId

integer

None.

LocationType

string

None.

Detail1

string

None.

Detail2

string

None.

AgentId

integer

None.

SkillId

integer

None.

ScriptName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CallId": "sample string 1",
  "MasterId": "sample string 2",
  "CallerId": "sample string 3",
  "NumCalledInto": "sample string 4",
  "Direction": "sample string 5",
  "CallerInput": "sample string 6",
  "Department": 7,
  "Identifier": "sample string 8",
  "Id": 9,
  "CustomerId": 10,
  "LocationType": "sample string 11",
  "Detail1": "sample string 12",
  "Detail2": "sample string 13",
  "AgentId": 14,
  "SkillId": 15,
  "ScriptName": "sample string 16"
}

application/xml, text/xml

Sample:
<DetailLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apis.dslextreme.com">
  <AgentId>14</AgentId>
  <CallId>sample string 1</CallId>
  <CallerId>sample string 3</CallerId>
  <CallerInput>sample string 6</CallerInput>
  <CustomerId>10</CustomerId>
  <Department>7</Department>
  <Detail1>sample string 12</Detail1>
  <Detail2>sample string 13</Detail2>
  <Direction>sample string 5</Direction>
  <Id>9</Id>
  <Identifier>sample string 8</Identifier>
  <LocationType>sample string 11</LocationType>
  <MasterId>sample string 2</MasterId>
  <NumCalledInto>sample string 4</NumCalledInto>
  <ScriptName>sample string 16</ScriptName>
  <SkillId>15</SkillId>
</DetailLog>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DetailLog'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.