BootView WebApi

<back to all web services

GetSingleBootCode

The following routes are available for this service:
GET/gencode/singleReturns The Requested Code
GetSingleBootCode Parameters:
NameParameterData TypeRequiredDescription
device_idpathStringYesThe serial # of the Boot for which codes are being requested
immobilization_idpathStringNoThe Client side id assisgned to the immobilization
BootCodeResult Parameters:
NameParameterData TypeRequiredDescription
immobilization_release_codeformstringNo

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.

GET /gencode/single HTTP/1.1 
Host: api.paylock.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BootCodeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
  <immobilization_release_code>String</immobilization_release_code>
</BootCodeResult>