POST api/UserInvite

Request Information

URI Parameters

None.

Body Parameters

UserInviteData
NameDescriptionTypeAdditional information
ID

integer

None.

EmailAddress

string

None.

RoleID

integer

None.

ClientID

integer

None.

InviteCode

string

None.

InviteSent

date

None.

InviteExpires

date

None.

RegisteredOn

date

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "EmailAddress": "sample string 2",
  "RoleID": 3,
  "ClientID": 4,
  "InviteCode": "sample string 5",
  "InviteSent": "2026-02-10T16:09:44.8099775-08:00",
  "InviteExpires": "2026-02-10T16:09:44.8099775-08:00",
  "RegisteredOn": "2026-02-10T16:09:44.8099775-08:00",
  "Status": 6
}

text/xml

Sample:
<UserInviteData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAS.DAL">
  <ClientID>4</ClientID>
  <EmailAddress>sample string 2</EmailAddress>
  <ID>1</ID>
  <InviteCode>sample string 5</InviteCode>
  <InviteExpires>2026-02-10T16:09:44.8099775-08:00</InviteExpires>
  <InviteSent>2026-02-10T16:09:44.8099775-08:00</InviteSent>
  <RegisteredOn>2026-02-10T16:09:44.8099775-08:00</RegisteredOn>
  <RoleID>3</RoleID>
  <Status>6</Status>
</UserInviteData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserInviteData'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.