Platform API

<back to all web services

PublicConnectionRequestStatusUpdate

Validate the status of the connection request and accept the request anonymously (without logging in)

The following routes are available for this service:
All Verbs/api/public/connectionrequests/{ConnectionRequestId}/accept
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Eros.Subtle.Canvara.WebAPIModel.ServiceModel

Namespace Global

    Namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel

        Public Partial Class ConnectionRequestStatusUpdateResponse
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class

        '''<Summary>
        '''Validate the status of the connection request and accept the request anonymously (without logging in)
        '''</Summary>
        <Api(Description:="Validate the status of the connection request and accept the request anonymously (without logging in)")>
        Public Partial Class PublicConnectionRequestStatusUpdate
            Implements IPublicServiceModel
            '''<Summary>
            '''Connection request to be updated
            '''</Summary>
            <ApiMember(Description:="Connection request to be updated", IsRequired:=true, Name:="ConnectionRequestId")>
            Public Overridable Property ConnectionRequestId As Guid

            '''<Summary>
            '''Appliance to create a public session and retrieve settings for
            '''</Summary>
            <ApiMember(Description:="Appliance to create a public session and retrieve settings for", Name:="ApplianceId")>
            Public Overridable Property ApplianceId As Guid Implements IPublicServiceModel.ApplianceId

            Public Overridable Property SubdomainName As String Implements IPublicServiceModel.SubdomainName
        End Class
    End Namespace
End Namespace

VB.NET PublicConnectionRequestStatusUpdate DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /api/public/connectionrequests/{ConnectionRequestId}/accept HTTP/1.1 
Host: pfapi.pstpf.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ConnectionRequestId":"00000000-0000-0000-0000-000000000000","ApplianceId":"00000000-0000-0000-0000-000000000000","SubdomainName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}