Monitor Report Server

<back to all web services

NewGeometryRequest

The following routes are available for this service:
POST/newgeometry
NewGeometryRequest Parameters:
NameParameterData TypeRequiredDescription
CompanyIdbodyintNo
GeometrybodyGeometryNo
ApiRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
Geometry Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
CompanyIdformintNo
WktformstringNo
ColorformstringNo
TypeformGeometryTypeNo
ZoomformintNo
SystemItemBase Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ModifiedformDateTimeNo
CreatedformDateTimeNo
ModifiedByformintNo
CreatedByformintNo
DeletedformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /newgeometry HTTP/1.1 
Host: api.v3.monitorsystem.ru 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"CompanyId":0,"Geometry":{"Name":"String","CompanyId":0,"Wkt":"String","Color":"String","Type":"Noone","Zoom":0,"Id":0,"Modified":"\/Date(-62135596800000-0000)\/","Created":"\/Date(-62135596800000-0000)\/","ModifiedBy":0,"CreatedBy":0,"Deleted":false},"ApiKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

0