| POST | /ccs/city/view/template/newarea |
|---|
export class TemplateNewArea
{
/**
* UserID that access the Service
*/
// @ApiMember(Description="UserID that access the Service", IsRequired=true)
public userid?: string;
/**
* GroupID Accessgroup for this template
*/
// @ApiMember(Description="GroupID Accessgroup for this template", IsRequired=true)
public groupid?: string;
/**
* Viewarea Longitude x1
*/
// @ApiMember(Description="Viewarea Longitude x1", IsRequired=true)
public ax: number;
/**
* Viewarea Latitude y1
*/
// @ApiMember(Description="Viewarea Latitude y1", IsRequired=true)
public ay: number;
/**
* Viewarea Longitude x2
*/
// @ApiMember(Description="Viewarea Longitude x2", IsRequired=true)
public bx: number;
/**
* Viewarea Latitude y2
*/
// @ApiMember(Description="Viewarea Latitude y2", IsRequired=true)
public by: number;
/**
* Viewarea Longitude x3
*/
// @ApiMember(Description="Viewarea Longitude x3", IsRequired=true)
public cx: number;
/**
* Viewarea Latitude y3
*/
// @ApiMember(Description="Viewarea Latitude y3", IsRequired=true)
public cy: number;
/**
* Viewarea Longitude x4
*/
// @ApiMember(Description="Viewarea Longitude x4", IsRequired=true)
public dx: number;
/**
* Viewarea Latitude y4
*/
// @ApiMember(Description="Viewarea Latitude y4", IsRequired=true)
public dy: number;
/**
* Name of the Template
*/
// @ApiMember(Description="Name of the Template", IsRequired=true)
public name?: string;
/**
* Comment of the Template
*/
// @ApiMember(Description="Comment of the Template", IsRequired=true)
public comment?: string;
/**
* list of query views
*/
// @ApiMember(Description="list of query views", IsRequired=true)
public viewids?: string;
/**
* detail level of data
*/
// @ApiMember(Description="detail level of data", IsRequired=true)
public detail: number;
/**
* url of the live cockpit
*/
// @ApiMember(Description="url of the live cockpit")
public livecockpit?: string;
/**
* url of the statistic cockpit
*/
// @ApiMember(Description="url of the statistic cockpit")
public staticcockpit?: string;
/**
* url of the query rest call
*/
// @ApiMember(Description="url of the query rest call")
public restcall?: string;
public constructor(init?: Partial<TemplateNewArea>) { (Object as any).assign(this, init); }
}
TypeScript TemplateNewArea DTOs
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/template/newarea HTTP/1.1
Host: 188.138.100.94
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"userid":"String","groupid":"String","ax":0,"ay":0,"bx":0,"by":0,"cx":0,"cy":0,"dx":0,"dy":0,"name":"String","comment":"String","viewids":"String","detail":0,"livecockpit":"String","staticcockpit":"String","restcall":"String"}