| All Verbs | /api/connectionrequests/{ConnectionRequestId}/resend |
|---|
import Foundation
import ServiceStack
/**
* Resend the connection request. An invitation email is sent if the user is not registered.
*/
// @Api(Description="Resend the connection request. An invitation email is sent if the user is not registered. ")
public class ConnectionRequestResend : Codable
{
/**
* Resend connection request for the specified connection request id.
*/
// @ApiMember(Description="Resend connection request for the specified connection request id.", IsRequired=true, Name="ConnectionRequestId")
public var connectionRequestId:String
/**
* Resend connection request for the specified contact id.
*/
// @ApiMember(Description="Resend connection request for the specified contact id.", IsRequired=true, Name="ContactId")
public var contactId:String
required public init(){}
}
public class ConnectionRequestResendResponse : Codable
{
public var responseStatus:ResponseStatus
required public init(){}
}
Swift ConnectionRequestResend DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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"}}}