| All Verbs | /api/connectionrequests/{ConnectionRequestId}/resend |
|---|
export class ConnectionRequestResendResponse
{
public ResponseStatus: ResponseStatus;
public constructor(init?: Partial<ConnectionRequestResendResponse>) { (Object as any).assign(this, init); }
}
/** @description 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. ")
export class ConnectionRequestResend
{
/** @description 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 ConnectionRequestId: string;
/** @description Resend connection request for the specified contact id. */
// @ApiMember(Description="Resend connection request for the specified contact id.", IsRequired=true, Name="ContactId")
public ContactId: string;
public constructor(init?: Partial<ConnectionRequestResend>) { (Object as any).assign(this, init); }
}
TypeScript 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"}}}