POST api/Logging/PostLogging
Request Information
URI Parameters
None.
Body Parameters
LoggingName | Description | Type | Additional information |
---|---|---|---|
LoggingId | integer |
None. |
|
VehicleId | integer |
None. |
|
ActivityId | integer |
None. |
|
LocationId | integer |
None. |
|
ClientId | integer |
None. |
|
Odometer | integer |
None. |
|
Stops | integer |
None. |
|
Update | string |
None. |
|
Comments | string |
None. |
|
LoggingDate | date |
None. |
|
LocationGeoCode | string |
None. |
|
LocationGPS | DbGeography |
None. |
|
PracticeId | integer |
None. |
|
DriverId | string |
None. |
|
AssistantId | string |
None. |
|
Longitude | decimal number |
None. |
|
Latitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "LoggingId": 1, "VehicleId": 1, "ActivityId": 1, "LocationId": 1, "ClientId": 1, "Odometer": 1, "Stops": 1, "Update": "sample string 2", "Comments": "sample string 3", "LoggingDate": "2024-12-21T06:05:02.4587322+00:00", "LocationGeoCode": "sample string 4", "LocationGPS": null, "PracticeId": 1, "DriverId": "sample string 5", "AssistantId": "sample string 6", "Longitude": 1.1, "Latitude": 1.1 }
text/html
Sample:
{"LoggingId":1,"VehicleId":1,"ActivityId":1,"LocationId":1,"ClientId":1,"Odometer":1,"Stops":1,"Update":"sample string 2","Comments":"sample string 3","LoggingDate":"2024-12-21T06:05:02.4587322+00:00","LocationGeoCode":"sample string 4","LocationGPS":null,"PracticeId":1,"DriverId":"sample string 5","AssistantId":"sample string 6","Longitude":1.1,"Latitude":1.1}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LoggingName | Description | Type | Additional information |
---|---|---|---|
LoggingId | integer |
None. |
|
VehicleId | integer |
None. |
|
ActivityId | integer |
None. |
|
LocationId | integer |
None. |
|
ClientId | integer |
None. |
|
Odometer | integer |
None. |
|
Stops | integer |
None. |
|
Update | string |
None. |
|
Comments | string |
None. |
|
LoggingDate | date |
None. |
|
LocationGeoCode | string |
None. |
|
LocationGPS | DbGeography |
None. |
|
PracticeId | integer |
None. |
|
DriverId | string |
None. |
|
AssistantId | string |
None. |
|
Longitude | decimal number |
None. |
|
Latitude | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "LoggingId": 1, "VehicleId": 1, "ActivityId": 1, "LocationId": 1, "ClientId": 1, "Odometer": 1, "Stops": 1, "Update": "sample string 2", "Comments": "sample string 3", "LoggingDate": "2024-12-21T06:05:02.552468+00:00", "LocationGeoCode": "sample string 4", "LocationGPS": null, "PracticeId": 1, "DriverId": "sample string 5", "AssistantId": "sample string 6", "Longitude": 1.1, "Latitude": 1.1 }
text/html
Sample:
{"LoggingId":1,"VehicleId":1,"ActivityId":1,"LocationId":1,"ClientId":1,"Odometer":1,"Stops":1,"Update":"sample string 2","Comments":"sample string 3","LoggingDate":"2024-12-21T06:05:02.552468+00:00","LocationGeoCode":"sample string 4","LocationGPS":null,"PracticeId":1,"DriverId":"sample string 5","AssistantId":"sample string 6","Longitude":1.1,"Latitude":1.1}
application/xml
Sample:
text/xml
Sample: