Monitor Report Server

<back to all web services

DbObjectsRequest

The following routes are available for this service:
GET,POST/db/objects
DbObjectsRequest Parameters:
NameParameterData TypeRequiredDescription
ModifiedbodyDateTime?No
CompanyIdbodyint?No
ApiRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo

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

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<DbObjectsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.WebApi.Client.Db">
  <ApiKey xmlns="http://schemas.datacontract.org/2004/07/TS.WebApi.Client">String</ApiKey>
  <CompanyId>0</CompanyId>
  <Modified>0001-01-01T00:00:00</Modified>
</DbObjectsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.Data.Server">
  <Object>
    <AdminDescription>String</AdminDescription>
    <BillingId>String</BillingId>
    <CompanyId>0</CompanyId>
    <ContractorId>String</ContractorId>
    <Created>0001-01-01T00:00:00</Created>
    <CreatedBy>0</CreatedBy>
    <Deleted>false</Deleted>
    <Description>String</Description>
    <DeviceId>0</DeviceId>
    <Disabled>false</Disabled>
    <DriverId>0</DriverId>
    <ExternalId>String</ExternalId>
    <Fake>false</Fake>
    <Id>0</Id>
    <ImageId>0</ImageId>
    <Label>String</Label>
    <Model>String</Model>
    <Modified>0001-01-01T00:00:00</Modified>
    <ModifiedBy>0</ModifiedBy>
    <MonitoringSettings>String</MonitoringSettings>
    <Name>String</Name>
    <Notes>String</Notes>
    <Number>String</Number>
    <ObjectMarkerId>0</ObjectMarkerId>
    <SourceObjectId>0</SourceObjectId>
    <TariffId>0</TariffId>
    <TariffModules>0</TariffModules>
    <TariffStartDate>0001-01-01T00:00:00</TariffStartDate>
    <Type>0</Type>
  </Object>
</ArrayOfObject>