PUT api/log
Request Information
URI Parameters
None.
Body Parameters
logObject| Name | Description | Type | Additional information |
|---|---|---|---|
| comments | string |
None. |
|
| id | integer |
None. |
|
| lat | string |
None. |
|
| location | string |
None. |
|
| lon | string |
None. |
|
| mileageEnd | integer |
None. |
|
| mileageStart | integer |
None. |
|
| name | string |
None. |
|
| status | string |
None. |
|
| timestamp | Timestamp |
None. |
|
| type | string |
None. |
|
| userId | integer |
None. |
|
| userName | string |
None. |
|
| COPcaseNumber | string |
None. |
|
| caseId | integer |
None. |
|
| verb | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"comments": "sample string 1",
"id": 2,
"lat": "sample string 3",
"location": "sample string 4",
"lon": "sample string 5",
"mileageEnd": 6,
"mileageStart": 7,
"name": "sample string 8",
"status": "sample string 9",
"timestamp": {
"date": 1,
"day": 2,
"hours": 3,
"minutes": 4,
"month": 5,
"nanos": 6,
"seconds": 7,
"time": 8,
"timezoneOffset": 9,
"year": 10
},
"type": "sample string 10",
"userId": 11,
"userName": "sample string 12",
"COPcaseNumber": "sample string 13",
"caseId": 14,
"verb": "sample string 15"
}
application/xml, text/xml
Sample:
<logObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/graffitiDataServiceEF.jsonObjects">
<COPcaseNumber>sample string 13</COPcaseNumber>
<caseId>14</caseId>
<comments>sample string 1</comments>
<id>2</id>
<lat>sample string 3</lat>
<location>sample string 4</location>
<lon>sample string 5</lon>
<mileageEnd>6</mileageEnd>
<mileageStart>7</mileageStart>
<name>sample string 8</name>
<status>sample string 9</status>
<timestamp>
<date>1</date>
<day>2</day>
<hours>3</hours>
<minutes>4</minutes>
<month>5</month>
<nanos>6</nanos>
<seconds>7</seconds>
<time>8</time>
<timezoneOffset>9</timezoneOffset>
<year>10</year>
</timestamp>
<type>sample string 10</type>
<userId>11</userId>
<userName>sample string 12</userName>
<verb>sample string 15</verb>
</logObject>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>