POST api/NewsLetter
Request Information
URI Parameters
None.
Body Parameters
NewsLetter| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Subject | string |
None. |
|
| Message | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| LastModifiedBy | integer |
None. |
|
| LastModifiedDate | date |
None. |
|
| DeletedBy | integer |
None. |
|
| DeletedDate | date |
None. |
|
| NewsLetterUserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Subject": "sample string 2",
"Message": "sample string 3",
"CreatedBy": 4,
"CreatedDate": "2025-12-16T01:05:30.6567312+00:00",
"LastModifiedBy": 6,
"LastModifiedDate": "2025-12-16T01:05:30.6567312+00:00",
"DeletedBy": 1,
"DeletedDate": "2025-12-16T01:05:30.6567312+00:00",
"NewsLetterUserId": 8
}
application/xml, text/xml
Sample:
<NewsLetter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <CreatedBy>4</CreatedBy> <CreatedDate>2025-12-16T01:05:30.6567312+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-12-16T01:05:30.6567312+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-12-16T01:05:30.6567312+00:00</LastModifiedDate> <Message>sample string 3</Message> <NewsLetterUserId>8</NewsLetterUserId> <Subject>sample string 2</Subject> </NewsLetter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.