POST api/joinsa/endorse

Request Information

URI Parameters

None.

Body Parameters

Endorsements
NameDescriptionTypeAdditional information
ID

integer

None.

MembershipId

integer

None.

AlternateId

string

None.

NameFirst

string

None.

NameLast

string

None.

Email

string

None.

BrokerageName

string

None.

EndorsedAgent

integer

None.

IntitiatedEndorsement

boolean

None.

CreateDate

date

None.

SourceCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MembershipId": 1,
  "AlternateId": "sample string 2",
  "NameFirst": "sample string 3",
  "NameLast": "sample string 4",
  "Email": "sample string 5",
  "BrokerageName": "sample string 6",
  "EndorsedAgent": 1,
  "IntitiatedEndorsement": true,
  "CreateDate": "2022-12-02T03:51:49.3573997+00:00",
  "SourceCode": "sample string 9"
}

text/html

Sample:
{"ID":1,"MembershipId":1,"AlternateId":"sample string 2","NameFirst":"sample string 3","NameLast":"sample string 4","Email":"sample string 5","BrokerageName":"sample string 6","EndorsedAgent":1,"IntitiatedEndorsement":true,"CreateDate":"2022-12-02T03:51:49.3573997+00:00","SourceCode":"sample string 9"}

application/xml, text/xml

Sample:
<Endorsements xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models">
  <AlternateId>sample string 2</AlternateId>
  <BrokerageName>sample string 6</BrokerageName>
  <CreateDate>2022-12-02T03:51:49.3573997+00:00</CreateDate>
  <Email>sample string 5</Email>
  <EndorsedAgent>1</EndorsedAgent>
  <ID>1</ID>
  <IntitiatedEndorsement>true</IntitiatedEndorsement>
  <MembershipId>1</MembershipId>
  <NameFirst>sample string 3</NameFirst>
  <NameLast>sample string 4</NameLast>
  <SourceCode>sample string 9</SourceCode>
</Endorsements>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.