GET | /boots/{versionid}/bootrevisions | Gets the Boot Revisions for a given Boot Version | |
---|---|---|---|
GET | /boots/bootversions/{versionid}/bootrevisions | Gets the Boot Revisions for a given Boot Version |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
VersionId | path | Guid | Yes | The Boot Version Id. |
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/{versionid}/bootrevisions HTTP/1.1 Host: api.paylock.com Accept: application/xml
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>