POST api/EventRegister/AddNonMember

Request Information

URI Parameters

None.

Body Parameters

NonMemberModel
NameDescriptionTypeAdditional information
PersonId

integer

None.

EmailAddress

string

None.

Title

string

None.

FirstName

string

None.

Surname

string

None.

ContactNumber

string

None.

Address

string

None.

TelephoneMobile

string

None.

Organisation

string

None.

ProfessionId

integer

None.

SpecialityId

integer

None.

CouncilSuffix

string

None.

CouncilPrefix

string

None.

IsActive

boolean

None.

Initials

string

None.

EventId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1,
  "EmailAddress": "sample string 1",
  "Title": "sample string 2",
  "FirstName": "sample string 3",
  "Surname": "sample string 4",
  "ContactNumber": "sample string 5",
  "Address": "sample string 6",
  "TelephoneMobile": "sample string 7",
  "Organisation": "sample string 8",
  "ProfessionId": 1,
  "SpecialityId": 1,
  "CouncilSuffix": "sample string 9",
  "CouncilPrefix": "sample string 10",
  "IsActive": true,
  "Initials": "sample string 11",
  "EventId": 12
}

application/xml, text/xml

Sample:
<NonMemberModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Models">
  <Address>sample string 6</Address>
  <ContactNumber>sample string 5</ContactNumber>
  <CouncilPrefix>sample string 10</CouncilPrefix>
  <CouncilSuffix>sample string 9</CouncilSuffix>
  <EmailAddress>sample string 1</EmailAddress>
  <EventId>12</EventId>
  <FirstName>sample string 3</FirstName>
  <Initials>sample string 11</Initials>
  <IsActive>true</IsActive>
  <Organisation>sample string 8</Organisation>
  <PersonId>1</PersonId>
  <ProfessionId>1</ProfessionId>
  <SpecialityId>1</SpecialityId>
  <Surname>sample string 4</Surname>
  <TelephoneMobile>sample string 7</TelephoneMobile>
  <Title>sample string 2</Title>
</NonMemberModel>

multipart/form-data

Sample:
<NonMemberModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Models"><Address>sample string 6</Address><ContactNumber>sample string 5</ContactNumber><CouncilPrefix>sample string 10</CouncilPrefix><CouncilSuffix>sample string 9</CouncilSuffix><EmailAddress>sample string 1</EmailAddress><EventId>12</EventId><FirstName>sample string 3</FirstName><Initials>sample string 11</Initials><IsActive>true</IsActive><Organisation>sample string 8</Organisation><PersonId>1</PersonId><ProfessionId>1</ProfessionId><SpecialityId>1</SpecialityId><Surname>sample string 4</Surname><TelephoneMobile>sample string 7</TelephoneMobile><Title>sample string 2</Title></NonMemberModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.