BootView WebApi

<back to all web services

GetBootRevisions

The following routes are available for this service:
GET/boots/{versionid}/bootrevisionsGets the Boot Revisions for a given Boot Version
GET/boots/bootversions/{versionid}/bootrevisionsGets the Boot Revisions for a given Boot Version
GetBootRevisions Parameters:
NameParameterData TypeRequiredDescription
VersionIdpathGuidYesThe Boot Version Id.

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.

POST /xml/reply/GetBootRevisions HTTP/1.1 
Host: api.paylock.com 
Content-Type: application/xml
Content-Length: length

<GetBootRevisions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
  <VersionId>00000000-0000-0000-0000-000000000000</VersionId>
</GetBootRevisions>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfBootRevision xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
  <BootRevision>
    <Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Errors>
    <BootRevisionNumber>0</BootRevisionNumber>
    <BootVersionId>00000000-0000-0000-0000-000000000000</BootVersionId>
    <DateCreated>0001-01-01T00:00:00</DateCreated>
    <Description>String</Description>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <RotatingCodes>false</RotatingCodes>
  </BootRevision>
</ArrayOfBootRevision>