POST api/UserPost
Request Information
URI Parameters
None.
Body Parameters
form| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| string |
None. |
||
| Message | string |
None. |
|
| Address | string |
None. |
|
| Attachment | string |
None. |
|
| AttachmentFileName | string |
None. |
|
| ReCaptchaToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Email": "sample string 2",
"Message": "sample string 3",
"Address": "sample string 4",
"Attachment": "sample string 5",
"AttachmentFileName": "sample string 6",
"ReCaptchaToken": "sample string 7"
}
application/xml, text/xml
Sample:
<form xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IrasysModel.Model"> <Address>sample string 4</Address> <Attachment>sample string 5</Attachment> <AttachmentFileName>sample string 6</AttachmentFileName> <Email>sample string 2</Email> <Message>sample string 3</Message> <Name>sample string 1</Name> <ReCaptchaToken>sample string 7</ReCaptchaToken> </form>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| statusCode | integer |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"statusCode": 2,
"message": "sample string 3"
}
application/xml, text/xml
Sample:
<ResponseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IrasysModel.Model"> <message>sample string 3</message> <status>true</status> <statusCode>2</statusCode> </ResponseResult>