BootView WebApi

<back to all web services

CreateBootRevision

The following routes are available for this service:
POST/boots/bootversions/{VersionId}/bootrevisionsCreates a new revision for a given boot version
CreateBootRevision Parameters:
NameParameterData TypeRequiredDescription
VersionIdpathGuidYesboot version id
RevisionNumberbodyintYesrevision number
DescriptionbodystringYesrevision description
RotatingbodyboolYesis Rotating boot code
HttpResult Parameters:
NameParameterData TypeRequiredDescription
ResponseTextformstringNo
FileInfoformFileInfoNo
ContentTypeformstringNo
HeadersformDictionary<string, string>No
CookiesformList<Cookie>No
ETagformstringNo
AgeformTimeSpan?No
MaxAgeformTimeSpan?No
ExpiresformDateTime?No
LastModifiedformDateTime?No
CacheControlformCacheControlNo
ResultScopeformFunc<IDisposable>No
AllowsPartialResponseformboolNo
OptionsformIDictionary<string, string>No
StatusformintNo
StatusCodeformHttpStatusCodeNo
StatusDescriptionformstringNo
ResponseformObjectNo
ResponseFilterformIContentTypeWriterNo
RequestContextformIRequestNo
ViewformstringNo
TemplateformstringNo
PaddingLengthformintNo
IsPartialRequestformboolNo
CacheControl Enum:
NameValue
None0
Public1
Private2
MustRevalidate4
NoCache8
NoStore16
NoTransform32
ProxyRevalidate64
IRequest Parameters:
NameParameterData TypeRequiredDescription
OriginalRequestformObjectNo
ResponseformIResponseNo
OperationNameformstringNo
VerbformstringNo
RequestAttributesformRequestAttributesNo
RequestPreferencesformIRequestPreferencesNo
DtoformObjectNo
ContentTypeformstringNo
IsLocalformboolNo
UserAgentformstringNo
CookiesformIDictionary<string, Cookie>No
ResponseContentTypeformstringNo
HasExplicitResponseContentTypeformboolNo
ItemsformDictionary<string, Object>No
HeadersformNameValueCollectionNo
QueryStringformNameValueCollectionNo
FormDataformNameValueCollectionNo
UseBufferedStreamformboolNo
RawUrlformstringNo
AbsoluteUriformstringNo
UserHostAddressformstringNo
RemoteIpformstringNo
AuthorizationformstringNo
IsSecureConnectionformboolNo
AcceptTypesformstring[]No
PathInfoformstringNo
OriginalPathInfoformstringNo
ContentLengthformlongNo
FilesformIHttpFile[]No
UrlReferrerformUriNo
IResponse Parameters:
NameParameterData TypeRequiredDescription
OriginalResponseformObjectNo
RequestformIRequestNo
StatusCodeformintNo
StatusDescriptionformstringNo
ContentTypeformstringNo
DtoformObjectNo
UseBufferedStreamformboolNo
IsClosedformboolNo
KeepAliveformboolNo
HasStartedformboolNo
ItemsformDictionary<string, Object>No
RequestAttributes Enum:
NameValue
None0
Localhost1
LocalSubnet2
External4
Secure8
InSecure16
AnySecurityMode24
HttpHead32
HttpGet64
HttpPost128
HttpPut256
HttpDelete512
HttpPatch1024
HttpOptions2048
HttpOther4096
AnyHttpMethod8160
OneWay8192
Reply16384
AnyCallStyle24576
Soap1132768
Soap1265536
Xml131072
Json262144
Jsv524288
ProtoBuf1048576
Csv2097152
Html4194304
Wire8388608
MsgPack16777216
FormatOther33554432
AnyFormat67076096
Http67108864
MessageQueue134217728
Tcp268435456
Grpc536870912
EndpointOther1073741824
AnyEndpoint2080374784
InProcess-2147483648
InternalNetworkAccess-2147483645
AnyNetworkAccessType-2147483641
Any-1
IRequestPreferences Parameters:
NameParameterData TypeRequiredDescription
AcceptsGzipformboolNo
AcceptsDeflateformboolNo
IHttpFile Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
FileNameformstringNo
ContentLengthformlongNo
ContentTypeformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /boots/bootversions/{VersionId}/bootrevisions HTTP/1.1 
Host: api.paylock.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	versionId: 00000000000000000000000000000000,
	revisionNumber: 0,
	description: String,
	rotating: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	
}