Integrator Web Api

<back to all web services

GetMachineInfos

The following routes are available for this service:
GET/machineinfos
GET/machineinfos/{Id}
GET/machineinfos/komitent/{KomitentId}
GET/machineinfos/lokacija/{LokacijaId}
GET/machineinfos/stroj/{StrojId}

To override the Content-type in your clients 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 /xml/reply/GetMachineInfos HTTP/1.1 
Host: www.integrator.hr 
Content-Type: application/xml
Content-Length: length

<GetMachineInfos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Integrator.Sys.ServiceModel">
  <Id>String</Id>
  <KomitentId>0</KomitentId>
  <LokacijaId>0</LokacijaId>
  <StrojId>0</StrojId>
</GetMachineInfos>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetMachineInfosResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Integrator.Sys.ServiceModel">
  <Machines xmlns:d2p1="http://schemas.datacontract.org/2004/07/Integrator.Sys.ServiceModel.Types" i:nil="true" />
</GetMachineInfosResponse>