POST api/ContactUsAdmin/InsertContact?CompanyDetailId={CompanyDetailId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyDetailId

integer

Required

Body Parameters

ContactUsAdmin
NameDescriptionTypeAdditional information
ContactUsAdminId

integer

None.

ThemeId

integer

None.

Address

string

None.

ContactNo

string

None.

EmailId

string

None.

Description

string

None.

Address1

string

None.

CompanyDetailId

integer

None.

ThemeDetail

ThemeDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactUsAdminId": 1,
  "ThemeId": 1,
  "Address": "sample string 2",
  "ContactNo": "sample string 3",
  "EmailId": "sample string 4",
  "Description": "sample string 5",
  "Address1": "sample string 6",
  "CompanyDetailId": 1,
  "ThemeDetail": {
    "$id": "2",
    "ThemeId": 1,
    "ThemeName": "sample string 2",
    "ThemeImage": "sample string 3",
    "Type": "sample string 4",
    "CompanyDetailId": 1,
    "AboutUsAdmins": [
      {
        "$id": "3",
        "AboutUsAdminId": 1,
        "ThemeId": 1,
        "Image1": "sample string 2",
        "Image2": "sample string 3",
        "Description": "sample string 4",
        "CompanyDetailId": 1,
        "ThemeDetail": {
          "$ref": "2"
        },
        "AboutUsFAQs": [
          {
            "$id": "4",
            "FaqId": 1,
            "AboutUsAdminId": 1,
            "Question": "sample string 2",
            "Answer": "sample string 3",
            "CompanyDetailId": 1,
            "AboutUsAdmin": {
              "$ref": "3"
            }
          },
          {
            "$ref": "4"
          }
        ]
      },
      {
        "$ref": "3"
      }
    ],
    "ContactUsAdmins": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.