POST api/SendAudio
Request Information
URI Parameters
None.
Body Parameters
SendAudioName | Description | Type | Additional information |
---|---|---|---|
APIKey | string |
None. |
|
DeviceID | string |
None. |
|
FBToken | string |
None. |
|
DriverNumber | string |
None. |
|
DriverID | integer |
None. |
|
VehicleNumber | string |
None. |
|
VehicleID | integer |
None. |
|
AudioFile | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "APIKey": "sample string 1", "DeviceID": "sample string 2", "FBToken": "sample string 3", "DriverNumber": "sample string 4", "DriverID": 5, "VehicleNumber": "sample string 6", "VehicleID": 7, "AudioFile": "sample string 8" }
application/xml, text/xml
Sample:
<Audio.SendAudio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <APIKey>sample string 1</APIKey> <AudioFile>sample string 8</AudioFile> <DeviceID>sample string 2</DeviceID> <DriverID>5</DriverID> <DriverNumber>sample string 4</DriverNumber> <FBToken>sample string 3</FBToken> <VehicleID>7</VehicleID> <VehicleNumber>sample string 6</VehicleNumber> </Audio.SendAudio>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AudioReturnName | Description | Type | Additional information |
---|---|---|---|
status | boolean |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": true, "message": "sample string 2" }
application/xml, text/xml
Sample:
<Audio.AudioReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <message>sample string 2</message> <status>true</status> </Audio.AudioReturn>