POST api/Messages/PostDriverMessage
Request Information
URI Parameters
None.
Body Parameters
ReceiveTextName | Description | Type | Additional information |
---|---|---|---|
MobileTextMessageLogID | integer |
None. |
|
VehicleID | integer |
None. |
|
VehicleNumber | string |
None. |
|
DriverID | integer |
None. |
|
DriverNumber | string |
None. |
|
DriverName | string |
None. |
|
MobileTabletSetups_ID | integer |
None. |
|
TabletID | string |
None. |
|
DateTransmitted | date |
None. |
|
TextMessage | string |
None. |
|
FireBaseMessageID | string |
None. |
|
DeliveredTime | date |
None. |
|
SendID | integer |
None. |
|
SendName | integer |
None. |
|
ReceiveID | integer |
None. |
|
Direction | string |
None. |
|
LinkID | string |
None. |
|
Viewed | boolean |
None. |
|
APIKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MobileTextMessageLogID": 1, "VehicleID": 2, "VehicleNumber": "sample string 3", "DriverID": 4, "DriverNumber": "sample string 5", "DriverName": "sample string 6", "MobileTabletSetups_ID": 7, "TabletID": "sample string 8", "DateTransmitted": "2024-11-21T04:46:36.8748602-05:00", "TextMessage": "sample string 10", "FireBaseMessageID": "sample string 11", "DeliveredTime": "2024-11-21T04:46:36.8748602-05:00", "SendID": 13, "SendName": 14, "ReceiveID": 15, "Direction": "sample string 16", "LinkID": "sample string 17", "Viewed": true, "APIKey": "sample string 19" }
application/xml, text/xml
Sample:
<TextMessageModel.ReceiveText xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <APIKey>sample string 19</APIKey> <DateTransmitted>2024-11-21T04:46:36.8748602-05:00</DateTransmitted> <DeliveredTime>2024-11-21T04:46:36.8748602-05:00</DeliveredTime> <Direction>sample string 16</Direction> <DriverID>4</DriverID> <DriverName>sample string 6</DriverName> <DriverNumber>sample string 5</DriverNumber> <FireBaseMessageID>sample string 11</FireBaseMessageID> <LinkID>sample string 17</LinkID> <MobileTabletSetups_ID>7</MobileTabletSetups_ID> <MobileTextMessageLogID>1</MobileTextMessageLogID> <ReceiveID>15</ReceiveID> <SendID>13</SendID> <SendName>14</SendName> <TabletID>sample string 8</TabletID> <TextMessage>sample string 10</TextMessage> <VehicleID>2</VehicleID> <VehicleNumber>sample string 3</VehicleNumber> <Viewed>true</Viewed> </TextMessageModel.ReceiveText>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.