POST api/Landing/Contact
Request Information
URI Parameters
None.
Body Parameters
UserContactName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
string |
None. |
||
ProvinceID | integer |
None. |
|
Province | string |
None. |
|
City | string |
None. |
|
Phone | string |
None. |
|
Message | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Email": "sample string 2", "ProvinceID": 3, "Province": "sample string 4", "City": "sample string 5", "Phone": "sample string 6", "Message": "sample string 7" }
application/xml, text/xml
Sample:
<UserContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain"> <City>sample string 5</City> <Email>sample string 2</Email> <Message>sample string 7</Message> <Name>sample string 1</Name> <Phone>sample string 6</Phone> <Province>sample string 4</Province> <ProvinceID>3</ProvinceID> </UserContact>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
APIErrorsName | Description | Type | Additional information |
---|---|---|---|
HasErrors | boolean |
None. |
|
ErrorList | Collection of APIErrorMessage |
None. |
Response Formats
application/json, text/json
Sample:
{ "HasErrors": true, "ErrorList": [ { "Message": "sample string 1", "Source": "sample string 2" }, { "Message": "sample string 1", "Source": "sample string 2" } ] }
application/xml, text/xml
Sample:
<APIErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain"> <ErrorList> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> </ErrorList> <HasErrors>true</HasErrors> </APIErrors>