POST api/Navtej/insertNewsletterEmail
Request Information
URI Parameters
None.
Body Parameters
PNewsletterSub| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PersonEmail | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"PersonEmail": "sample string 2"
}
application/xml, text/xml
Sample:
<PNewsletterSub xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/navtezcms.BO"> <ID>1</ID> <PersonEmail>sample string 2</PersonEmail> </PNewsletterSub>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
response| Name | Description | Type | Additional information |
|---|---|---|---|
| payload | string |
None. |
|
| TotalRecords | integer |
None. |
|
| LastCounter | integer |
None. |
|
| success | boolean |
None. |
|
| messages | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"payload": "sample string 1",
"TotalRecords": 2,
"LastCounter": 3,
"success": true,
"messages": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/navtezcms.api">
<LastCounter>3</LastCounter>
<TotalRecords>2</TotalRecords>
<messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</messages>
<payload>sample string 1</payload>
<success>true</success>
</response>