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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	CompanyId: 0,
	Geometry: 
	{
		Name: String,
		CompanyId: 0,
		Wkt: String,
		Color: String,
		Type: Noone,
		Zoom: 0,
		Id: 0,
		Modified: 0001-01-01,
		Created: 0001-01-01,
		ModifiedBy: 0,
		CreatedBy: 0,
		Deleted: False
	},
	ApiKey: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

0