| PATCH | /ccs/city/view/limited/gap/edit |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| id | query | Guid | Yes | Unique View ID |
| userid | query | string | Yes | UserID that access the Service |
| GapId | query | Guid | Yes | Unique Gap ID |
| Name | query | string | Yes | Name of the Gap |
| Comment | query | string | Yes | Comment of the Gap |
| ax | query | double | Yes | Longitude x1 |
| ay | query | double | Yes | Latitude y1 |
| bx | query | double | Yes | Longitude x2 |
| by | query | double | Yes | Latitude y2 |
| cx | query | double | Yes | Longitude x3 |
| cy | query | double | Yes | Latitude y3 |
| dx | query | double | Yes | Longitude x4 |
| dy | query | double | Yes | Latitude y4 |
| intervall | query | List<NotificationLength> | Yes | max stay duration in Minutes |
| frames | query | List<ccsFrameReference> | Yes | list of cleverciti sensor frames |
| rawDataRef | query | string | Yes | Comma seperated list of references to the RawData Object |
| AltitudeRef | query | string | Yes | Altitude Reference |
| Altitude | query | double | No | Altitude |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| name | form | string | No | |
| from | form | int | No | |
| to | form | int | No | |
| rgb | form | string | No | |
| emailNotification | form | List<string> | No | |
| _id | form | ObjectId | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SensorName | form | string | No | |
| SensorIP | form | string | No | |
| TerminatorHost | form | string | No | |
| Frame | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PATCH /ccs/city/view/limited/gap/edit HTTP/1.1
Host: 188.138.100.94
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"id":"00000000000000000000000000000000","userid":"String","GapId":"00000000000000000000000000000000","Name":"String","Comment":"String","ax":0,"ay":0,"bx":0,"by":0,"cx":0,"cy":0,"dx":0,"dy":0,"intervall":[{}],"frames":[{"SensorName":"String","SensorIP":"String","TerminatorHost":"String","Frame":"String"}],"rawDataRef":"String","AltitudeRef":"String","Altitude":0}