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
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class ConnectionRequestResendResponse:
    response_status: Optional[ResponseStatus] = None


# @Api(Description="Resend the connection request. An invitation email is sent if the user is not registered. ")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class ConnectionRequestResend:
    """
    Resend the connection request. An invitation email is sent if the user is not registered. 
    """

    # @ApiMember(Description="Resend connection request for the specified connection request id.", IsRequired=true, Name="ConnectionRequestId")
    connection_request_id: Optional[str] = None
    """
    Resend connection request for the specified connection request id.
    """


    # @ApiMember(Description="Resend connection request for the specified contact id.", IsRequired=true, Name="ContactId")
    contact_id: Optional[str] = None
    """
    Resend connection request for the specified contact id.
    """

Python 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"}}}