POST api/ContactUs/GetAll

Request Information

URI Parameters

None.

Body Parameters

ContactUsLister
NameDescriptionTypeAdditional information
ContactUs

Collection of ContactUs

None.

SearchCriteria

ContactUs

None.

Pager

Pager

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactUs": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "EmailAddress": "sample string 3",
      "Message": "sample string 4",
      "CompanyName": "sample string 5",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:27:49.5123375+00:00"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "EmailAddress": "sample string 3",
      "Message": "sample string 4",
      "CompanyName": "sample string 5",
      "DeletedBy": 1,
      "DeletedDate": "2025-08-29T20:27:49.5123375+00:00"
    }
  ],
  "SearchCriteria": {
    "Id": 1,
    "Name": "sample string 2",
    "EmailAddress": "sample string 3",
    "Message": "sample string 4",
    "CompanyName": "sample string 5",
    "DeletedBy": 1,
    "DeletedDate": "2025-08-29T20:27:49.5123375+00:00"
  },
  "Pager": {
    "PageSize": 1,
    "Take": 2,
    "Skip": 3,
    "CurrentPage": 4.0,
    "TotalPage": "sample string 5",
    "TotalRecord": 6.0
  }
}

application/xml, text/xml

Sample:
<ContactUsLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <ContactUs>
    <ContactUs>
      <CompanyName>sample string 5</CompanyName>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:27:49.5123375+00:00</DeletedDate>
      <EmailAddress>sample string 3</EmailAddress>
      <Id>1</Id>
      <Message>sample string 4</Message>
      <Name>sample string 2</Name>
    </ContactUs>
    <ContactUs>
      <CompanyName>sample string 5</CompanyName>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:27:49.5123375+00:00</DeletedDate>
      <EmailAddress>sample string 3</EmailAddress>
      <Id>1</Id>
      <Message>sample string 4</Message>
      <Name>sample string 2</Name>
    </ContactUs>
  </ContactUs>
  <Pager>
    <CurrentPage>4</CurrentPage>
    <PageSize>1</PageSize>
    <Skip>3</Skip>
    <Take>2</Take>
    <TotalPage>sample string 5</TotalPage>
    <TotalRecord>6</TotalRecord>
  </Pager>
  <SearchCriteria>
    <CompanyName>sample string 5</CompanyName>
    <DeletedBy>1</DeletedBy>
    <DeletedDate>2025-08-29T20:27:49.5123375+00:00</DeletedDate>
    <EmailAddress>sample string 3</EmailAddress>
    <Id>1</Id>
    <Message>sample string 4</Message>
    <Name>sample string 2</Name>
  </SearchCriteria>
</ContactUsLister>

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

Sample:

Sample not available.