Gtm.Api.V1

<back to all web services

UpdateIbutton

The following routes are available for this service:
All Verbs/api/v1/ibuttons/{Id}/update
PUT/api/v1/UpdateIbutton
PUT/api/v1/UpdateIbutton/{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/UpdateIbutton HTTP/1.1 
Host: apiv1.gtm.gits2.nl 
Content-Type: application/xml
Content-Length: length

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

<UpdateIbuttonResponse 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>
</UpdateIbuttonResponse>