Integrator Web Api

<back to all web services

GetMachines

The following routes are available for this service:
GET/machines
GET/machines/{Id}
GET/machines/komitent/{KomitentId}
GET/machines/lokacija/{LokacijaId}
GET/machines/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/GetMachines HTTP/1.1 
Host: www.integrator.hr 
Content-Type: application/xml
Content-Length: length

<GetMachines 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>
</GetMachines>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetMachinesResponse 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" />
</GetMachinesResponse>