| POST | /ccs/city/view/floating/new |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| userid | body | string | Yes | UserID that access the Service |
| ax | body | double | Yes | Viewarea Longitude x1 |
| ay | body | double | Yes | Viewarea Latitude y1 |
| bx | body | double | Yes | Viewarea Longitude x2 |
| by | body | double | Yes | Viewarea Latitude y2 |
| cx | body | double | Yes | Viewarea Longitude x3 |
| cy | body | double | Yes | Viewarea Latitude y3 |
| dx | body | double | Yes | Viewarea Longitude x4 |
| dy | body | double | Yes | Viewarea Latitude y4 |
| name | body | string | Yes | Name of the Service |
| comment | body | string | Yes | Comment of the Service |
| color | body | string | Yes | Color of the current view |
| passable | body | JPassable | Yes | Passable information |
| AltitudeRef | body | string | Yes | Altitude Reference |
| Altitude | body | double | No | Altitude |
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.
POST /ccs/city/view/floating/new HTTP/1.1
Host: 188.138.100.94
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"userid":"String","ax":0,"ay":0,"bx":0,"by":0,"cx":0,"cy":0,"dx":0,"dy":0,"name":"String","comment":"String","color":"String","passable":{"All":{"From":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0},"To":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0}},"Friday":{"From":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0},"To":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0}},"Monday":{"From":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0},"To":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0}},"Saturday":{"From":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0},"To":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0}},"Sunday":{"From":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0},"To":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0}},"Thursday":{"From":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0},"To":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0}},"Tuesday":{"From":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0},"To":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0}},"Wednesday":{"From":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0},"To":{"Active":false,"Hours":0,"Minutes":0,"Seconds":0}}},"AltitudeRef":"String","Altitude":0}