POST api/Administration/ContactUs/CreateUpdate

Request Information

URI Parameters

None.

Body Parameters

ContactUsCreateUpdateViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

AMENo

string

None.

State

string

None.

Doctor

string

None.

Clinic

string

None.

Address

string

None.

TelNo

string

None.

AMEName

string

None.

PacName

string

None.

PacCode

string

None.

ComanyName

string

None.

CompanyReference

string

None.

CompanyAdress

string

None.

Category

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "620c06e1-51e5-4586-b279-c14c2f7ca0a6",
  "AMENo": "sample string 2",
  "State": "sample string 3",
  "Doctor": "sample string 4",
  "Clinic": "sample string 5",
  "Address": "sample string 6",
  "TelNo": "sample string 7",
  "AMEName": "sample string 8",
  "PacName": "sample string 9",
  "PacCode": "sample string 10",
  "ComanyName": "sample string 11",
  "CompanyReference": "sample string 12",
  "CompanyAdress": "sample string 13",
  "Category": "sample string 14"
}

application/xml, text/xml

Sample:
<ContactUsCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Administration.ViewModels">
  <AMEName>sample string 8</AMEName>
  <AMENo>sample string 2</AMENo>
  <Address>sample string 6</Address>
  <Category>sample string 14</Category>
  <Clinic>sample string 5</Clinic>
  <ComanyName>sample string 11</ComanyName>
  <CompanyAdress>sample string 13</CompanyAdress>
  <CompanyReference>sample string 12</CompanyReference>
  <Doctor>sample string 4</Doctor>
  <Id>620c06e1-51e5-4586-b279-c14c2f7ca0a6</Id>
  <PacCode>sample string 10</PacCode>
  <PacName>sample string 9</PacName>
  <State>sample string 3</State>
  <TelNo>sample string 7</TelNo>
</ContactUsCreateUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Id"

620c06e1-51e5-4586-b279-c14c2f7ca0a6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AMENo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="State"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Doctor"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Clinic"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Address"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TelNo"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AMEName"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PacName"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PacCode"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ComanyName"

sample string 11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CompanyReference"

sample string 12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CompanyAdress"

sample string 13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Category"

sample string 14
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.