Gtm.Api.V1

<back to all web services

GetIbutton

The following routes are available for this service:
All Verbs/api/v1/ibuttons/{Id}
GET/api/v1/GetIbutton
GET/api/v1/GetIbutton/{Id}

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/GetIbutton HTTP/1.1 
Host: apiv1.gtm.gits2.nl 
Content-Type: application/xml
Content-Length: length

<GetIbutton xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Ibutton">
  <Id>0</Id>
</GetIbutton>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetIbuttonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Ibutton">
  <Disabled xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Ibutton.Dto">false</Disabled>
  <Driver xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Ibutton.Dto">String</Driver>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Ibutton.Dto">0</Id>
  <KeyCode xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Ibutton.Dto">String</KeyCode>
  <KeyNumber xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Ibutton.Dto">String</KeyNumber>
  <Comment xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Ibutton.Dto">String</Comment>
  <Coordinator xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Ibutton.Dto">String</Coordinator>
</GetIbuttonResponse>