| All Verbs | /api/connectionrequests/{ConnectionRequestId}/resend |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
/**
* 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. ")
open class ConnectionRequestResend
{
/**
* Resend connection request for the specified connection request id.
*/
@ApiMember(Description="Resend connection request for the specified connection request id.", IsRequired=true, Name="ConnectionRequestId")
open var ConnectionRequestId:UUID? = null
/**
* Resend connection request for the specified contact id.
*/
@ApiMember(Description="Resend connection request for the specified contact id.", IsRequired=true, Name="ContactId")
open var ContactId:UUID? = null
}
open class ConnectionRequestResendResponse
{
open var ResponseStatus:ResponseStatus? = null
}
Kotlin 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"}}}