POST api/Phonet/GetCallInfo
Request Information
URI Parameters
None.
Body Parameters
PhonetCallInfoReqName | Description | Type | Additional information |
---|---|---|---|
Request | string |
None. |
|
OtherLegNum | string |
None. |
|
TrunkNum | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "Request": "sample string 1", "OtherLegNum": "sample string 2", "TrunkNum": "sample string 3" }
application/xml, text/xml
Sample:
<PhonetController.PhonetCallInfoReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apec.WebApi.Controllers"> <OtherLegNum>sample string 2</OtherLegNum> <Request>sample string 1</Request> <TrunkNum>sample string 3</TrunkNum> </PhonetController.PhonetCallInfoReq>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PhonetCallInfoResName | Description | Type | Additional information |
---|---|---|---|
OtherLeg | PhonetCallInfoOtherLegRes |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "OtherLeg": { "Name": "sample string 1", "Url": "sample string 2", "UrlText": "sample string 3", "NewEntry": true, "ResponsibleEmployeeExt": "sample string 5", "ResponsibleEmployeeEmail": "sample string 6" } }
application/xml, text/xml
Sample:
<PhonetController.PhonetCallInfoRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apec.WebApi.Controllers"> <OtherLeg> <Name>sample string 1</Name> <NewEntry>true</NewEntry> <ResponsibleEmployeeEmail>sample string 6</ResponsibleEmployeeEmail> <ResponsibleEmployeeExt>sample string 5</ResponsibleEmployeeExt> <Url>sample string 2</Url> <UrlText>sample string 3</UrlText> </OtherLeg> </PhonetController.PhonetCallInfoRes>