POST api/phonesystem/getcustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerLookup
NameDescriptionTypeAdditional information
CallId

string

None.

MasterId

string

None.

CallerId

string

None.

Company

string

None.

NumCalledInto

string

None.

UserInfo

string

None.

Department

integer

None.

ScriptName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CallId": "sample string 1",
  "MasterId": "sample string 2",
  "CallerId": "sample string 3",
  "Company": "sample string 4",
  "NumCalledInto": "sample string 5",
  "UserInfo": "sample string 6",
  "Department": 7,
  "ScriptName": "sample string 8"
}

application/xml, text/xml

Sample:
<CustomerLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apis.dslextreme.com">
  <CallId>sample string 1</CallId>
  <CallerId>sample string 3</CallerId>
  <Company>sample string 4</Company>
  <Department>7</Department>
  <MasterId>sample string 2</MasterId>
  <NumCalledInto>sample string 5</NumCalledInto>
  <ScriptName>sample string 8</ScriptName>
  <UserInfo>sample string 6</UserInfo>
</CustomerLookup>

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 'CustomerLookup'.

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.