POST api/postcontact

Request Information

URI Parameters

None.

Body Parameters

ContactModel
NameDescriptionTypeAdditional information
ContactId

integer

None.

SponsorId

integer

None.

ContactListId

integer

None.

Prefix

string

None.

FirstName

string

None.

LastName

string

None.

Address

string

None.

City

string

None.

State

string

None.

ZipCode

string

None.

Email

string

None.

Telephone

string

None.

CustomData

Collection of CustomDataModel

None.

Gender

string

None.

BirthDate

date

None.

GenericNumber

integer

None.

AcquiredDate

date

None.

Optin

boolean

None.

OptinDate

date

None.

SmsOptin

boolean

None.

SmsConfirmed

date

None.

EmailVerified

date

None.

EmailConfirmed

date

None.

IpAddress

string

None.

Notes

Collection of ContactNoteModel

None.

ContactStatus

integer

None.

Status

string

None.

Error

string

None.

Request Formats

[application/json, { "ContactId": 1, "SponsorId": 2, "ContactListId": 3, "Prefix": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "Address": "sample string 7", "City": "sample string 8", "State": "sample string 9", "ZipCode": "sample string 10", "Email": "sample string 11", "Telephone": "sample string 12", "CustomData": [ { "Name": "sample string 1", "Value": "sample string 2" }, { "Name": "sample string 1", "Value": "sample string 2" } ], "Gender": "sample string 13", "BirthDate": "2024-11-21T09:13:40.2139848+00:00", "GenericNumber": 1, "AcquiredDate": "2024-11-21T09:13:40.2139848+00:00", "Optin": true, "OptinDate": "2024-11-21T09:13:40.2139848+00:00", "SmsOptin": true, "SmsConfirmed": "2024-11-21T09:13:40.2139848+00:00", "EmailVerified": "2024-11-21T09:13:40.2139848+00:00", "EmailConfirmed": "2024-11-21T09:13:40.2139848+00:00", "IpAddress": "sample string 15", "Notes": [ { "ContactNoteId": "8db1c527-acf5-49bf-bd52-3c16de735ff5", "Notes": "sample string 2", "NoteDate": "2024-11-21T09:13:40.2139848+00:00" }, { "ContactNoteId": "8db1c527-acf5-49bf-bd52-3c16de735ff5", "Notes": "sample string 2", "NoteDate": "2024-11-21T09:13:40.2139848+00:00" } ], "ContactStatus": 16, "Status": "sample string 17", "Error": "sample string 18" }][text/json, { "ContactId": 1, "SponsorId": 2, "ContactListId": 3, "Prefix": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "Address": "sample string 7", "City": "sample string 8", "State": "sample string 9", "ZipCode": "sample string 10", "Email": "sample string 11", "Telephone": "sample string 12", "CustomData": [ { "Name": "sample string 1", "Value": "sample string 2" }, { "Name": "sample string 1", "Value": "sample string 2" } ], "Gender": "sample string 13", "BirthDate": "2024-11-21T09:13:40.2139848+00:00", "GenericNumber": 1, "AcquiredDate": "2024-11-21T09:13:40.2139848+00:00", "Optin": true, "OptinDate": "2024-11-21T09:13:40.2139848+00:00", "SmsOptin": true, "SmsConfirmed": "2024-11-21T09:13:40.2139848+00:00", "EmailVerified": "2024-11-21T09:13:40.2139848+00:00", "EmailConfirmed": "2024-11-21T09:13:40.2139848+00:00", "IpAddress": "sample string 15", "Notes": [ { "ContactNoteId": "8db1c527-acf5-49bf-bd52-3c16de735ff5", "Notes": "sample string 2", "NoteDate": "2024-11-21T09:13:40.2139848+00:00" }, { "ContactNoteId": "8db1c527-acf5-49bf-bd52-3c16de735ff5", "Notes": "sample string 2", "NoteDate": "2024-11-21T09:13:40.2139848+00:00" } ], "ContactStatus": 16, "Status": "sample string 17", "Error": "sample string 18" }][application/xml, <ContactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.CM.Model"> <AcquiredDate>2024-11-21T09:13:40.2139848+00:00</AcquiredDate> <Address>sample string 7</Address> <BirthDate>2024-11-21T09:13:40.2139848+00:00</BirthDate> <City>sample string 8</City> <ContactId>1</ContactId> <ContactListId>3</ContactListId> <ContactStatus>16</ContactStatus> <CustomData> <CustomDataModel> <Name>sample string 1</Name> <Value>sample string 2</Value> </CustomDataModel> <CustomDataModel> <Name>sample string 1</Name> <Value>sample string 2</Value> </CustomDataModel> </CustomData> <Email>sample string 11</Email> <EmailConfirmed>2024-11-21T09:13:40.2139848+00:00</EmailConfirmed> <EmailVerified>2024-11-21T09:13:40.2139848+00:00</EmailVerified> <Error>sample string 18</Error> <FirstName>sample string 5</FirstName> <Gender>sample string 13</Gender> <GenericNumber>1</GenericNumber> <IpAddress>sample string 15</IpAddress> <LastName>sample string 6</LastName> <Notes> <ContactNoteModel> <ContactNoteId>8db1c527-acf5-49bf-bd52-3c16de735ff5</ContactNoteId> <NoteDate>2024-11-21T09:13:40.2139848+00:00</NoteDate> <Notes>sample string 2</Notes> </ContactNoteModel> <ContactNoteModel> <ContactNoteId>8db1c527-acf5-49bf-bd52-3c16de735ff5</ContactNoteId> <NoteDate>2024-11-21T09:13:40.2139848+00:00</NoteDate> <Notes>sample string 2</Notes> </ContactNoteModel> </Notes> <Optin>true</Optin> <OptinDate>2024-11-21T09:13:40.2139848+00:00</OptinDate> <Prefix>sample string 4</Prefix> <SmsConfirmed>2024-11-21T09:13:40.2139848+00:00</SmsConfirmed> <SmsOptin>true</SmsOptin> <SponsorId>2</SponsorId> <State>sample string 9</State> <Status>sample string 17</Status> <Telephone>sample string 12</Telephone> <ZipCode>sample string 10</ZipCode> </ContactModel>][text/xml, <ContactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.CM.Model"> <AcquiredDate>2024-11-21T09:13:40.2139848+00:00</AcquiredDate> <Address>sample string 7</Address> <BirthDate>2024-11-21T09:13:40.2139848+00:00</BirthDate> <City>sample string 8</City> <ContactId>1</ContactId> <ContactListId>3</ContactListId> <ContactStatus>16</ContactStatus> <CustomData> <CustomDataModel> <Name>sample string 1</Name> <Value>sample string 2</Value> </CustomDataModel> <CustomDataModel> <Name>sample string 1</Name> <Value>sample string 2</Value> </CustomDataModel> </CustomData> <Email>sample string 11</Email> <EmailConfirmed>2024-11-21T09:13:40.2139848+00:00</EmailConfirmed> <EmailVerified>2024-11-21T09:13:40.2139848+00:00</EmailVerified> <Error>sample string 18</Error> <FirstName>sample string 5</FirstName> <Gender>sample string 13</Gender> <GenericNumber>1</GenericNumber> <IpAddress>sample string 15</IpAddress> <LastName>sample string 6</LastName> <Notes> <ContactNoteModel> <ContactNoteId>8db1c527-acf5-49bf-bd52-3c16de735ff5</ContactNoteId> <NoteDate>2024-11-21T09:13:40.2139848+00:00</NoteDate> <Notes>sample string 2</Notes> </ContactNoteModel> <ContactNoteModel> <ContactNoteId>8db1c527-acf5-49bf-bd52-3c16de735ff5</ContactNoteId> <NoteDate>2024-11-21T09:13:40.2139848+00:00</NoteDate> <Notes>sample string 2</Notes> </ContactNoteModel> </Notes> <Optin>true</Optin> <OptinDate>2024-11-21T09:13:40.2139848+00:00</OptinDate> <Prefix>sample string 4</Prefix> <SmsConfirmed>2024-11-21T09:13:40.2139848+00:00</SmsConfirmed> <SmsOptin>true</SmsOptin> <SponsorId>2</SponsorId> <State>sample string 9</State> <Status>sample string 17</Status> <Telephone>sample string 12</Telephone> <ZipCode>sample string 10</ZipCode> </ContactModel>][application/x-www-form-urlencoded, Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ContactModel'.]

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.