Platform API

<back to all web services

ConnectionRequestResend

Resend the connection request. An invitation email is sent if the user is not registered.

Requires Authentication
The following routes are available for this service:
All Verbs/api/connectionrequests/{ConnectionRequestId}/resend
namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type ConnectionRequestResendResponse() = 
        member val ResponseStatus:ResponseStatus = null with get,set

    ///<summary>
    ///Resend the connection request. An invitation email is sent if the user is not registered. 
    ///</summary>
    [<Api(Description="Resend the connection request. An invitation email is sent if the user is not registered. ")>]
    [<AllowNullLiteral>]
    type ConnectionRequestResend() = 
        ///<summary>
        ///Resend connection request for the specified connection request id.
        ///</summary>
        [<ApiMember(Description="Resend connection request for the specified connection request id.", IsRequired=true, Name="ConnectionRequestId")>]
        member val ConnectionRequestId:Guid = new Guid() with get,set

        ///<summary>
        ///Resend connection request for the specified contact id.
        ///</summary>
        [<ApiMember(Description="Resend connection request for the specified contact id.", IsRequired=true, Name="ContactId")>]
        member val ContactId:Guid = new Guid() with get,set

F# ConnectionRequestResend DTOs

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

HTTP + OTHER

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

POST /api/connectionrequests/{ConnectionRequestId}/resend HTTP/1.1 
Host: pfapi.pstpf.com.au 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"ConnectionRequestId":"00000000-0000-0000-0000-000000000000","ContactId":"00000000-0000-0000-0000-000000000000"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

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