GET | /boots/bootversions | Gets a list of all the Boot Versions |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /boots/bootversions HTTP/1.1 Host: api.paylock.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfBootVersion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel"> <BootVersion> <DateCreated>0001-01-01T00:00:00</DateCreated> <Id>00000000-0000-0000-0000-000000000000</Id> <IsLatestVersion>false</IsLatestVersion> <IsSmartBoot>false</IsSmartBoot> <Label>String</Label> <Notes>String</Notes> <Revisions> <BootRevision> <Errors xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>String</d5p1: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> </Revisions> </BootVersion> </ArrayOfBootVersion>