URL
https://devwebapi.leadmaster.com/api/LMWebAPI/AttachAudioFiles?accesstoken={accesstoken}
Description
Add AudioFiles to Contact
HttpMethod
POST
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| accesstoken | accesstoken for the given logon. |
Define this parameter in the request URI. |
| af | attached audio files data. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"CallID": 1.1,
"RecdNo": 2.1,
"ContactID": 3.1,
"DateOfCall": "sample string 4",
"StartTime": "sample string 5",
"StopTime": "sample string 6",
"Duration": "sample string 7",
"PhoneNumberCalled": "sample string 8",
"PhoneNumberOfCaller": "sample string 9",
"LinkToAudio": "sample string 10",
"CompanyId": 11.1
}
application/xml, text/xml
Sample:
<AttachedAudioFiles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects"> <CallID>1.1</CallID> <CompanyId>11.1</CompanyId> <ContactID>3.1</ContactID> <DateOfCall>sample string 4</DateOfCall> <Duration>sample string 7</Duration> <LinkToAudio>sample string 10</LinkToAudio> <PhoneNumberCalled>sample string 8</PhoneNumberCalled> <PhoneNumberOfCaller>sample string 9</PhoneNumberOfCaller> <RecdNo>2.1</RecdNo> <StartTime>sample string 5</StartTime> <StopTime>sample string 6</StopTime> </AttachedAudioFiles>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>