GET,POST | /db/objects |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Modified | body | DateTime? | No | |
CompanyId | body | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApiKey | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /db/objects HTTP/1.1
Host: api.v3.monitorsystem.ru
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Modified":"\/Date(-62135596800000-0000)\/","CompanyId":0,"ApiKey":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length [{"Id":0,"Type":0,"CompanyId":0,"ObjectMarkerId":0,"ImageId":0,"Name":"String","Label":"String","Description":"String","Model":"String","Number":"String","DriverId":0,"Notes":"String","ExternalId":"String","DeviceId":0,"MonitoringSettings":"String","Fake":false,"Disabled":false,"Created":"\/Date(-62135596800000-0000)\/","CreatedBy":0,"Modified":"\/Date(-62135596800000-0000)\/","ModifiedBy":0,"Deleted":false,"BillingId":"String","TariffStartDate":"\/Date(-62135596800000-0000)\/","TariffModules":0,"SourceObjectId":0,"TariffId":0,"ContractorId":"String","AdminDescription":"String"}]