POST api/joinsa/saveinviterequest

Request Information

URI Parameters

None.

Body Parameters

InviteRequest
NameDescriptionTypeAdditional information
ID

integer

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

BrokerageName

string

None.

Phone

string

None.

ZipCode

string

None.

AddedToQueue

boolean

None.

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Email": "sample string 4",
  "BrokerageName": "sample string 5",
  "Phone": "sample string 6",
  "ZipCode": "sample string 7",
  "AddedToQueue": true,
  "CreateDate": "2021-07-31T06:54:34.7958313+00:00"
}

text/html

Sample:
{"ID":1,"FirstName":"sample string 2","LastName":"sample string 3","Email":"sample string 4","BrokerageName":"sample string 5","Phone":"sample string 6","ZipCode":"sample string 7","AddedToQueue":true,"CreateDate":"2021-07-31T06:54:34.7958313+00:00"}

application/xml, text/xml

Sample:
<InviteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
  <AddedToQueue>true</AddedToQueue>
  <BrokerageName>sample string 5</BrokerageName>
  <CreateDate>2021-07-31T06:54:34.7958313+00:00</CreateDate>
  <Email>sample string 4</Email>
  <FirstName>sample string 2</FirstName>
  <ID>1</ID>
  <LastName>sample string 3</LastName>
  <Phone>sample string 6</Phone>
  <ZipCode>sample string 7</ZipCode>
</InviteRequest>

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 'InviteRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.