POST api/Users/AddSubscriber
Request Information
URI Parameters
None.
Body Parameters
SubscriberName | Description | Type | Additional information |
---|---|---|---|
SubscriberId | integer |
None. |
|
SiteId | integer |
None. |
|
FullName | string |
None. |
|
string |
None. |
||
ContactId | integer |
None. |
|
CompanyName | string |
None. |
|
CreatedDate | date |
None. |
|
ReferringURL | string |
None. |
|
Fname | string |
None. |
|
Lname | string |
None. |
|
Title | string |
None. |
|
Phone | string |
None. |
|
SubStatus | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "SubscriberId": 1, "SiteId": 2, "FullName": "sample string 3", "Email": "sample string 4", "ContactId": 5, "CompanyName": "sample string 6", "CreatedDate": "2024-10-30T05:12:07.3561721-07:00", "ReferringURL": "sample string 8", "Fname": "sample string 9", "Lname": "sample string 10", "Title": "sample string 11", "Phone": "sample string 12", "SubStatus": "sample string 13" }
application/xml, text/xml
Sample:
<Subscriber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VSM.Newsletters"> <CompanyName>sample string 6</CompanyName> <ContactId>5</ContactId> <CreatedDate>2024-10-30T05:12:07.3561721-07:00</CreatedDate> <Email>sample string 4</Email> <Fname>sample string 9</Fname> <FullName>sample string 3</FullName> <Lname>sample string 10</Lname> <Phone>sample string 12</Phone> <ReferringURL>sample string 8</ReferringURL> <SiteId>2</SiteId> <SubStatus>sample string 13</SubStatus> <SubscriberId>1</SubscriberId> <Title>sample string 11</Title> </Subscriber>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>